mirror of https://git.rancher.io/charts
Fix typo with metricRelabelings
parent
3935cc246f
commit
8d416da04e
|
@ -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") }}
|
||||
|
|
Loading…
Reference in New Issue