forked from kyverno/kyverno
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: aggregate clusterrole to admission controller
Signed-off-by: ShutingZhao <[email protected]>
- Loading branch information
1 parent
954ac6c
commit 968a797
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...mance/chainsaw/events/clusterpolicy/generate-events-upon-fail-generation/permissions.yaml
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kyverno:rbac | ||
labels: | ||
rbac.kyverno.io/aggregate-to-background-controller: "true" | ||
rbac.kyverno.io/aggregate-to-admission-controller: "true" | ||
rules: | ||
- apiGroups: | ||
- iam.aws.crossplane.io | ||
resources: | ||
- roles | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- delete |
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