Skip to content

Commit

Permalink
feat: allow write role to create namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Aug 27, 2024
1 parent b50bff8 commit fd60dd6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions chart/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,17 @@ rules:
- apiGroups: ['']
resources: ['configmaps', 'secrets']
verbs: ['*']
{{- if .Values.serviceAccount.rbac.clusterRole}}
- apiGroups: ['']
resources: ['namespaces']
verbs:
- create
- patch
- get
- list
- update
- watch
{{- end }}
- apiGroups:
- 'configs.flanksource.com'
- 'canaries.flanksource.com'
Expand Down

0 comments on commit fd60dd6

Please sign in to comment.