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