Skip to content

Introduce support for migrating API version#1635

Merged
matheuscscp merged 1 commit intomainfrom
migrate-api-version
Apr 16, 2026
Merged

Introduce support for migrating API version#1635
matheuscscp merged 1 commit intomainfrom
migrate-api-version

Conversation

@matheuscscp
Copy link
Copy Markdown
Member

@matheuscscp matheuscscp commented Apr 15, 2026

Closes: fluxcd/flux2#5715

Includes/Depends on: fluxcd/pkg#1174

Introduces the MigrateAPIVersion feature gate for migrating the API version of resources in managed field entries. Fixes errors like dry-run failed: .spec.accessPolicy: field not declared in schema.

@matheuscscp matheuscscp added enhancement New feature or request area/server-side-apply SSA related issues and pull requests backport:release/v1.8.x To be backported to release/v1.8.x labels Apr 15, 2026
@matheuscscp matheuscscp force-pushed the migrate-api-version branch 3 times, most recently from b76e504 to 57f5a7c Compare April 16, 2026 09:43
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
@matheuscscp matheuscscp force-pushed the migrate-api-version branch from 57f5a7c to b57e823 Compare April 16, 2026 09:43
@matheuscscp matheuscscp marked this pull request as ready for review April 16, 2026 09:43
Copy link
Copy Markdown
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@matheuscscp matheuscscp merged commit 69c051b into main Apr 16, 2026
5 checks passed
@matheuscscp matheuscscp deleted the migrate-api-version branch April 16, 2026 09:58
@fluxcdbot
Copy link
Copy Markdown
Member

Successfully created backport PR for release/v1.8.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/server-side-apply SSA related issues and pull requests backport:release/v1.8.x To be backported to release/v1.8.x enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"dry-run failed" when upgrading API version

3 participants