Skip to content

Commit

Permalink
fix(helm): yaml indentation for ServiceMonitor (#1757)
Browse files Browse the repository at this point in the history
* fix(helm): yaml indentation for ServiceMonitor

Signed-off-by: Nicolas Lamirault <[email protected]>

* fix(helm): indentation

Signed-off-by: Nicolas Lamirault <[email protected]>

---------

Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault authored Nov 18, 2024
1 parent 33c29e5 commit 1ef7aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/helm/grafana-operator/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ spec:
{{- end }}
{{- if .Values.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{ toYaml .Values.serviceMonitor.metricRelabelings | indent 4 }}
{{- toYaml .Values.serviceMonitor.metricRelabelings | nindent 8 }}
{{- end }}
{{- if .Values.serviceMonitor.relabelings }}
relabelings:
{{ toYaml .Values.serviceMonitor.relabelings | nindent 4 }}
{{- toYaml .Values.serviceMonitor.relabelings | nindent 8 }}
{{- end }}
{{- if .Values.serviceMonitor.targetLabels }}
targetLabels:
Expand Down

0 comments on commit 1ef7aab

Please sign in to comment.