-
Notifications
You must be signed in to change notification settings - Fork 113
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
Changed AppArmorProfile and SecCompProfile scope #2694
base: main
Are you sure you want to change the base?
Changed AppArmorProfile and SecCompProfile scope #2694
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: anshuman-agarwala The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @anshuman-agarwala! |
Hi @anshuman-agarwala. 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-sigs/prow repository. |
/ok-to-test |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2694 +/- ##
==========================================
- Coverage 45.50% 40.91% -4.59%
==========================================
Files 79 109 +30
Lines 7782 18724 +10942
==========================================
+ Hits 3541 7661 +4120
- Misses 4099 10546 +6447
- Partials 142 517 +375 |
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.
I think the RBAC needs to be also updated.
@@ -1,6 +1,6 @@ | |||
apiVersion: v1 | |||
data: | |||
security-profiles-operator.json: | | |||
bpf-recorder.json: | |
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.
Please could you update with latest policies from master?
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.
Rebased with master, is there anything else I need to do?
b919a7d
to
bd3593e
Compare
I've looked through all the Role manifests, not sure which ones need updating.
Cannot find the source of this error, I know it's due to the scope change since it's trying to set the namespace for a clustered resource but I cannot figure out where. |
@anshuman-agarwala: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
@anshuman-agarwala I think the NodeStatus is namespaced, and it gets a reference to the security base profile here
It is created for both seccomp and apparmor, for instance here
I believe you need to set up its namesapce explicitly in the operator namesapce since now the security profiles are cluster scoped. |
What type of PR is this?
/kind api-change
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #2582
Does this PR have test?
Special notes for your reviewer:
Does this PR introduce a user-facing change?