Skip to content

Commit 98151c1

Browse files
committed
fix: conditional mounts
1 parent 062de88 commit 98151c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,16 +298,16 @@ spec:
298298
name: mountpoint-dir
299299
{{- end }}
300300
volumes:
301-
{{- if .Values.linux.mountHomeK8sBin }}
301+
{{- if eq .Values.linux.distro "cos" }}
302302
- name: host-home-kubernetes-bin
303303
hostPath:
304304
path: /home/kubernetes/bin
305-
{{- end }}
306-
{{- if .Values.linux.mountVarLib }}
305+
{{- end }}
306+
{{- if eq .Values.linux.distro "gardenlinux" }}
307307
- name: host-var-bin
308308
hostPath:
309309
path: /var/bin
310-
{{- end }}
310+
{{- end }}
311311
- name: host-usr
312312
hostPath:
313313
path: /usr

0 commit comments

Comments
 (0)