Skip to content

Commit c4ac62a

Browse files
committed
fix(helm): missing eq in string comparison
Signed-off-by: Marcondiro <[email protected]>
1 parent d1cad01 commit c4ac62a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/charts/sf-chart/templates/daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ spec:
264264
- mountPath: /host/etc
265265
name: etc-fs
266266
readOnly: true
267-
{{- if .Values.sfcollector.driverType "kmod" }}
267+
{{- if eq .Values.sfcollector.driverType "kmod" }}
268268
- mountPath: /sys/module
269269
name: sysmodule
270270
readOnly: false
@@ -438,7 +438,7 @@ spec:
438438
- name: varlib
439439
hostPath:
440440
path: /var/lib
441-
{{- if .Values.sfcollector.driverType "kmod" }}
441+
{{- if eq .Values.sfcollector.driverType "kmod" }}
442442
- name: sysmodule
443443
hostPath:
444444
path: /sys/module

0 commit comments

Comments
 (0)