Fix hostmount in truenas-csi daemonset

This commit is contained in:
Daniel Cosme
2026-04-29 19:37:51 -04:00
parent eb6262f5f1
commit 140b13bf6e
3 changed files with 6 additions and 6 deletions
@@ -4,14 +4,14 @@ metadata:
name: truenas-csi name: truenas-csi
namespace: truenas-csi namespace: truenas-csi
resources: resources:
- namespace.yaml
- controller-deployment.yaml - controller-deployment.yaml
- controller-cluster-role.yaml - controller-cluster-role.yaml
- controller-binding.yaml - node-cluster-role.yaml
- node-binding.yaml
- node-deamonset.yaml - node-deamonset.yaml
- CSIDriver.yaml - CSIDriver.yaml
- config.yaml - config.yaml
- namespace.yaml
- controller-service-account.yaml - controller-service-account.yaml
- controller-binding.yaml
- node-service-account.yaml - node-service-account.yaml
- node-cluster-role.yaml
- node-binding.yaml
@@ -98,7 +98,7 @@ spec:
- mountPath: /var/lib/iscsi - mountPath: /var/lib/iscsi
mountPropagation: Bidirectional mountPropagation: Bidirectional
name: iscsi-lib name: iscsi-lib
- mountPath: / - mountPath: /host
mountPropagation: Bidirectional mountPropagation: Bidirectional
name: host-root name: host-root
- args: - args:
+1 -1
View File
@@ -369,7 +369,7 @@ func nodeCSI() apps.DaemonSet {
}, },
{ {
Name: hostRoot.Name, Name: hostRoot.Name,
MountPath: "/", MountPath: "/host",
MountPropagation: new(core.MountPropagationBidirectional), MountPropagation: new(core.MountPropagationBidirectional),
}, },
}, },