feat(argo-cd): conditionally create the rbac configmap (#569)

Signed-off-by: John Kost <jkost@bandwidth.com>
This commit is contained in:
John Kost 2021-02-09 12:32:28 -05:00 committed by GitHub
parent ba467c8a4b
commit ec68ef2080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,4 @@
{{- if .Values.server.rbacConfigCreate }}
apiVersion: v1
kind: ConfigMap
metadata:
@ -18,4 +19,5 @@ metadata:
{{- if .Values.server.rbacConfig }}
data:
{{- toYaml .Values.server.rbacConfig | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}