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 Mount Option #2253

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

ConnorJC3
Copy link
Contributor

@ConnorJC3 ConnorJC3 commented Dec 4, 2024

What type of PR is this?

/kind feature

What is this PR about? / Why do we need it?

Adds a new helm parameter, node.selinux, that mounts the relevant directories to allow the selinux-aware mount binary to perform selinux-specific optimizations. (This parameter can also be used in the future for any other selinux optimizations on the node).

This must be a parameter that is default-disabled, because /sys/fs/selinux will not exist unless SELinux is actually enabled on the nodes.

How was this change tested?

CI/Manually

Does this PR introduce a user-facing change?

Add Helm parameter `node.selinux` to enable SELinux-specific mounts on the node DaemonSet

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. labels Dec 4, 2024
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 4, 2024
@k8s-ci-robot k8s-ci-robot requested a review from torredil December 4, 2024 14:54
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

Code Coverage Diff

This PR does not change the code coverage

@ConnorJC3
Copy link
Contributor Author

ConnorJC3 commented Dec 4, 2024

flake (kops failed to create cluster)

/retest

@ConnorJC3
Copy link
Contributor Author

/retest

lots of flakes today

@ConnorJC3 ConnorJC3 changed the title [WIP] Selinux Mounts Selinux Mount Option Dec 19, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 19, 2024
Signed-off-by: Connor Catlett <[email protected]>
@torredil
Copy link
Member

/retest

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 19, 2024
Copy link
Member

@torredil torredil left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2024
@AndrewSirenko
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AndrewSirenko, torredil

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [AndrewSirenko,torredil]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 2c546a8 into kubernetes-sigs:master Dec 20, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants