-
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
chore: update operation generate in deployment yaml and add docs #3738
Merged
JaydipGabani
merged 4 commits into
open-policy-agent:master
from
JaydipGabani:docs-op-generate
Dec 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
8c89acf
adding docs for operation: generate
JaydipGabani 0302ed2
updating docs
JaydipGabani f0924aa
updating docs and adding oepration generate in audit manager deployment
JaydipGabani 49d683b
Merge branch 'master' into docs-op-generate
JaydipGabani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,6 @@ At a high level, this requires: | |
* It will also need the ability to write to the webhook secret in Gatekeeper's namespace | ||
* If you have events enabled, you will need permissions to create events in Gatekeeper's namespace | ||
|
||
|
||
## Mutating Webhook | ||
|
||
__--operation key:__ `mutation-webhook` | ||
|
@@ -185,3 +184,25 @@ At a high level, this requires: | |
"Read" implies the `get`, `list`, and `watch` permissions. In some cases, like scraping audit results, | ||
`watch` is unnecessary, but does not substantially increase the power delegated to the service account | ||
under the theory that a `watch` is simply a more efficient version of polling `list`. | ||
|
||
## Generation | ||
|
||
__--operation key:__ `generate` | ||
|
||
This operation serves . | ||
|
||
### Required Behaviors | ||
|
||
At a high level, this requires: | ||
|
||
* Creating CRDs for a corresponding constraint template | ||
* Creating ValidatingAdmissionPolicies for ConstraintTemplates | ||
* Creating ValidatingAdmissionPolicyBindings for Constraints | ||
|
||
### Permissions Required | ||
|
||
* The ability to read all `ConstraintTemplate` objects | ||
* The ability to create CRDs (unfortunately RBAC doesn't have the syntax to scope this down to just CRDs in the `constraints.gatekeeper.sh` group) | ||
* The ability to read all `Constraint` resources (members of the group `constraints.gatekeeper.sh`) | ||
* The ability to read all `ValidatingAdmissionPolicy` objects | ||
* The ability to read all `ValidatingAdmissionPolicyBinding` objects | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. vap and vapb should be "write"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
incomplete?