Fix typo with metricRelabelings

pull/2403/head
Arvind Iyengar 2023-02-09 12:08:54 -08:00
parent 3935cc246f
commit 8d416da04e
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ app: {{ template "pushprox.serviceMonitor.name" . }}
{{- $_ := set $clusterIdRelabel "sourceLabels" (list "__address__") }}
{{- $_ := set $clusterIdRelabel "targetLabel" "cluster_id" }}
{{- $_ := set $clusterIdRelabel "replacement" $.Values.global.cattle.clusterId }}
{{- $_ := set . "metricsRelabelings" (list ($clusterIdRelabel))}}
{{- $_ := set . "metricRelabelings" (list ($clusterIdRelabel))}}
{{- end }}
{{- if $useHTTPS -}}
{{- if (hasKey . "params") }}