Skip to content

Commit

Permalink
add operatorcommands to operator clusterrole
Browse files Browse the repository at this point in the history
Signed-off-by: refaelm <[email protected]>
  • Loading branch information
refaelm92 committed Nov 10, 2024
1 parent fb2b808 commit 160edbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/kubescape-operator/templates/operator/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ rules:
- apiGroups: ["kubescape.io"]
resources: ["servicesscanresults"]
verbs: ["get", "watch", "list", "create", "update", "delete" ,"patch"]
- apiGroups: ["kubescape.io"]
resources: ["operatorcommands"]
verbs: ["get", "watch", "list"]
- apiGroups: ["kubescape.io"]
resources: ["operatorcommands/status"]
verbs: ["get", "watch", "list", "update", "patch"]
{{- end }}

0 comments on commit 160edbb

Please sign in to comment.