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 }}
spec:
type: {{.Values.service.type}}
{{- if eq .Values.service.type "LoadBalancer" }}
loadBalancerIP: {{ default "" .Values.service.loadBalancerIP }}
{{- end }}
ports:
- port: {{ default "80" .Values.service.port}}
targetPort: http

View File

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