Flux v2.8.0
Release Notes
Highlights
Flux v2.8.0 is a feature release. Users are encouraged to upgrade for the best experience.
For a compressive overview of new features and API changes included in this release, please refer to the Announcing Flux 2.8 GA blog post.
Overview of the new features:
- Helm v4 support, including server-side apply and kstatus-based health checking (
HelmRelease) - Readiness evaluation of Helm-managed objects with CEL expressions (
HelmRelease) - Improved observability of Helm releases with inventory tracking in
.status.inventory(HelmRelease) - Reduced the mean time to recovery of Flux-managed applications via
CancelHealthCheckOnNewRevisionfeature gate (Kustomization,HelmRelease) - Support for commenting on Pull Requests directly from Flux notifications (
Provider) - Custom SSA apply stages for ordering resource application in kustomize-controller (
Kustomization) - Automatic GitHub App installation ID lookup from the repository owner (
GitRepository,ImageUpdateAutomation,Provider) - Support for Cosign v3 for verifying OCI artifacts and container images (
OCIRepository) - ArtifactGenerator support for extracting and modifying Helm charts (
ArtifactGenerator) - Bypass cache when fetching source objects via
DirectSourceFetchfeature gate (Kustomization,HelmRelease,ArtifactGenerator)
❤️ Big thanks to all the Flux contributors that helped us with this release!
Kubernetes compatibility
This release is compatible with the following Kubernetes versions:
| Kubernetes version | Minimum required |
|--------------------|------------------|
| v1.33 | >= 1.32.0 |
| v1.34 | >= 1.34.1 |
| v1.35 | >= 1.35.0 |
[!NOTE] Note that the Flux project offers support only for the latest three minor versions of Kubernetes. Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as ControlPlane that provide enterprise support for Flux.
OpenShift compatibility
Flux can be installed on Red Hat OpenShift cluster directly from OperatorHub using Flux Operator. The operator allows the configuration of Flux multi-tenancy lockdown, network policies, persistent storage, sharding, vertical scaling and the synchronization of the cluster state from Git repositories, OCI artifacts, and S3-compatible storage.
Upgrade procedure
:warning: The Flux APIs v1beta2 and v2beta2 (deprecated in 2024) have reached end-of-life and have been removed from the CRDs.
Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from older versions of Flux to v2.8.
Components changelog
- source-controller v1.8.0
- kustomize-controller v1.8.0
- notification-controller v1.8.0
- helm-controller v1.5.0
- image-reflector-controller v1.1.0
- image-automation-controller v1.1.0
- source-watcher v2.1.0
CLI changelog
- ci: Set
GITHUB_TOKENin therelease-flux-manifestsworkflow by @stefanprodan in https://github.com/fluxcd/flux2/pull/5547 - Add backport label for Flux 2.7 by @matheuscscp in https://github.com/fluxcd/flux2/pull/5550
- build(deps): bump the ci group across 1 directory with 3 updates by @dependabot[bot] in https://github.com/fluxcd/flux2/pull/5548
- Fix
flux push artifactnot working with--providerby @matheuscscp in https://github.com/fluxcd/flux2/pull/5551 - Extend
flux migrateto work with local files by @matheuscscp in https://github.com/fluxcd/flux2/pull/5554 - Improve
flux migratefor live cluster migrations by @stefanprodan in https://github.com/fluxcd/flux2/pull/5558 - Fix
flux migrate -fcommand to work with comments by @matheuscscp in https://github.com/fluxcd/flux2/pull/5560 - Add source-watcher to docs by @stefanprodan in https://github.com/fluxcd/flux2/pull/5562
- Fix
flux migrate -fnot considering kind comments by @matheuscscp in https://github.com/fluxcd/flux2/pull/5563 - refactor: convert
Kustomizationresource into unstructured map only once during variable substitution by @ramasai1 in https://github.com/fluxcd/flux2/pull/5566 - Update toolkit components by @fluxcdbot in https://github.com/fluxcd/flux2/pull/5568
- Disable AUR publishing by @stefanprodan in https://github.com/fluxcd/flux2/pull/5570
- Fix manifest generation for
--storage-adv-addrand--events-addrflags by @stefanprodan in https://github.com/fluxcd/flux2/pull/5574 - Update dependencies to Kubernetes v1.34.1 and Go 1.25.2 by @stefanprodan in https://github.com/fluxcd/flux2/pull/5576
- Update toolkit components by @fluxcdbot in https://github.com/fluxcd/flux2/pull/5578
- Restore GitHub PAT for backports by @matheuscscp in https://github.com/fluxcd/flux2/pull/5581
- [RFC-0012] Add command
flux get source externalby @dgunzy in https://github.com/fluxcd/flux2/pull/5555 - fix: handle error when writing password prompt to stdout by @akshatsinha0 in https://github.com/fluxcd/flux2/pull/5589
- Pin cosign to v2.6.1 by @matheuscscp in https://github.com/fluxcd/flux2/pull/5594
- [RFC-0012] Add command
flux export source externalby @dgunzy in https://github.com/fluxcd/flux2/pull/5583 - Fix bootstrap e2e test for image policy by @matheuscscp in https://gith
[truncated]