Skip to content

Commit

Permalink
add rbac-permissions to check for news namespaces and crds
Browse files Browse the repository at this point in the history
  • Loading branch information
rndmh3ro committed Aug 11, 2023
1 parent 9df3606 commit 18b48f7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion deploy/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ metadata:
rules:
- apiGroups: [aquasecurity.github.io]
resources: [vulnerabilityreports]
verbs: [list, watch, patch]
verbs: [list, watch, patch, get]

# Framework: runtime observation of namespaces & CRDs (addition/deletion).
- apiGroups: [apiextensions.k8s.io]
resources: [customresourcedefinitions]
verbs: [list, watch]
- apiGroups: [""]
resources: [namespaces]
verbs: [list, watch]

- apiGroups: [""]
resources: [events]
Expand Down

0 comments on commit 18b48f7

Please sign in to comment.