Skip to content

Commit

Permalink
Update default usage to coalesce
Browse files Browse the repository at this point in the history
Co-authored-by: zeritti <[email protected]>
Signed-off-by: M. Essam <[email protected]>
  • Loading branch information
mohamed-essam and zeritti authored Dec 21, 2023
1 parent c69d377 commit cedad1a
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -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 }}
Expand Down

0 comments on commit cedad1a

Please sign in to comment.