Make creation of aggregate roles optional
This commit is contained in:
parent
90cb5278ab
commit
b9c420134b
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.createAggregateRoles }}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -70,3 +71,4 @@ rules:
|
||||||
- patch
|
- patch
|
||||||
- update
|
- update
|
||||||
- watch
|
- watch
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -12,6 +12,8 @@ init:
|
||||||
# being deployed to. In RBAC clusters, that will almost certainly fail. See the NOTES: section of the readme for more info.
|
# being deployed to. In RBAC clusters, that will almost certainly fail. See the NOTES: section of the readme for more info.
|
||||||
serviceAccount: ""
|
serviceAccount: ""
|
||||||
|
|
||||||
|
createAggregateRoles: true
|
||||||
|
|
||||||
controller:
|
controller:
|
||||||
# podAnnotations is an optional map of annotations to be applied to the controller Pods
|
# podAnnotations is an optional map of annotations to be applied to the controller Pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
Loading…
Reference in a new issue