Set readOnlyRootFilesystem on service operator controller-manager containers - #2008
Conversation
…tainers Harden the manager container securityContext by adding readOnlyRootFilesystem: true and dropping ALL capabilities. Mount an emptyDir at /tmp to support controller-runtime cert auto-generation and Go stdlib temporary file needs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
OpenStackControlPlane CRD Size Report
Threshold reference
|
|
/test openstack-operator-build-deploy-kuttl-4-20 |
|
/retest |
|
VErified with barbican, keystone and glance operators that read only root FS was applied in controller managers without changing service operator code individually. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abays, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
d58be4b
into
openstack-k8s-operators:main
|
/cherry-pick 18-stable |
|
@stuggi: new pull request created: #2030 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Harden the manager container securityContext by adding readOnlyRootFilesystem: true and dropping ALL capabilities. Mount an emptyDir at /tmp to support controller-runtime cert auto-generation and Go stdlib temporary file needs.
Jira: OSPRH-34174