Skip to content

Commit

Permalink
Update charts/prometheus-node-exporter/templates/service.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Loïc Blot <nerzhul@users.noreply.github.com>
  • Loading branch information
nerzhul and zeritti committed Jun 8, 2024
1 parent acca519 commit 620bb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-node-exporter/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
type: {{ .Values.service.type }}
{{- if eq .Values.service.type "ClusterIP" }}
{{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
clusterIP: "{{ .Values.service.clusterIP }}"
{{- end }}
ports:
Expand Down

0 comments on commit 620bb90

Please sign in to comment.