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: v1
kind: Service
metadata:
@ -21,3 +22,4 @@ spec:
{{- if and (eq .Values.ui.serviceType "LoadBalancer") .Values.ui.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.ui.loadBalancerSourceRanges | indent 4 }}{{- end }}
{{- end -}}