Skip to content

Commit

Permalink
change if to with
Browse files Browse the repository at this point in the history
Signed-off-by: alex-souslik-hs <[email protected]>
  • Loading branch information
alex-souslik-hs committed Nov 18, 2023
1 parent 2f4446a commit 8b03153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/prometheus-rabbitmq-exporter/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
chart: {{ template "prometheus-rabbitmq-exporter.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- with .Values.service.labels }}
{{ toYaml . | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
Expand Down

0 comments on commit 8b03153

Please sign in to comment.