Fix hostmount in truenas-csi daemonset
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user