Add DNS ClusterFirstWithHostNet to TrueNAS CSI

This commit is contained in:
Daniel Cosme
2026-04-30 09:14:21 -04:00
parent 140b13bf6e
commit d5ac075b68
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ metadata:
name: linking name: linking
namespace: linkding namespace: linkding
resources: resources:
- namespace.yaml
- srv.yaml - srv.yaml
- pvc.yaml - pvc.yaml
- deployment.yaml - deployment.yaml
- namespace.yaml
@@ -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-service-account.yaml
- node-cluster-role.yaml - node-cluster-role.yaml
- controller-service-account.yaml
- node-binding.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-binding.yaml
- node-service-account.yaml
@@ -127,6 +127,7 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /csi - mountPath: /csi
name: plugin-dir name: plugin-dir
dnsPolicy: ClusterFirstWithHostNet
hostIPC: true hostIPC: true
hostNetwork: true hostNetwork: true
hostPID: true hostPID: true
+1
View File
@@ -316,6 +316,7 @@ func nodeCSI() apps.DaemonSet {
HostNetwork: true, HostNetwork: true,
HostPID: true, HostPID: true,
HostIPC: true, HostIPC: true,
DNSPolicy: core.DNSClusterFirstWithHostNet,
PriorityClassName: "system-node-critical", PriorityClassName: "system-node-critical",
Tolerations: []core.Toleration{{ Tolerations: []core.Toleration{{
Operator: core.TolerationOpExists, Operator: core.TolerationOpExists,