Skip to content
Snippets Groups Projects
Commit 7f8c742a authored by Guillermo Facundo Colunga's avatar Guillermo Facundo Colunga
Browse files

[MONIT-4105] templates/nodeexporter: allow user provided relabelings

parent bd0d1af0
No related branches found
No related tags found
1 merge request!40[MONIT-4105] Add Support for Prometheus Server Custom Relabelings
......@@ -18,4 +18,7 @@ spec:
sourceLabels:
- __meta_kubernetes_pod_node_name
targetLabel: instance
{{- if and .Values.metrics.nodeExporter .Values.metrics.nodeExporter.serviceMonitor.relabelings }}
{{- .Values.metrics.nodeExporter.serviceMonitor.relabelings | toYaml | nindent 4}}
{{- end }}
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment