-
Notifications
You must be signed in to change notification settings - Fork 776
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
docs(helm): Fix helm chart documentation for setting audit and webhook selectors and affinity #2617
Conversation
…and affinity I was wondering why the helm chart did not apply any affinity or topologySpreadConstraints for the audit and webhook Pods. Turns out the documentation is outdated and we can (and need to) set `nodeSelector`, `affinity`, `topologySpreadConstraints` and `tolerations` on the `values.audit` and `values.controllerManager` level instead of just top level `values`. Signed-off-by: Max Falk <[email protected]>
@gmdfalk thanks for the PR! GK helm chart is autogenerated, do you mind reverting the current changes and making these changes in https://github.com/open-policy-agent/gatekeeper/blob/master/cmd/build/helmify/static/README.md and running |
@sozercan : Thanks for the hint, done! |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #2617 +/- ##
==========================================
- Coverage 53.17% 53.15% -0.03%
==========================================
Files 120 120
Lines 10587 10587
==========================================
- Hits 5630 5627 -3
- Misses 4521 4523 +2
- Partials 436 437 +1
Flags with carried forward coverage won't be shown. Click here to find out more. see 1 file with indirect coverage changes 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 in Codecov by Sentry. |
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! LGTM
@maxsmythe LGTY? |
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
…k selectors and affinity (open-policy-agent#2617) Signed-off-by: Max Falk <[email protected]> Signed-off-by: Max Falk <[email protected]> Co-authored-by: Sertaç Özercan <[email protected]> Co-authored-by: Rita Zhang <[email protected]>
…k selectors and affinity (open-policy-agent#2617) Signed-off-by: Max Falk <[email protected]> Signed-off-by: Max Falk <[email protected]> Co-authored-by: Sertaç Özercan <[email protected]> Co-authored-by: Rita Zhang <[email protected]> Signed-off-by: Xander Grzywinski <[email protected]>
What this PR does / why we need it:
The documentation for
nodeSelector
,affinity
,topologySpreadConstraints
andtolerations
is outdated. These can and need to be set on thevalues.audit
andvalues.controllerManager
level instead of just top levelvalues
.