feat(argo-workflows): Add parameter to enable or disable server and controller roles (#1166)
* optional role Signed-off-by: Carl Raiden Worley <carl.worley@10gen.com> * match existing setting Signed-off-by: Carl Raiden Worley <carl.worley@10gen.com> * fix lint Signed-off-by: Carl Raiden Worley <carl.worley@10gen.com>
This commit is contained in:
parent
ec6cd35fed
commit
a647fbe123
7 changed files with 17 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{- if .Values.server.enabled }}
|
||||
{{- if and .Values.server.enabled .Values.server.rbac.create}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if .Values.singleNamespace }}
|
||||
kind: Role
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{- if and .Values.server.enabled .Values.server.serviceAccount.create -}}
|
||||
{{- if and .Values.server.enabled .Values.server.serviceAccount.create .Values.server.rbac.create -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if .Values.singleNamespace }}
|
||||
kind: RoleBinding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue