-
Notifications
You must be signed in to change notification settings - Fork 759
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: exclude gs namespace in matchExpressions #2385
fix: exclude gs namespace in matchExpressions #2385
Conversation
Codecov ReportBase: 53.47% // Head: 53.57% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2385 +/- ##
==========================================
+ Coverage 53.47% 53.57% +0.10%
==========================================
Files 117 117
Lines 10230 10281 +51
==========================================
+ Hits 5470 5508 +38
- Misses 4338 4350 +12
- Partials 422 423 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
...er/templates/gatekeeper-validating-webhook-configuration-validatingwebhookconfiguration.yaml
Outdated
Show resolved
Hide resolved
Is this not covered by the |
for my own learning, what is the context/ issue here? That g8r can start reporting/ enforcing violations against itself? for history, has this always been a concern? do we always want to exclude the gatekeeper namespace? could this action be done in code (maybe even as a config option) instead? |
@maxsmythe i think the context here is the deletion of |
@acpana yes, GK namespace itself is excluded to avoid circular dependency. We added the |
@sozercan makes sense, thanks! |
9f04f2d
to
bd5d6b2
Compare
bd5d6b2
to
3fb946d
Compare
...er/templates/gatekeeper-validating-webhook-configuration-validatingwebhookconfiguration.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: Rita Zhang <[email protected]>
3fb946d
to
47edc28
Compare
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
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
Signed-off-by: Rita Zhang [email protected]
What this PR does / why we need it:
Exclude gatekeeper-system namespace as part of matchExpressions in the webhook configs
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #
Special notes for your reviewer: