diff --git a/application/templates/service.yaml b/application/templates/service.yaml index 2286377d..9115b5a4 100644 --- a/application/templates/service.yaml +++ b/application/templates/service.yaml @@ -16,7 +16,9 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} +{{- with .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} +{{- end }} {{- if eq .Values.service.type "LoadBalancer" }} {{- with .Values.service.loadBalancerIP }} loadBalancerIP: {{ . }}