[GEP-33] Allow mixed format Capability CloudProfiles#1645
[GEP-33] Allow mixed format Capability CloudProfiles#1645gardener-prow[bot] merged 6 commits intogardener:masterfrom
Conversation
e4beb1c to
9558f91
Compare
9558f91 to
e12dc36
Compare
dbde0e9 to
4f3ac80
Compare
4f3ac80 to
bbeb6a2
Compare
bbeb6a2 to
a8a3a3c
Compare
|
The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
You can:
/lifecycle stale |
a8a3a3c to
80ac7ee
Compare
|
This change implements mixed format support for AWS cloud profile machine images, allowing both legacy (regions with architecture) and new capability-based formats to coexist. The implementation adds backwards compatibility while transitioning to the modern capability-based architecture selection system. Walkthrough
Model: claude-sonnet-4-20250514 | Prompt Tokens: 32844 | Completion Tokens: 219 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndreasBurger The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
LGTM label has been added. DetailsGit tree hash: 719ecdaf2da4ffa9c058429782f97e0cff36a9c1 |
How to categorize this PR?
/area control-plane
/kind enhancement
/platform aws
What this PR does / why we need it:
This PR enables mixed format support for machine image specifications in CloudProfile and NamespacedCloudProfile resources, allowing smooth migration from the legacy architecture-per-region format to the new capabilityFlavors format.
Background:
Previously, CloudProfiles could only use one format per profile:
regionswitharchitecturefield per regioncapabilityFlavorswith capabilities (introduced in GEP-33)This created a breaking change scenario where users had to migrate all image versions at once.
Changes:
CloudProfile Support: When
spec.machineCapabilitiesis defined, both old and new formats are now supported per image versionNamespacedCloudProfile Support: Removes format transformation to parent CloudProfile format
Image Selection Logic: Updated to handle both formats during worker/bastion machine image selection
Example:
Which issue(s) this PR fixes:
Part of gardener/gardener#11301
Special notes for your reviewer:
@hebelsan
Release note: