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

selinux policy: refine process contexts #263

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

ffromani
Copy link
Collaborator

@ffromani ffromani commented Jan 16, 2024

updates to selinux policies for OCP 4.14 and 4.15. Fix expected process context and minimize the permission list.

the proper expected process is kubelet_t, not unconfined_service_t.
The transition was fixed in container-selinux >= 2.225

Signed-off-by: Francesco Romani <[email protected]>
the process context we expect is kubelet_t, minimize
permission removing spurious one

Signed-off-by: Francesco Romani <[email protected]>
@ffromani ffromani changed the title Selinux updates exec Selinux policy: refine process contexts Jan 16, 2024
@ffromani ffromani changed the title Selinux policy: refine process contexts selinux policy: refine process contexts Jan 16, 2024
@ffromani ffromani merged commit 0ee6813 into k8stopologyawareschedwg:main Jan 16, 2024
4 checks passed
@ffromani ffromani deleted the selinux-updates-exec branch January 16, 2024 17:12
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.

1 participant