loadBalancerIP support in argo-ui (#80)

This commit is contained in:
Jakub Liska 2019-06-25 17:57:20 +02:00 committed by Alex Collins
parent ff190bdc0a
commit 62319a934f
2 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,9 @@ spec:
app: {{ .Release.Name }}-{{ .Values.ui.name }}
sessionAffinity: None
type: {{ .Values.ui.serviceType }}
{{- if and (eq .Values.ui.serviceType "LoadBalancer") .Values.ui.loadBalancerIP }}
loadBalancerIP: {{ .Values.ui.loadBalancerIP | quote }}
{{- end }}
{{- if and (eq .Values.ui.serviceType "LoadBalancer") .Values.ui.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.ui.loadBalancerSourceRanges | indent 4 }}{{- end }}

View file

@ -51,6 +51,9 @@ ui:
serviceAccount: argo-ui
# Annotations to be applied to the UI Service
serviceAnnotations: {}
# Static IP address to assign to loadBalancer
# service type `LoadBalancer`
loadBalancerIP: ""
# Source ranges to allow access to service from. Only applies to
# service type `LoadBalancer`
loadBalancerSourceRanges: []