Skip to content

chore: bump all use of Flux APIs to their latest version#5241

Merged
erikgb merged 2 commits intoweaveworks:mainfrom
erikgb:bump-apis
Oct 9, 2025
Merged

chore: bump all use of Flux APIs to their latest version#5241
erikgb merged 2 commits intoweaveworks:mainfrom
erikgb:bump-apis

Conversation

@erikgb
Copy link
Contributor

@erikgb erikgb commented Oct 7, 2025

Closes

What changed?

All use of Flux APIs has been bumped to their latest version.

Why was this change made?

To keep up with the API evolution in Flux and avoid issues when API versions are removed.

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@erikgb erikgb requested a review from Copilot October 7, 2025 17:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates all Flux API references to their latest stable versions, moving away from beta versions to improve compatibility and avoid deprecation issues.

  • Updates source toolkit APIs from v1beta2 to v1
  • Updates helm toolkit APIs from v2beta2 to v2
  • Updates image automation and reflector APIs from v1beta2 to v1
  • Updates notification controller APIs from v1beta2 to v1beta3

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
website/docs/progressive-delivery/progressive-delivery-flagger-install.mdx Updates source.toolkit.fluxcd.io API version in documentation examples
website/docs/open-source/getting-started/install-OSS.mdx Updates helm.toolkit.fluxcd.io API version in documentation
website/docs/gitopssets/templating-from-generators.mdx Updates source.toolkit.fluxcd.io API versions in GitOpsSets examples
website/docs/gitopssets/gitopssets-installation.mdx Updates source.toolkit.fluxcd.io API version in installation docs
website/docs/gitops-templates/quickstart-templates.mdx Updates source.toolkit.fluxcd.io API version in quickstart template
ui/pages/tests/Sources.test.tsx Updates test data to reflect new API versions
ui/lib/tests/objects.test.ts Updates test payloads with new API versions
ui/components/tests/ProviderDetail.test.tsx Updates notification controller API versions in test data
tools/dev-resources/image-policy/*.yaml Updates image.toolkit.fluxcd.io API versions from v1beta2 to v1
pkg/kube/kubehttp.go Updates Go imports to use stable API versions and removes deprecated imports
core/server/sync_test.go Updates Go imports for image automation and reflector controllers
core/server/suspend_test.go Updates Go imports for image automation and reflector controllers
core/fluxsync/adapters.go Updates Go imports and removes references to deprecated v1beta2 APIs

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@erikgb erikgb force-pushed the bump-apis branch 2 times, most recently from 99ef9c4 to 05a61cd Compare October 7, 2025 18:05
@erikgb erikgb enabled auto-merge (squash) October 9, 2025 17:17
@erikgb erikgb merged commit 1b4de83 into weaveworks:main Oct 9, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments