Skip to content

Set readOnlyRootFilesystem on service operator controller-manager containers - #2008

Open
stuggi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
stuggi:operator_ro_root
Open

Set readOnlyRootFilesystem on service operator controller-manager containers#2008
stuggi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
stuggi:operator_ro_root

Conversation

@stuggi

@stuggi stuggi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

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.

…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>
@openshift-ci
openshift-ci Bot requested review from dprince and rabi July 31, 2026 06:04
@openshift-ci

openshift-ci Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

Copy link
Copy Markdown

OpenStackControlPlane CRD Size Report

Metric Value
CRD JSON size 365025 bytes (356KB)
Base branch size 365025 bytes
Change +0.00%
Status yellow — growing
Threshold reference
Color Range Meaning
🟢 green < 300KB Comfortable
🟡 yellow 300–400KB Growing
🟠 orange 400–750KB Concerning
🔴 red > 750KB Approaching 1.5MB etcd limit (cut in half to allow space for update)

@stuggi stuggi changed the title Set readOnlyRootFilesystem on service operator controller-manager con… Set readOnlyRootFilesystem on service operator controller-manager containers Jul 31, 2026
@stuggi

stuggi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

/test openstack-operator-build-deploy-kuttl-4-20

@openshift-ci

openshift-ci Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@stuggi: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/openstack-operator-build-deploy-kuttl-4-20 010517c link true /test openstack-operator-build-deploy-kuttl-4-20

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant