Skip to content

Commit

Permalink
[STABLE/RABBITMQ-HA] spec.clusterIP: may not be set to 'None' for Loa…
Browse files Browse the repository at this point in the history
…dBalancer

`Service is invalid: spec.clusterIP: Invalid value: "None": may not be set to 'None' for LoadBalancer services`

Relates to kubernetes/kubernetes#33766 kubernetes/kubernetes#24040 kubernetes/kubernetes#33036

Signed-off-by: grebois <grebois@gmail.com>
  • Loading branch information
grebois committed Aug 29, 2018
1 parent 614d3e7 commit a401ebe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stable/rabbitmq-ha/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ metadata:
{{ toYaml .Values.extraLabels | indent 4 }}
{{- end }}
spec:
{{- if not (eq .Values.service.type "LoadBalancer") }}
clusterIP: "{{ .Values.service.clusterIP }}"
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}
Expand Down

0 comments on commit a401ebe

Please sign in to comment.