diff --git a/packaging/flavorgen/cloudprovider/cloud-controller-manager.go b/packaging/flavorgen/cloudprovider/cloud-controller-manager.go index f8bcc34c95..f4de07066b 100644 --- a/packaging/flavorgen/cloudprovider/cloud-controller-manager.go +++ b/packaging/flavorgen/cloudprovider/cloud-controller-manager.go @@ -31,10 +31,6 @@ import ( // NOTE: the contents of this file are derived from https://github.com/kubernetes/cloud-provider-vsphere/tree/master/manifests/controller-manager -const ( - CPIControllerImageURL = "gcr.io/cloud-provider-vsphere/cpi/release/manager" -) - // CloudControllerManagerManifests returns the yaml manifests generated via // `helm template` from https://github.com/kubernetes/cloud-provider-vsphere/tree/master/charts/vsphere-cpi func CloudControllerManagerManifests() (string, error) { diff --git a/packaging/flavorgen/cloudprovider/cpi/cpi.yaml b/packaging/flavorgen/cloudprovider/cpi/cpi.yaml index d37cff00ac..c1a62544bd 100644 --- a/packaging/flavorgen/cloudprovider/cpi/cpi.yaml +++ b/packaging/flavorgen/cloudprovider/cpi/cpi.yaml @@ -155,7 +155,7 @@ spec: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:v1.30.0-rc.0 + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.0-rc.0 imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/packaging/flavorgen/flavors/env/envsubts_consts.go b/packaging/flavorgen/flavors/env/envsubts_consts.go index b3130e13cc..705941a0dd 100644 --- a/packaging/flavorgen/flavors/env/envsubts_consts.go +++ b/packaging/flavorgen/flavors/env/envsubts_consts.go @@ -21,7 +21,6 @@ const ( ClusterNameVar = "${CLUSTER_NAME}" ClusterClassNameVar = "${CLUSTER_CLASS_NAME}" ControlPlaneMachineCountVar = "${CONTROL_PLANE_MACHINE_COUNT}" - DefaultCloudProviderImage = "gcr.io/cloud-provider-vsphere/cpi/release/manager:v1.2.1" DefaultClusterCIDR = "192.168.0.0/16" DefaultDiskGiB = 25 DefaultMemoryMiB = 8192 diff --git a/templates/cluster-template-external-loadbalancer.yaml b/templates/cluster-template-external-loadbalancer.yaml index a2b96ae465..31c9b28f4b 100644 --- a/templates/cluster-template-external-loadbalancer.yaml +++ b/templates/cluster-template-external-loadbalancer.yaml @@ -1282,7 +1282,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/templates/cluster-template-ignition.yaml b/templates/cluster-template-ignition.yaml index 19f54a11aa..80ae91cab6 100644 --- a/templates/cluster-template-ignition.yaml +++ b/templates/cluster-template-ignition.yaml @@ -1496,7 +1496,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/templates/cluster-template-node-ipam.yaml b/templates/cluster-template-node-ipam.yaml index a7f2b9bb49..c7e38909d2 100644 --- a/templates/cluster-template-node-ipam.yaml +++ b/templates/cluster-template-node-ipam.yaml @@ -1417,7 +1417,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/templates/cluster-template-supervisor.yaml b/templates/cluster-template-supervisor.yaml index 4f37ad5b1d..ffb9887979 100644 --- a/templates/cluster-template-supervisor.yaml +++ b/templates/cluster-template-supervisor.yaml @@ -1367,7 +1367,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/templates/cluster-template-topology-supervisor.yaml b/templates/cluster-template-topology-supervisor.yaml index 112695abc2..b680f426a8 100644 --- a/templates/cluster-template-topology-supervisor.yaml +++ b/templates/cluster-template-topology-supervisor.yaml @@ -1175,7 +1175,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/templates/cluster-template-topology.yaml b/templates/cluster-template-topology.yaml index 0da3a2c5b2..e976f8cafd 100644 --- a/templates/cluster-template-topology.yaml +++ b/templates/cluster-template-topology.yaml @@ -1190,7 +1190,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 2a29514710..12f283b0fe 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -1407,7 +1407,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/test/e2e/config/vsphere.yaml b/test/e2e/config/vsphere.yaml index 734aa59b1b..a1aff5fab0 100644 --- a/test/e2e/config/vsphere.yaml +++ b/test/e2e/config/vsphere.yaml @@ -271,7 +271,7 @@ variables: KUBERNETES_VERSION_UPGRADE_FROM: "v1.29.0" KUBERNETES_VERSION_UPGRADE_TO: "v1.30.0" KUBERNETES_VERSION_LATEST_CI: "ci/latest-1.31" - CPI_IMAGE_K8S_VERSION: "v1.30.0" + CPI_IMAGE_K8S_VERSION: "v1.31.0-beta.0" CNI: "./data/cni/calico/calico.yaml" EXP_CLUSTER_RESOURCE_SET: "true" EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true" diff --git a/test/e2e/data/infrastructure-vsphere-govmomi/v1.10/topology/cluster-template-topology.yaml b/test/e2e/data/infrastructure-vsphere-govmomi/v1.10/topology/cluster-template-topology.yaml index 72ee1f4df8..555a86c8e7 100644 --- a/test/e2e/data/infrastructure-vsphere-govmomi/v1.10/topology/cluster-template-topology.yaml +++ b/test/e2e/data/infrastructure-vsphere-govmomi/v1.10/topology/cluster-template-topology.yaml @@ -1197,7 +1197,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere diff --git a/test/e2e/data/infrastructure-vsphere-govmomi/v1.9/topology/cluster-template-topology.yaml b/test/e2e/data/infrastructure-vsphere-govmomi/v1.9/topology/cluster-template-topology.yaml index 28a5c8cdca..afaa2df3f9 100644 --- a/test/e2e/data/infrastructure-vsphere-govmomi/v1.9/topology/cluster-template-topology.yaml +++ b/test/e2e/data/infrastructure-vsphere-govmomi/v1.9/topology/cluster-template-topology.yaml @@ -1225,7 +1225,7 @@ data: - --v=2 - --cloud-provider=vsphere - --cloud-config=/etc/cloud/vsphere.conf - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} name: vsphere-cloud-controller-manager resources: requests: diff --git a/test/e2e/data/infrastructure-vsphere-supervisor/v1.10/topology/cluster-template-topology-supervisor.yaml b/test/e2e/data/infrastructure-vsphere-supervisor/v1.10/topology/cluster-template-topology-supervisor.yaml index a645945e74..487d98559e 100644 --- a/test/e2e/data/infrastructure-vsphere-supervisor/v1.10/topology/cluster-template-topology-supervisor.yaml +++ b/test/e2e/data/infrastructure-vsphere-supervisor/v1.10/topology/cluster-template-topology-supervisor.yaml @@ -1189,7 +1189,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere @@ -1275,4 +1275,4 @@ data: kind: ConfigMap metadata: name: cpi-manifests - namespace: '${NAMESPACE}' \ No newline at end of file + namespace: '${NAMESPACE}' diff --git a/test/e2e/data/infrastructure-vsphere-supervisor/v1.9/topology/cluster-template-topology-supervisor.yaml b/test/e2e/data/infrastructure-vsphere-supervisor/v1.9/topology/cluster-template-topology-supervisor.yaml index a645945e74..487d98559e 100644 --- a/test/e2e/data/infrastructure-vsphere-supervisor/v1.9/topology/cluster-template-topology-supervisor.yaml +++ b/test/e2e/data/infrastructure-vsphere-supervisor/v1.9/topology/cluster-template-topology-supervisor.yaml @@ -1189,7 +1189,7 @@ data: priorityClassName: system-node-critical containers: - name: vsphere-cpi - image: gcr.io/cloud-provider-vsphere/cpi/release/manager:${CPI_IMAGE_K8S_VERSION} + image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:${CPI_IMAGE_K8S_VERSION} imagePullPolicy: IfNotPresent args: - --cloud-provider=vsphere @@ -1275,4 +1275,4 @@ data: kind: ConfigMap metadata: name: cpi-manifests - namespace: '${NAMESPACE}' \ No newline at end of file + namespace: '${NAMESPACE}'