Skip to content

Commit

Permalink
[prometheus-node-exporter] KubeRBACProxy Resources Syntax Bug Fix (pr…
Browse files Browse the repository at this point in the history
…ometheus-community#4205)

* there is a missing trim for the resources on the kuberbacproxy which makes for strange spacing in the daemonset resources. This fixes that

Signed-off-by: Nicole <[email protected]>

* fixed versions

Signed-off-by: Nicole <[email protected]>

* disabled krp for template testing

Signed-off-by: Nicole <[email protected]>

* fix spacing for example

Signed-off-by: Nicole <[email protected]>

* fix spacing again

Signed-off-by: Nicole <[email protected]>

---------

Signed-off-by: Nicole <[email protected]>
  • Loading branch information
nfrazier08 authored and Matiasmct committed Mar 20, 2024
1 parent 947051a commit dfb027b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-node-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- prometheus
- exporter
type: application
version: 4.30.0
version: 4.30.1
appVersion: 1.7.0
home: https://github.com/prometheus/node_exporter/
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-node-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ spec:
timeoutSeconds: 5
{{- if .Values.kubeRBACProxy.resources }}
resources:
{{ toYaml .Values.kubeRBACProxy.resources | nindent 12 }}
{{- toYaml .Values.kubeRBACProxy.resources | nindent 12 }}
{{- end }}
{{- if .Values.terminationMessageParams.enabled }}
{{- with .Values.terminationMessageParams }}
Expand Down

0 comments on commit dfb027b

Please sign in to comment.