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,3 +1,4 @@
|
|||
{{- if .Values.controller.rbac.create }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if .Values.singleNamespace }}
|
||||
kind: RoleBinding
|
||||
|
|
@ -38,3 +39,4 @@ subjects:
|
|||
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue