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
namespace: linkding
resources:
- namespace.yaml
- srv.yaml
- pvc.yaml
- deployment.yaml
- namespace.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-service-account.yaml
- node-cluster-role.yaml
- controller-service-account.yaml
- node-binding.yaml
- node-deamonset.yaml
- CSIDriver.yaml
- config.yaml
- namespace.yaml
- controller-service-account.yaml
- controller-binding.yaml
- node-service-account.yaml
@@ -127,6 +127,7 @@ spec:
volumeMounts:
- mountPath: /csi
name: plugin-dir
dnsPolicy: ClusterFirstWithHostNet
hostIPC: true
hostNetwork: true
hostPID: true
+1
View File
@@ -316,6 +316,7 @@ func nodeCSI() apps.DaemonSet {
HostNetwork: true,
HostPID: true,
HostIPC: true,
DNSPolicy: core.DNSClusterFirstWithHostNet,
PriorityClassName: "system-node-critical",
Tolerations: []core.Toleration{{
Operator: core.TolerationOpExists,