chore(helm): add loadBalancerIP param (#5704)

pull/5727/head
yuta 2 years ago committed by GitHub
parent 17c11b3f4e
commit cf7abeaa94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,9 @@ metadata:
{{- end }} {{- end }}
spec: spec:
type: {{.Values.service.type}} type: {{.Values.service.type}}
{{- if eq .Values.service.type "LoadBalancer" }}
loadBalancerIP: {{ default "" .Values.service.loadBalancerIP }}
{{- end }}
ports: ports:
- port: {{ default "80" .Values.service.port}} - port: {{ default "80" .Values.service.port}}
targetPort: http targetPort: http

@ -61,6 +61,7 @@ service:
# type: LoadBalancer # type: LoadBalancer
# httpsPort: 443 # httpsPort: 443
# annotations: {} # annotations: {}
# loadBalancerIP: 172.16.0.1
ingress: ingress:
enabled: true enabled: true

Loading…
Cancel
Save