Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
58ac010c
Verified
Commit
58ac010c
authored
1 year ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
fix(nut-exporter): Fix broken template + tests
parent
c22f1d14
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
charts/nut-exporter/templates/podmonitor.yaml
+0
-1
0 additions, 1 deletion
charts/nut-exporter/templates/podmonitor.yaml
charts/nut-exporter/tests/__snapshot__/snapshot_test.yaml.snap
+4
-0
4 additions, 0 deletions
...s/nut-exporter/tests/__snapshot__/snapshot_test.yaml.snap
with
4 additions
and
1 deletion
charts/nut-exporter/templates/podmonitor.yaml
+
0
−
1
View file @
58ac010c
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
charts/nut-exporter/tests/__snapshot__/snapshot_test.yaml.snap
+
4
−
0
View file @
58ac010c
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment