What is the purpose of this pull request/Why do we need it?
Implement image lookup at reconcile time according to label and name selectors. This allows to update the Kubernetes version only by modifying the CAPI resources instead of updating the image ID.
Issue #, if available:
Description of changes:
Special notes for your reviewer:
I added the following label to my images: clusterapi=ionoscloud.
Tested by deploying the new template and updating KubeadmControlPlane and MachineDeployment versions (1.28.7 -> 1.29.2).
What is the purpose of this pull request/Why do we need it?
Implement image lookup at reconcile time according to label and name selectors. This allows to update the Kubernetes version only by modifying the CAPI resources instead of updating the image ID.
Issue #, if available:
Description of changes:
Special notes for your reviewer:
I added the following label to my images:
clusterapi=ionoscloud
.Tested by deploying the new template and updating
KubeadmControlPlane
andMachineDeployment
versions (1.28.7 -> 1.29.2).The PR is big as it is, so I'll look into an e2e test as a follow-up.
Checklist: