Add provision to specify loadBalancerSourceRanges for Argo UI LoadBalancer service resource. (#44)
This commit is contained in:
parent
51ab61d986
commit
97bc21a6eb
2 changed files with 7 additions and 1 deletions
|
@ -18,3 +18,6 @@ spec:
|
||||||
app: {{ .Release.Name }}-{{ .Values.ui.name }}
|
app: {{ .Release.Name }}-{{ .Values.ui.name }}
|
||||||
sessionAffinity: None
|
sessionAffinity: None
|
||||||
type: {{ .Values.ui.serviceType }}
|
type: {{ .Values.ui.serviceType }}
|
||||||
|
{{- if and (eq .Values.ui.serviceType "LoadBalancer") .Values.ui.loadBalancerSourceRanges }}
|
||||||
|
loadBalancerSourceRanges:
|
||||||
|
{{ toYaml .Values.ui.loadBalancerSourceRanges | indent 4 }}{{- end }}
|
||||||
|
|
|
@ -40,7 +40,10 @@ ui:
|
||||||
serviceAccount: argo-ui
|
serviceAccount: argo-ui
|
||||||
# Annotations to be applied to the UI Service
|
# Annotations to be applied to the UI Service
|
||||||
serviceAnnotations: {}
|
serviceAnnotations: {}
|
||||||
|
# Source ranges to allow access to service from. Only applies to
|
||||||
|
# service type `LoadBalancer`
|
||||||
|
loadBalancerSourceRanges: []
|
||||||
|
|
||||||
## Ingress configuration.
|
## Ingress configuration.
|
||||||
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue