Skip to content

Add Pod Security Admission labels on namespace#91

Draft
simu wants to merge 1 commit into
masterfrom
feat/pod-security-admission
Draft

Add Pod Security Admission labels on namespace#91
simu wants to merge 1 commit into
masterfrom
feat/pod-security-admission

Conversation

@simu

@simu simu commented Jul 3, 2026

Copy link
Copy Markdown
Member

We set the PSA labels with value privileged on the namespace to allow the CSI controller and daemonset to be admitted on clusters that enforce Pod Security Standards.

In order to simplify the implementation, we also unconditionally set the openshift.io/node-selector annotation, which doesn't break anything on non-OpenShift.

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Update the documentation.
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.

We set the PSA labels with value `privileged` on the namespace to allow
the CSI controller and daemonset to be admitted on clusters that enforce
Pod Security Standards.

In order to simplify the implementation, we also unconditionally set the
`openshift.io/node-selector` annotation, which doesn't break anything on
non-OpenShift.
@simu simu added the enhancement New feature or request label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant