fix monitoring template func

This commit is contained in:
Dmytro Bondar 2024-12-04 10:04:10 +01:00
parent 95b50f43d2
commit 115e0ac9c0
No known key found for this signature in database
GPG Key ID: C123CD37BBED8BB7

View File

@ -29,7 +29,7 @@ spec:
- __meta_kubernetes_pod_label_app_kubernetes_io_name
targetLabel: instance
{{- with .relabelings }}
{{- toYamlPretty . | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .scrapeTimeout }}
scrapeTimeout: {{ . }}