diff --git a/stable/centrifugo/Chart.yaml b/stable/centrifugo/Chart.yaml index fd02b0af69..34c489420e 100644 --- a/stable/centrifugo/Chart.yaml +++ b/stable/centrifugo/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 3.1.0 +version: 3.1.1 appVersion: 2.1.0 description: Centrifugo is a real-time messaging server. name: centrifugo diff --git a/stable/centrifugo/templates/service.yaml b/stable/centrifugo/templates/service.yaml index ab49305942..02ebd7057e 100644 --- a/stable/centrifugo/templates/service.yaml +++ b/stable/centrifugo/templates/service.yaml @@ -13,7 +13,9 @@ metadata: name: {{ include "centrifugo.fullname" . }} spec: type: "{{ .Values.service.type }}" +{{- if .Values.service.clusterIP }} clusterIP: "{{ .Values.service.clusterIP }}" +{{- end }} {{- if .Values.service.externalIPs }} externalIPs: {{ toYaml .Values.service.externalIPs | indent 4 }}