From cedad1a445dbe2ef2dec1d2af41c7ab1b6d4e2c7 Mon Sep 17 00:00:00 2001 From: "M. Essam" Date: Fri, 22 Dec 2023 01:17:26 +0200 Subject: [PATCH] Update default usage to coalesce Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com> Signed-off-by: M. Essam --- charts/prometheus-node-exporter/templates/daemonset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/prometheus-node-exporter/templates/daemonset.yaml b/charts/prometheus-node-exporter/templates/daemonset.yaml index 0792f201768e..d9e418169b25 100644 --- a/charts/prometheus-node-exporter/templates/daemonset.yaml +++ b/charts/prometheus-node-exporter/templates/daemonset.yaml @@ -50,7 +50,7 @@ spec: - --path.sysfs=/host/sys {{- if .Values.hostRootFsMount.enabled }} - --path.rootfs=/host/root - {{- if semverCompare ">=1.4.0" (.Values.version | default .Values.image.tag | default .Chart.AppVersion) }} + {{- if semverCompare ">=1.4.0" (coalesce .Values.version .Values.image.tag .Chart.AppVersion) }} - --path.udev.data=/host/root/run/udev/data {{- end }} {{- end }}