-
Notifications
You must be signed in to change notification settings - Fork 763
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
Wrap all RBAC resources in a conditional based on values.rbac.create #1625
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1625 +/- ##
==========================================
- Coverage 54.30% 54.10% -0.20%
==========================================
Files 94 94
Lines 8178 8178
==========================================
- Hits 4441 4425 -16
- Misses 3388 3402 +14
- Partials 349 351 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -91,3 +91,5 @@ psp: | |||
enabled: true | |||
upgradeCRDs: | |||
enabled: true | |||
rbac: |
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.
can you add this to https://github.com/open-policy-agent/gatekeeper/blob/master/cmd/build/helmify/static/README.md and run make manifests
?
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.
@sozercan Done!
Signed-off-by: Rob Mason <[email protected]>
…into helmconfigrbac
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: Rob Mason [email protected]
What this PR does / why we need it:
Ensures that all RBAC resource creation is subject to helm value
rbac.create
which is defaulttrue
.Required for users in orgs where RBAC is managed by out of band security team and not directly from helm.
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: