Skip to content

Commit

Permalink
fix clusterIP null field
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcmarques authored Jan 12, 2024
1 parent a869898 commit 563ea39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {{ . }}
Expand Down

0 comments on commit 563ea39

Please sign in to comment.