Skip to content

Commit

Permalink
fix: move metricRelabelings to correct section
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Plesner <[email protected]>
  • Loading branch information
scoof committed Aug 26, 2024
1 parent 876b3f4 commit b07803d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/goldpinger/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ spec:
{{- if .Values.serviceMonitor.honorLabels }}
honorLabels: true
{{- end }}
{{- with .Values.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml . | nindent 8 }}
{{- end }}
jobLabel: name
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
{{- include "goldpinger.selectorLabels" . | nindent 6 }}
{{- with .Values.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end -}}

0 comments on commit b07803d

Please sign in to comment.