mirror of
https://github.com/bloomberg/goldpinger.git
synced 2026-08-28 15:57:18 +00:00
fix: move metricRelabelings to correct section
Signed-off-by: Andreas Plesner <apj@mutt.dk>
This commit is contained in:
@@ -18,6 +18,10 @@ spec:
|
||||
{{- if .Values.serviceMonitor.honorLabels }}
|
||||
honorLabels: true
|
||||
{{- end }}
|
||||
{{- with .Values.serviceMonitor.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
jobLabel: name
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
@@ -25,8 +29,4 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "goldpinger.selectorLabels" . | nindent 6 }}
|
||||
{{- with .Values.serviceMonitor.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user