Hetzner CCM has no need for HostNetwork
@@ -94,7 +94,6 @@ func hetznerDeployment(networkID, podSubnet string) *appsv1.Deployment {
var (
replicas int32 = 1
revisions int32 = 2
- hostNetwork = false
cmd = []string{
"/bin/hcloud-cloud-controller-manager",
"--cloud-provider=hcloud",
@@ -105,7 +104,6 @@ func hetznerDeployment(networkID, podSubnet string) *appsv1.Deployment {
if len(networkID) > 0 {
cmd = append(cmd, "--allocate-node-cidrs=true")
cmd = append(cmd, fmt.Sprintf("--cluster-cidr=%s", podSubnet))
- hostNetwork = true
}
return &appsv1.Deployment{
@@ -151,7 +149,6 @@ func hetznerDeployment(networkID, podSubnet string) *appsv1.Deployment {
Operator: corev1.TolerationOpExists,
},
},
- HostNetwork: hostNetwork,
Containers: []corev1.Container{
{
Name: "hcloud-cloud-controller-manager",
