Add DNS ClusterFirstWithHostNet to TrueNAS CSI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user