Skip to content

Commit

Permalink
Add proper OperatorConfig rbac permission so it can deploy a real ext…
Browse files Browse the repository at this point in the history
…ernal-secrets helm-chart based operator
  • Loading branch information
slopezz committed Nov 22, 2021
1 parent 0694458 commit ee344d8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,36 @@ rules:
- update
- watch

##
## Custom rules needed by real helm chart operator to manage all operator resources)
##
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- '*'
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
- roles
- rolebindings
verbs:
- '*'
- apiGroups:
- ""
resources:
- serviceaccounts
- services
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
verbs:
- '*'

#+kubebuilder:scaffold:rules

0 comments on commit ee344d8

Please sign in to comment.