Flux 2.2.0 comes with new features, bug fixes and performance improvements.
📅 Target date: 12 December 2023
This version updates the Flux components to:
The Mean Time To Production benchmark results for this release can be found at github.com/fluxcd/flux-benchmark.
API Promotions
HelmRelease v2beta2 (v2beta1 deprecated, scheduled for removal May 2024)
- Helm Drift detection and correction is no longer experimental (opt-in with
HelmRelease.spec.driftDetection in v2beta2)
Alert and Provider v1beta3 (v1beta1 and v1beta2 deprecated, scheduled for removal May 2024)
Features & Improvements
- Flux helm-controller's reconciliation model underwent a significant overhaul, addressing persistent issues such as the automatic recovery of releases stuck in a pending state. In addition, it improves the observability of the release status by reflecting more (historic) information in the status of the
HelmRelease object. Lastly, it introduces the ability to enable drift detection on a per-object basis. This includes the option to ignore specific fields using Kustomize-like target selectors and JSON pointer paths.
- Flux helm-controller events & alerts have been extend to drift detection & correction and release uninstall.
- Flux source-controller allows identity matching for Cosign keyless verification for
OCIRepository with .spec.verify. matchOIDCIdentity .
- Flux source-controller allows server-side filtering for
Bucket with .spec.prefix.
- Flux source-controller optimise syncing of GitHub PRs / GitLab MRs with shallow clones.
- Flux source-controller allows pulling Helm OCI charts from insecure (non-TLS) container registries.
- Flux image-reflector-controller allows scanning image repos from insecure (non-TLS) container registries.
- Flux kustomize-controller GC will cleanup the pods belonging to stale Kubernetes Jobs at force apply.
- Flux notification-controller adds support for Bitbucket Server & Data Center commit status updates.
- Flux notification-controller adds support for sending events to NATS.
- Flux CLI adds
--force and --reset flags to flux reconcile hr for one-off install/upgrade of a failed Helm release.
- Flux CLI comes with support for bootstrapping Gitea repositories with
flux bootstrap gitea.
- Flux CLI adds guardrails to
flux install and flux bootstrap to protect users from destructive operations.
- Flux CLI shows the in-cluster distribution version for
flux version and flux check.
TODOs
Release checklist
Releases:
Documentation:
Flux 2.2.0 comes with new features, bug fixes and performance improvements.
📅 Target date: 12 December 2023
This version updates the Flux components to:
The Mean Time To Production benchmark results for this release can be found at github.com/fluxcd/flux-benchmark.
API Promotions
HelmReleasev2beta2 (v2beta1 deprecated, scheduled for removal May 2024)HelmRelease.spec.driftDetectionin v2beta2)AlertandProviderv1beta3 (v1beta1 and v1beta2 deprecated, scheduled for removal May 2024)Features & Improvements
HelmReleaseobject. Lastly, it introduces the ability to enable drift detection on a per-object basis. This includes the option to ignore specific fields using Kustomize-like target selectors and JSON pointer paths.OCIRepositorywith.spec.verify. matchOIDCIdentity.Bucketwith.spec.prefix.--forceand--resetflags toflux reconcile hrfor one-off install/upgrade of a failed Helm release.flux bootstrap gitea.flux installandflux bootstrapto protect users from destructive operations.flux versionandflux check.TODOs
HelmReleasereconciliation logic helm-controller#738HelmReleasehelm-controller#815.spec.insecuretoHelmRepositoryfortype: ocisource-controller#1288flux installfrom overriding bootrapped cluster #4345flux reconcile hr#4437.spec.insecuretoImageRepositoryimage-reflector-controller#472Release checklist
Releases:
Documentation:
HelmReleaseAPI docs, examples and guidesHelmReleasev2beta2AlertandProviderv1beta3