From 06f8368ce66359d317deee82b3fe3b9bd2660840 Mon Sep 17 00:00:00 2001 From: Aveline Date: Sat, 30 Jul 2022 20:18:27 -0700 Subject: [PATCH] Fix Hetzner CCM cluster-cidr (#9127) --- ...rnal-hcloud-cloud-controller-manager-ds-with-networks.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: