diff --git a/dev/helm/templates/service.yaml b/dev/helm/templates/service.yaml index 5b27cb7e..62bcff25 100644 --- a/dev/helm/templates/service.yaml +++ b/dev/helm/templates/service.yaml @@ -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 diff --git a/dev/helm/values.yaml b/dev/helm/values.yaml index 1a450d6e..a61d53e0 100644 --- a/dev/helm/values.yaml +++ b/dev/helm/values.yaml @@ -61,6 +61,7 @@ service: # type: LoadBalancer # httpsPort: 443 # annotations: {} + # loadBalancerIP: 172.16.0.1 ingress: enabled: true