Skip to content

Commit

Permalink
Merge pull request #113 from BedrockStreaming/fix/additional-labels
Browse files Browse the repository at this point in the history
fix(helm): indentation issue with addtionalLabels in monitor
  • Loading branch information
Yokann authored Jan 19, 2024
2 parents a22c9f3 + 3af74be commit 53274f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm/prescaling-exporter/templates/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
{{- include "prescaling-exporter.labels" . | nindent 4 }}
{{- if .Values.prometheus.monitor.additionalLabels }}
{{ toYaml .Values.prometheus.monitor.additionalLabels | indent 4 }}
{{- toYaml .Values.prometheus.monitor.additionalLabels | nindent 4 }}
{{- end }}
spec:
selector:
Expand All @@ -20,7 +20,7 @@ spec:
{{- end }}
{{- if .Values.prometheus.monitor.relabelings }}
relabelings:
{{ toYaml .Values.prometheus.monitor.relabelings | nindent 8 }}
{{- toYaml .Values.prometheus.monitor.relabelings | nindent 8 }}
{{- end }}
{{- end }}

Expand All @@ -34,7 +34,7 @@ metadata:
labels:
{{- include "prescaling-exporter.labels" . | nindent 4 }}
{{- if .Values.victoriametrics.monitor.additionalLabels }}
{{ toYaml .Values.victoriametrics.monitor.additionalLabels | indent 4 }}
{{- toYaml .Values.victoriametrics.monitor.additionalLabels | nindent 4 }}
{{- end }}
spec:
endpoints:
Expand All @@ -43,7 +43,7 @@ spec:
scrapeTimeout: {{ .Values.victoriametrics.monitor.scrapeTimeout }}
{{- if .Values.victoriametrics.monitor.relabelings }}
relabelConfigs:
{{ toYaml .Values.victoriametrics.monitor.relabelings | nindent 8 }}
{{- toYaml .Values.victoriametrics.monitor.relabelings | nindent 8 }}
{{- end }}
jobLabel: {{ template "prescaling-exporter.fullname" . }}
selector:
Expand Down

0 comments on commit 53274f4

Please sign in to comment.