From 5e95b4b1f89997c5018e6f8526d0a27949601b2d Mon Sep 17 00:00:00 2001 From: zeritti <47476160+zeritti@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:20:01 +0000 Subject: [PATCH 1/2] [prometheus-node-exporter] Remove new lines within action Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> --- .../prometheus-node-exporter/templates/daemonset.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/charts/prometheus-node-exporter/templates/daemonset.yaml b/charts/prometheus-node-exporter/templates/daemonset.yaml index 152ec7dc118d..f0e345b972b8 100644 --- a/charts/prometheus-node-exporter/templates/daemonset.yaml +++ b/charts/prometheus-node-exporter/templates/daemonset.yaml @@ -176,14 +176,8 @@ spec: mountPath: {{ .mountPath }} {{- end }} {{- range .Values.sidecars }} - {{- $overwrites := dict - "volumeMounts" (concat (include "prometheus-node-exporter.sidecarVolumeMounts" $ | fromYamlArray) (.volumeMounts | default list) | default list) - }} - {{- $defaults := dict - "image" (include "prometheus-node-exporter.image" $) - "securityContext" $.Values.containerSecurityContext - "imagePullPolicy" $.Values.image.pullPolicy - }} + {{- $overwrites := dict "volumeMounts" (concat (include "prometheus-node-exporter.sidecarVolumeMounts" $ | fromYamlArray) (.volumeMounts | default list) | default list) }} + {{- $defaults := dict "image" (include "prometheus-node-exporter.image" $) "securityContext" $.Values.containerSecurityContext "imagePullPolicy" $.Values.image.pullPolicy }} - {{- toYaml (merge $overwrites . $defaults) | nindent 10 }} {{- end }} {{- if .Values.kubeRBACProxy.enabled }} From 9851ab846853836e25788b5c15dc113cba63bacf Mon Sep 17 00:00:00 2001 From: zeritti <47476160+zeritti@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:20:42 +0000 Subject: [PATCH 2/2] Raise chart version Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> --- charts/prometheus-node-exporter/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-node-exporter/Chart.yaml b/charts/prometheus-node-exporter/Chart.yaml index 4c1a176202e8..7e88090e7ddc 100644 --- a/charts/prometheus-node-exporter/Chart.yaml +++ b/charts/prometheus-node-exporter/Chart.yaml @@ -6,7 +6,7 @@ keywords: - prometheus - exporter type: application -version: 4.30.2 +version: 4.30.3 appVersion: 1.7.0 home: https://github.com/prometheus/node_exporter/ sources: