Unverified Commit 24b4280e authored by Lubomir I. Ivanov's avatar Lubomir I. Ivanov Committed by GitHub

Revert "kubeadm: Create control plane with ClusterFirstWithHostNet dns policy"

parent bea07c0d
...@@ -68,7 +68,6 @@ func ComponentPod(container v1.Container, volumes map[string]v1.Volume) v1.Pod { ...@@ -68,7 +68,6 @@ func ComponentPod(container v1.Container, volumes map[string]v1.Volume) v1.Pod {
Containers: []v1.Container{container}, Containers: []v1.Container{container},
PriorityClassName: "system-cluster-critical", PriorityClassName: "system-cluster-critical",
HostNetwork: true, HostNetwork: true,
DNSPolicy: v1.DNSClusterFirstWithHostNet,
Volumes: VolumeMapToSlice(volumes), Volumes: VolumeMapToSlice(volumes),
}, },
} }
......
...@@ -369,7 +369,6 @@ func TestComponentPod(t *testing.T) { ...@@ -369,7 +369,6 @@ func TestComponentPod(t *testing.T) {
}, },
PriorityClassName: "system-cluster-critical", PriorityClassName: "system-cluster-critical",
HostNetwork: true, HostNetwork: true,
DNSPolicy: v1.DNSClusterFirstWithHostNet,
Volumes: []v1.Volume{}, Volumes: []v1.Volume{},
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment