diff --git a/infrastructure/hydra/truenas-csi/kuztomization.yaml b/infrastructure/hydra/truenas-csi/kuztomization.yaml index 7ea2b17..d1461ab 100644 --- a/infrastructure/hydra/truenas-csi/kuztomization.yaml +++ b/infrastructure/hydra/truenas-csi/kuztomization.yaml @@ -4,14 +4,14 @@ metadata: name: truenas-csi namespace: truenas-csi resources: -- namespace.yaml - controller-deployment.yaml - controller-cluster-role.yaml -- controller-binding.yaml +- node-cluster-role.yaml +- node-binding.yaml - node-deamonset.yaml - CSIDriver.yaml - config.yaml +- namespace.yaml - controller-service-account.yaml +- controller-binding.yaml - node-service-account.yaml -- node-cluster-role.yaml -- node-binding.yaml diff --git a/infrastructure/hydra/truenas-csi/node-deamonset.yaml b/infrastructure/hydra/truenas-csi/node-deamonset.yaml index 9a239a4..99c4def 100644 --- a/infrastructure/hydra/truenas-csi/node-deamonset.yaml +++ b/infrastructure/hydra/truenas-csi/node-deamonset.yaml @@ -98,7 +98,7 @@ spec: - mountPath: /var/lib/iscsi mountPropagation: Bidirectional name: iscsi-lib - - mountPath: / + - mountPath: /host mountPropagation: Bidirectional name: host-root - args: diff --git a/pkg/truenas/truenas.go b/pkg/truenas/truenas.go index d3ac879..814085e 100644 --- a/pkg/truenas/truenas.go +++ b/pkg/truenas/truenas.go @@ -369,7 +369,7 @@ func nodeCSI() apps.DaemonSet { }, { Name: hostRoot.Name, - MountPath: "/", + MountPath: "/host", MountPropagation: new(core.MountPropagationBidirectional), }, },