Skip to content
Snippets Groups Projects
Verified Commit 58ac010c authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(nut-exporter): Fix broken template + tests

parent c22f1d14
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ spec: ...@@ -26,7 +26,6 @@ spec:
params: params:
{{ toYaml . | nindent 8}} {{ toYaml . | nindent 8}}
{{- end }} {{- end }}
{{- with .Values.podMonitor.metricLabels }}
jobLabel: nut-exporter jobLabel: nut-exporter
namespaceSelector: namespaceSelector:
matchNames: matchNames:
......
...@@ -105,6 +105,10 @@ should match basic snapshot: ...@@ -105,6 +105,10 @@ should match basic snapshot:
- interval: 15s - interval: 15s
path: /ups_metrics path: /ups_metrics
port: http port: http
relabelings:
- source_labels:
- __param_ups
target_label: ups
scheme: http scheme: http
selector: selector:
matchLabels: matchLabels:
......
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