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

[release-0.17] selinux cleanups #276

Merged
merged 3 commits into from
Feb 8, 2024
Merged

Conversation

ffromani
Copy link
Collaborator

@ffromani ffromani commented Feb 8, 2024

backport: minimize the policies and new render policy subcommand

the process context we expect is kubelet_t, minimize
permission removing spurious one

Signed-off-by: Francesco Romani <[email protected]>
propagate the 4.15 fixes (see: ec165e7) and minimize
the rte.process context and permissions.

Signed-off-by: Francesco Romani <[email protected]>
add subcommand to render the selinux policy.
This is not strictly speaking necessary, because
the policy can be decoded and extracted from the OCP
machineconfig manifests, but that's cumbersome and
unpractical. A simple extra command seems a practical
nice addition.

Signed-off-by: Francesco Romani <[email protected]>
@ffromani ffromani merged commit 466fedb into release-0.17 Feb 8, 2024
1 check passed
@ffromani ffromani deleted the selinux-cleanups-0.17 branch February 8, 2024 16:06
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