feat(Argo): Make Argo Server service account creation conditional. (#460)

This commit is contained in:
Vlad Losev 2020-10-05 09:45:49 -07:00 committed by GitHub
parent 41ddad4aba
commit 44de70c741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{{- if .Values.server.enabled -}}
{{- if and .Values.server.enabled .Values.server.createServiceAccount -}}
apiVersion: rbac.authorization.k8s.io/v1
{{- if .Values.singleNamespace }}
kind: RoleBinding

View file

@ -1,4 +1,4 @@
{{- if .Values.server.enabled -}}
{{- if and .Values.server.enabled .Values.server.createServiceAccount -}}
apiVersion: v1
kind: ServiceAccount
metadata: