feat(longhorn-UI): Allow specifying loadBalancer IP/SourceRanges
Signed-off-by: Maciej Lasyk <maciej@lasyk.info>
This commit is contained in:
parent
408d6fc26b
commit
be119b4a84
@ -59,6 +59,12 @@ spec:
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
type: {{ .Values.service.ui.type }}
|
type: {{ .Values.service.ui.type }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if and .Values.service.ui.loadBalancerIP (eq .Values.service.ui.type "LoadBalancer") }}
|
||||||
|
loadBalancerIP: {{ .Values.service.ui.loadBalancerIP }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if and (eq .Values.service.ui.type "LoadBalancer") .Values.service.ui.loadBalancerSourceRanges }}
|
||||||
|
loadBalancerSourceRanges: {{- toYaml .Values.service.ui.loadBalancerSourceRanges | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app: longhorn-ui
|
app: longhorn-ui
|
||||||
ports:
|
ports:
|
||||||
|
@ -50,6 +50,8 @@ service:
|
|||||||
manager:
|
manager:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
nodePort: ""
|
nodePort: ""
|
||||||
|
loadBalancerIP: ""
|
||||||
|
loadBalancerSourceRanges: ""
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
defaultClass: true
|
defaultClass: true
|
||||||
|
Loading…
Reference in New Issue
Block a user