diff --git a/roles/kubernetes-apps/external_cloud_controller/hcloud/templates/external-hcloud-cloud-controller-manager-ds-with-networks.yml.j2 b/roles/kubernetes-apps/external_cloud_controller/hcloud/templates/external-hcloud-cloud-controller-manager-ds-with-networks.yml.j2 index cd796e9b7..c64a56679 100644 --- a/roles/kubernetes-apps/external_cloud_controller/hcloud/templates/external-hcloud-cloud-controller-manager-ds-with-networks.yml.j2 +++ b/roles/kubernetes-apps/external_cloud_controller/hcloud/templates/external-hcloud-cloud-controller-manager-ds-with-networks.yml.j2 @@ -43,7 +43,7 @@ spec: - "--leader-elect=false" - "--allow-untagged-cloud" - "--allocate-node-cidrs=true" - - "--cluster-cidr=10.244.0.0/16" + - "--cluster-cidr={{ kube_pods_subnet }}" {% if external_hcloud_cloud.controller_extra_args is defined %} args: