From f8d54b7bac37534d0559437a0ad81d2e439047d0 Mon Sep 17 00:00:00 2001 From: arshadda Date: Thu, 6 Mar 2025 16:33:23 +0530 Subject: [PATCH] remove cloud-provider flag for kube-apiserver due to removal in v1.33 --- templates/cluster-template-powervs-clusterclass.yaml | 2 -- .../cluster-with-kcp.yaml | 2 -- templates/cluster-template-powervs-create-infra.yaml | 3 --- templates/cluster-template-powervs.yaml | 2 -- templates/cluster-template-powervs/kcp.yaml | 3 --- templates/cluster-template-vpc-clusterclass.yaml | 2 -- .../cluster-template-vpc-clusterclass/cluster-with-kcp.yaml | 2 -- templates/cluster-template.yaml | 2 -- templates/cluster-template/kcp.yaml | 3 --- 9 files changed, 21 deletions(-) diff --git a/templates/cluster-template-powervs-clusterclass.yaml b/templates/cluster-template-powervs-clusterclass.yaml index cef05fef3..a1c52f3b7 100644 --- a/templates/cluster-template-powervs-clusterclass.yaml +++ b/templates/cluster-template-powervs-clusterclass.yaml @@ -87,8 +87,6 @@ spec: certSANs: - ${IBMPOWERVS_VIP} - ${IBMPOWERVS_VIP_EXTERNAL} - extraArgs: - cloud-provider: external controlPlaneEndpoint: ${IBMPOWERVS_VIP}:${API_SERVER_PORT:=6443} controllerManager: extraArgs: diff --git a/templates/cluster-template-powervs-clusterclass/cluster-with-kcp.yaml b/templates/cluster-template-powervs-clusterclass/cluster-with-kcp.yaml index 56b208ad7..a72f78f09 100644 --- a/templates/cluster-template-powervs-clusterclass/cluster-with-kcp.yaml +++ b/templates/cluster-template-powervs-clusterclass/cluster-with-kcp.yaml @@ -87,8 +87,6 @@ spec: certSANs: - "${IBMPOWERVS_VIP}" - "${IBMPOWERVS_VIP_EXTERNAL}" - extraArgs: - cloud-provider: external controlPlaneEndpoint: ${IBMPOWERVS_VIP}:${API_SERVER_PORT:=6443} controllerManager: extraArgs: diff --git a/templates/cluster-template-powervs-create-infra.yaml b/templates/cluster-template-powervs-create-infra.yaml index 0874380c8..56e4c9ef6 100644 --- a/templates/cluster-template-powervs-create-infra.yaml +++ b/templates/cluster-template-powervs-create-infra.yaml @@ -57,9 +57,6 @@ metadata: spec: kubeadmConfigSpec: clusterConfiguration: - apiServer: - extraArgs: - cloud-provider: external controllerManager: extraArgs: cloud-provider: external diff --git a/templates/cluster-template-powervs.yaml b/templates/cluster-template-powervs.yaml index 34f9d2241..f46e9070a 100644 --- a/templates/cluster-template-powervs.yaml +++ b/templates/cluster-template-powervs.yaml @@ -48,8 +48,6 @@ spec: certSANs: - ${IBMPOWERVS_VIP} - ${IBMPOWERVS_VIP_EXTERNAL} - extraArgs: - cloud-provider: external controlPlaneEndpoint: ${IBMPOWERVS_VIP}:${API_SERVER_PORT:=6443} controllerManager: extraArgs: diff --git a/templates/cluster-template-powervs/kcp.yaml b/templates/cluster-template-powervs/kcp.yaml index e252e978c..e491053dc 100644 --- a/templates/cluster-template-powervs/kcp.yaml +++ b/templates/cluster-template-powervs/kcp.yaml @@ -5,9 +5,6 @@ metadata: spec: kubeadmConfigSpec: clusterConfiguration: - apiServer: - extraArgs: - cloud-provider: external controllerManager: extraArgs: cloud-provider: external diff --git a/templates/cluster-template-vpc-clusterclass.yaml b/templates/cluster-template-vpc-clusterclass.yaml index 4a1d1740b..8c1971663 100644 --- a/templates/cluster-template-vpc-clusterclass.yaml +++ b/templates/cluster-template-vpc-clusterclass.yaml @@ -92,8 +92,6 @@ spec: certSANs: - localhost - 127.0.0.1 - extraArgs: - cloud-provider: external controllerManager: extraArgs: cloud-provider: external diff --git a/templates/cluster-template-vpc-clusterclass/cluster-with-kcp.yaml b/templates/cluster-template-vpc-clusterclass/cluster-with-kcp.yaml index 73344a343..689361be6 100644 --- a/templates/cluster-template-vpc-clusterclass/cluster-with-kcp.yaml +++ b/templates/cluster-template-vpc-clusterclass/cluster-with-kcp.yaml @@ -91,8 +91,6 @@ spec: kubernetesVersion: ${KUBERNETES_VERSION} apiServer: certSANs: [localhost, 127.0.0.1] - extraArgs: - cloud-provider: external controllerManager: extraArgs: enable-hostpath-provisioner: 'true' diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index acf1c6ff4..62854e245 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -52,8 +52,6 @@ spec: certSANs: - localhost - 127.0.0.1 - extraArgs: - cloud-provider: external controllerManager: extraArgs: cloud-provider: external diff --git a/templates/cluster-template/kcp.yaml b/templates/cluster-template/kcp.yaml index 99fb17ce6..42ea97142 100644 --- a/templates/cluster-template/kcp.yaml +++ b/templates/cluster-template/kcp.yaml @@ -9,6 +9,3 @@ spec: controllerManager: extraArgs: cloud-provider: external - apiServer: - extraArgs: - cloud-provider: external