From ef58b823c21de77c91672338d60b0c47ee34ae81 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 24 Aug 2023 12:27:49 +0200 Subject: [PATCH] fix: Change CIDR subnet block --- .../bootstrap/templates/kustomization.cluster-template.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 b/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 index a3bf3a8..90dcb97 100644 --- a/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 +++ b/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/kustomization.cluster-template.j2 @@ -216,6 +216,9 @@ patches: kind: Cluster name: \${CLUSTER_NAME} patch: |- + - op: replace + path: /spec/clusterNetwork/pods/cidrBlocks/- + value: 172.30.0.0/16 - op: replace path: /spec/controlPlaneRef/name value: ${CLUSTER_NAME}-master