-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fix for selinux policy constantly being processed #1843
Fix for selinux policy constantly being processed #1843
Conversation
Welcome @novaesis! |
Hi @novaesis. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
really nice work, thank you. Let's see if the tests pass!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1843 +/- ##
==========================================
- Coverage 49.23% 49.18% -0.05%
==========================================
Files 71 72 +1
Lines 7024 7030 +6
==========================================
Hits 3458 3458
- Misses 3432 3438 +6
Partials 134 134 |
@@ -0,0 +1,12 @@ | |||
package util |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI complains about:
1 files have incorrect boilerplate headers:
internal/pkg/util/maps.go
@saschagrunert fixed the issue the CI was complaint about. The other two build issues appear not related to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhrozek, novaesis, saschagrunert 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:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Sorts the allow rules in the selinux policy when doing the write to the node and doing the comparison between CRD and node policy which allows for consistent comparisons.
Which issue(s) this PR fixes:
Fixes #1842
Does this PR have test?
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?