Allow disabling ui and deploying ui related resources (#31)

This commit is contained in:
kbial 2019-04-16 18:00:06 -07:00 committed by Alex Collins
parent c14d052fd7
commit 1205770646
7 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,4 @@
{{- if .Values.ui.enabled -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
@ -10,3 +11,4 @@ subjects:
- kind: ServiceAccount
name: {{ .Values.ui.serviceAccount }}
namespace: {{ .Release.Namespace }}
{{- end -}}