From e2b9fecd82a1e2ef7a534fd2d6286182e2ceb8a1 Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Tue, 16 Jun 2026 02:54:46 +0800 Subject: [PATCH] chore(magnum): upgrade Cluster API components (#4002) Signed-off-by: Dong Ma Co-authored-by: Mohammed Naser --- galaxy.yml | 2 +- .../notes/upgrade-capi-capo-a585d8cf261b8d2a.yaml | 9 +++++++++ roles/defaults/vars/main.yml | 8 ++++---- roles/magnum/meta/main.yml | 6 +++--- 4 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 releasenotes/notes/upgrade-capi-capo-a585d8cf261b8d2a.yaml diff --git a/galaxy.yml b/galaxy.yml index 5826eb67..b201b113 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -18,7 +18,7 @@ dependencies: openstack.cloud: ">=2.0.0" vexxhost.ceph: ">=3.2.0" atmosphere.common: ">=0.7.0" - vexxhost.kubernetes: ">=2.5.0" + vexxhost.kubernetes: ">=3.2.0" tags: - application - cloud diff --git a/releasenotes/notes/upgrade-capi-capo-a585d8cf261b8d2a.yaml b/releasenotes/notes/upgrade-capi-capo-a585d8cf261b8d2a.yaml new file mode 100644 index 00000000..6ed30033 --- /dev/null +++ b/releasenotes/notes/upgrade-capi-capo-a585d8cf261b8d2a.yaml @@ -0,0 +1,9 @@ +--- +upgrade: + - | + The default ``Cluster API`` images now use version 1.13.2. The default + ``Cluster API Provider OpenStack`` image now uses version 0.14.4. The + minimum VEXXHOST Kubernetes collection version is now 3.2.0 so the matching + provider manifests and ``clusterctl`` checksums are available. + Operators should verify the management cluster Kubernetes version is + compatible with Cluster API 1.13 before upgrading Magnum. diff --git a/roles/defaults/vars/main.yml b/roles/defaults/vars/main.yml index 75162c29..ebe44f24 100644 --- a/roles/defaults/vars/main.yml +++ b/roles/defaults/vars/main.yml @@ -36,10 +36,10 @@ _atmosphere_images: cinder_storage_init: "{{ atmosphere_image_prefix }}ghcr.io/vexxhost/cinder:main@sha256:abbffdab1bddcb6cfbcdcd10d618c53f34f0c72cb81043957c14b3d1abe7c499" cinder_volume_usage_audit: "{{ atmosphere_image_prefix }}ghcr.io/vexxhost/cinder:main@sha256:abbffdab1bddcb6cfbcdcd10d618c53f34f0c72cb81043957c14b3d1abe7c499" cinder_volume: "{{ atmosphere_image_prefix }}ghcr.io/vexxhost/cinder:main@sha256:abbffdab1bddcb6cfbcdcd10d618c53f34f0c72cb81043957c14b3d1abe7c499" - cluster_api_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/cluster-api/cluster-api-controller:v1.10.5" - cluster_api_kubeadm_bootstrap_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.10.5" - cluster_api_kubeadm_control_plane_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/cluster-api/kubeadm-control-plane-controller:v1.10.5" - cluster_api_openstack_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/capi-openstack/capi-openstack-controller:v0.12.7" + cluster_api_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/cluster-api/cluster-api-controller:v1.13.2" + cluster_api_kubeadm_bootstrap_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.13.2" + cluster_api_kubeadm_control_plane_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/cluster-api/kubeadm-control-plane-controller:v1.13.2" + cluster_api_openstack_controller: "{{ atmosphere_image_prefix }}registry.k8s.io/capi-openstack/capi-openstack-controller:v0.14.4" csi_node_driver_registrar: "{{ atmosphere_image_prefix }}registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0" csi_rbd_attacher: "{{ atmosphere_image_prefix }}registry.k8s.io/sig-storage/csi-attacher:v4.5.0" csi_rbd_plugin: "{{ atmosphere_image_prefix }}quay.io/cephcsi/cephcsi:v3.11.0" diff --git a/roles/magnum/meta/main.yml b/roles/magnum/meta/main.yml index 0868e1ff..93104f7c 100644 --- a/roles/magnum/meta/main.yml +++ b/roles/magnum/meta/main.yml @@ -38,11 +38,11 @@ dependencies: upload_helm_chart_dest: "{{ magnum_helm_chart_ref }}" - role: vexxhost.kubernetes.cluster_api vars: - clusterctl_version: 1.10.5 + clusterctl_version: 1.13.2 clusterctl_config: "{{ magnum_clusterctl_config }}" - cluster_api_version: 1.10.5 + cluster_api_version: 1.13.2 cluster_api_infrastructure_provider: openstack - cluster_api_infrastructure_version: 0.12.7 + cluster_api_infrastructure_version: 0.14.4 cluster_api_node_selector: openstack-control-plane: enabled openstack_resource_controller_image: "{{ atmosphere_images['openstack_resource_controller'] | vexxhost.kubernetes.docker_image('name') }}"