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 namespace label to align with Pod Security Admission requirements #194

Merged
merged 1 commit into from May 25, 2022

Conversation

bpradipt
Copy link
Contributor

@bpradipt bpradipt commented May 25, 2022

Fixes: #KATA-1583

- Description of the problem which is fixed/What is the use case
OpenShift 4.11 is going to enable pod security admission (https://kubernetes.io/docs/concepts/security/pod-security-admission/) using the “restricted” profile by default (https://kubernetes.io/docs/concepts/security/pod-security-standards/)
Since we require privileged support for kata-monitor, we need to label the namespace accordingly

- What I did
Added required labels to the openshift-sandboxed-containers-operator ns

- How to verify it
Create a Kata Pod and check controller logs for pod-security.kubernetes.io/audit-violations.
There shouldn't be any audit-violations when kata-monitor pods gets created

- Description for the changelog

Add namespace label to align with Pod Security Admission requirements

@openshift-ci openshift-ci bot requested review from jensfr and pmores May 25, 2022 11:18
@openshift-ci
Copy link

openshift-ci bot commented May 25, 2022

@bpradipt: all tests passed!

Full PR test history. Your PR dashboard.

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

@pmores pmores merged commit 6c4dd7e into openshift:master May 25, 2022
@bpradipt bpradipt deleted the ns-label branch May 25, 2022 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants