diff --git a/deployment/templates/service.yaml b/deployment/templates/service.yaml index ac142fb3..8a398b17 100644 --- a/deployment/templates/service.yaml +++ b/deployment/templates/service.yaml @@ -27,7 +27,7 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} - {{- if eq .Values.service.type "ClusterIP" }} + {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP | quote }} {{- end }} ports: