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: more policy cleanups #266

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

ffromani
Copy link
Collaborator

add more policy cleanups for recent OCPs, and add a command to easily inspect the proposed policy.

starting as a clone of the OCP 4.15 policy.

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]>
Copy link
Collaborator

@swatisehgal swatisehgal left a comment

Choose a reason for hiding this comment

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

/lgtm

@ffromani ffromani merged commit a6f48b0 into k8stopologyawareschedwg:main Jan 17, 2024
4 checks passed
@ffromani ffromani deleted the selinux-cleanups branch January 17, 2024 07:38
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.

2 participants