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

This commit is contained in:
yuta 2022-10-05 04:26:09 +09:00 committed by GitHub
parent 17c11b3f4e
commit cf7abeaa94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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