Set readOnlyRootFilesystem on controller-manager container - #761
Conversation
Add readOnlyRootFilesystem: true to the manager container's securityContext to complete the restricted Pod Security Standards profile. Mount an emptyDir at /tmp to support controller-runtime metrics cert auto-generation and Go stdlib temporary file needs. Jira: OSPRH-33373 Signed-off-by: Steve Baker <sbaker@redhat.com>
|
fyi, for the operators deployed via the openstack-operator, we'd have to make the change there, like openstack-k8s-operators/openstack-operator#2008 |
|
/retest |
|
I don't think this one needs to be backported to stable. Landing it gives us kuttl coverage that the operator runs with |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mumesan, steveb 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 |
e7764d1
into
openstack-k8s-operators:main
Add readOnlyRootFilesystem: true to the manager container's securityContext to complete the restricted Pod Security Standards profile. Mount an emptyDir at /tmp to support controller-runtime metrics cert auto-generation and Go stdlib temporary file needs.
Jira: OSPRH-33373
Checklist before requesting a review
pre-commit run --all