feat(argo-cd): Add honorLabels config for ServiceMonitor resources (#3018)
add honorLabels config for ServiceMonitor resources Signed-off-by: DIVET Etienne <etienne.divet@enedis.fr> Co-authored-by: DIVET Etienne <etienne.divet@enedis.fr> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
0f79d5af86
commit
0061e14563
10 changed files with 30 additions and 2 deletions
|
|
@ -34,6 +34,7 @@ spec:
|
|||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
honorLabels: {{ .Values.controller.metrics.serviceMonitor.honorLabels }}
|
||||
{{- with .Values.controller.metrics.serviceMonitor.scheme }}
|
||||
scheme: {{ . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ spec:
|
|||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
honorLabels: {{ .Values.applicationSet.metrics.serviceMonitor.honorLabels }}
|
||||
{{- with .Values.applicationSet.metrics.serviceMonitor.scheme }}
|
||||
scheme: {{ . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ spec:
|
|||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
honorLabels: {{ .Values.notifications.metrics.serviceMonitor.honorLabels }}
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- {{ include "argo-cd.namespace" . }}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.repoServer.metrics.serviceMonitor.scheme }}
|
||||
honorLabels: {{ .Values.repoServer.metrics.serviceMonitor.honorLabels }}
|
||||
scheme: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.repoServer.metrics.serviceMonitor.tlsConfig }}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ spec:
|
|||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
honorLabels: {{ .Values.server.metrics.serviceMonitor.honorLabels }}
|
||||
{{- with .Values.server.metrics.serviceMonitor.scheme }}
|
||||
scheme: {{ . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ spec:
|
|||
metricRelabelings:
|
||||
{{- toYaml . |nindent 8 }}
|
||||
{{- end }}
|
||||
honorLabels: {{ .Values.dex.metrics.serviceMonitor.honorLabels }}
|
||||
{{- with .Values.dex.metrics.serviceMonitor.scheme }}
|
||||
scheme: {{ . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ spec:
|
|||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
honorLabels: {{ .Values.redis.metrics.serviceMonitor.honorLabels }}
|
||||
{{- with .Values.redis.metrics.serviceMonitor.scheme }}
|
||||
scheme: {{ . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue