Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clusterRole and binding to use restricted psp #3311

Merged
merged 1 commit into from May 28, 2021

Conversation

StrongMonkey
Copy link
Contributor

In cis-1.6, we removed clusterRole and clusterRoleBinding that uses restricted PSP. This will cause any pod failed to be created since there is no psp attached to it.

Pod security policy control is implemented as an optional (but recommended) admission controller. PodSecurityPolicies are enforced by enabling the admission controller, but doing so without authorizing any policies will prevent any pods from being created in the cluster.

We need to figure out why the change was made and what's the implication of it before merging this PR.

Related issue:
rancher/rancher#32825
rancher/rancher#32823
rancher/rancher#32547

Copy link
Contributor

@paraglade paraglade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@catherineluse catherineluse merged commit 411f1a1 into rancher:master May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants