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 -}}
{{- if .Values.ui.ingress.enabled -}}
{{- $serviceName := printf "%s-%s" .Release.Name .Values.ui.name -}}
{{- $servicePort := .Values.ui.servicePort -}}
@ -28,3 +29,4 @@ spec:
{{ toYaml .Values.ui.ingress.tls | indent 4 }}
{{- end -}}
{{- end -}}
{{- end -}}