chore(deps): update dependency flux2 to v2.9.3 - #80
Conversation
AI Assessment
AnalysisFlux2 is a critical core infrastructure component in this Kubernetes homelab (GitOps controller). While this is a minor version update (2.7.5 → 2.8.0), it contains confirmed breaking changes: (1) Removal of deprecated v1beta2 and v2beta2 CRD APIs, (2) Updated Kubernetes version compatibility matrix with minimum requirement of v1.32.0 for K8s v1.33+, and (3) Multiple infrastructure component upgrades (source-controller, kustomize-controller, notification-controller, helm-controller, image controllers). The release notes explicitly mention an 'Upgrade Procedure' warning and recommend following documented migration steps. This requires validation that: (a) all GitOps manifests are using v1 or v2 stable API versions, (b) the cluster meets the new K8s minimum version requirements, and (c) all feature flags and behaviors are compatible with the new version. RecommendationManual review is required before merging. Steps: (1) Verify all Flux custom resources in the GitOps repository use v1 or v2 API versions (not deprecated v1beta2/v2beta2), (2) Confirm the homelab's Kubernetes version meets minimum requirements (≥v1.32.0 for K8s v1.33+), (3) Review the 'Announcing Flux 2.8 GA' blog post for new features and behavioral changes, (4) Test the upgrade in a non-production environment first, (5) Execute the documented upgrade procedure, (6) Validate that all Flux resources reconcile successfully post-upgrade. Consider staging this update with a manual test before auto-merging. Analyzed by n8n AI Agent using Claude |
d3246a0 to
0d466d0
Compare
7f638fc to
ce2393c
Compare
ce2393c to
783201b
Compare
783201b to
171b49d
Compare
171b49d to
b2b3b46
Compare
b982402 to
f443622
Compare
f443622 to
378bb7f
Compare
AI Assessment
AnalysisWhile v2.8.8 is a stable patch release with CVE fixes and reliability improvements, this update spans the v2.8.0 feature release which contains API removals. As a core infrastructure component (Flux CD is critical for GitOps operations), and given the breaking changes introduced in 2.8.0, manual verification is required to ensure the homelab's Flux manifests use the current API versions and are compatible with the new Helm v4 support. RecommendationNEEDS_REVIEW - Before merging, verify: (1) All Flux custom resources use v1 or v2 API versions (not deprecated v1beta2/v2beta2), (2) HelmRelease resources are compatible with Helm v4 if applicable, (3) Follow the official Flux v2.7+ upgrade procedure. Once verified, this update is safe to apply as it includes important security fixes and stability improvements. Analyzed by n8n AI Agent using Claude |
378bb7f to
7cd70de
Compare
7cd70de to
71b89bb
Compare
71b89bb to
f6c1c75
Compare
f6c1c75 to
3ca5a0a
Compare
3ca5a0a to
6269e87
Compare
This PR contains the following updates:
2.7.5→2.9.3Release Notes
fluxcd/flux2 (flux2)
v2.9.3Compare Source
Highlights
Flux v2.9.3 is a patch release. It fixes empty lines vanishing from rendered Helm chart manifests, HelmReleases being marked as tested when their Helm test hooks never ran, and
spec.imagesentries that set only some image fields discarding the remaining fields already declared for the same image in thekustomization.yaml. The latter affects both kustomize-controller and theflux build|diff kustomizationcommands. Users are encouraged to upgrade for the best experience.ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
HasBeenTestedfor all corner cases, where a release could be marked as tested although its Helm test hooks never ran (helm-controller)spec.imagesentry setting only some of the image fields discarding the remaining fields already declared for the same image in thekustomization.yamlatspec.path, e.g. overriding onlynewNameproduced an untagged image reference (kustomize-controller, flux CLI)Improvements:
Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.9.2...v2.9.3
v2.9.2Compare Source
Highlights
Flux v2.9.2 is a patch release. The main fix addresses a regression introduced in
v2.9.1 where a Kustomization with
openapi.pathpointing to a URL failed toreconcile with
failed to read OpenAPI schema. This release also corrects severalCRD field descriptions that contained inaccurate or leaked content. Users are
encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
openapi.pathpointing to a URL failed to reconcile withfailed to read OpenAPI schema(kustomize-controller)HelmChartCRD description for.status.url, which pointed users atBucketStatus.Artifactinstead ofHelmChartStatus.Artifact(source-controller)ImageRepositoryCRD description for.status.observedExclusionList, which referred tospec.lastScanResultinstead ofstatus.lastScanResult(image-reflector-controller)ImageUpdateAutomationCRD description for.status.observedSourceRevision, which had a stray Go struct declaration leaking into it (image-automation-controller)Improvements:
Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.9.1...v2.9.2
v2.9.1Compare Source
Highlights
Flux v2.9.1 is a patch release. The main fix, applied across all controllers, disables Flux variable substitution on the Flux CRDs by annotating them with
kustomize.toolkit.fluxcd.io/substitute: disabled, so that Kustomizations with post-build substitution enabled no longer corrupt the CRD schemas when they contain${...}sequences. Users are encouraged to upgrade for the best experience.ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
${...}sequences (all controllers).inifile decryption (kustomize-controller)<resource> is invalid(kustomize-controller)Improvements:
Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.9.0...v2.9.1
v2.9.0Compare Source
Highlights
Flux v2.9.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.9 GA blog post.
Overview of the new features:
flux plugin)Kustomization)Kustomization)Kustomization)HelmRelease)helm --set-literal(HelmRelease)Kustomization,HelmRelease)GitRepository,ImageUpdateAutomation)GitRepository)OCIRepository)ArtifactGenerator)Receiver)❤️ Big thanks to all the Flux contributors that helped us with this release!
Kubernetes compatibility
This release is compatible with the following Kubernetes versions:
v1.34>= 1.34.1v1.35>= 1.35.0v1.36>= 1.36.0OpenShift 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
image.toolkit.fluxcd.io/v1beta2andnotification.toolkit.fluxcd.io/v1beta2have 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.9.
Components changelog
CLI changelog
--show-sourcetoflux get ksandflux get hrby @rafaelperoco in #5828flux create secret receivercommand by @stefanprodan in #5835--in-memory-buildtoflux build ksandflux diff ksby @rycli in #5794--ignore-not-foundtoflux diff ksby @rycli in #5845flux plugin installby @Iam-Karan-Suresh in #5872--ns-follows-kube-contextglobal flag for using the kubeconfig context namespace by @jtyr in #5831flux trigger receiverby @matheuscscp in #5908flux bootstrap gitby @taraspos in #5868flux build ksby @raffis in #5906ks.spec.postBuild.substituteStrategyby @matheuscscp in #5945type!=statusin get --status-selector by @3uzbcqje in #5952flux get all --status-selectorfor empty results and notification resources by @matheuscscp in #5954New Contributors
Full Changelog: fluxcd/flux2@v2.8.0...v2.9.0
v2.8.8Compare Source
Highlights
Flux v2.8.8 is a patch release that includes CVE fixes via go-git v5.19.1 (source-controller, image-automation-controller), reliability fixes in helm-controller and source-controller, the move of Helm back to upstream v4.2.0, support for GCP sovereign cloud artifact registries, and dependency updates. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
crds/directory (helm-controller)Improvements:
Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.7...v2.8.8
v2.8.7Compare Source
Highlights
Flux v2.8.7 is a patch release that includes a bug fix in kustomize-controller, a CVE fix in source-controller and image-automation-controller via go-git v5.19.0, and dependency updates. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
kustomize.toolkit.fluxcd.io/ssa: IfNotPresentwhere non-namespaced resources were being deleted and recreated on each reconciliation (kustomize-controller)Improvements:
Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.6...v2.8.7
v2.8.6Compare Source
Highlights
Flux v2.8.6 is a patch release that includes bug fixes and improvements across helm-controller, image-automation-controller, kustomize-controller, notification-controller, and source-controller. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
audiencefield on the GCR Receiver secret for tighter verification — will become mandatory in Flux v2.9 (notification-controller)Improvements:
MigrateAPIVersionfeature gate for migrating the API version of resources in managed field entries (kustomize-controller)Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.5...v2.8.6
v2.8.5Compare Source
Highlights
Flux v2.8.5 is a patch release that includes bug fixes and improvements across kustomize-controller, source-controller, and notification-controller. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
Improvements:
emailandaudiencefields to the GCR Receiver for tighter verification (notification-controller)Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.4...v2.8.5
v2.8.4Compare Source
Highlights
Flux v2.8.4 is a patch release that includes fixes for the Flux CLI. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
flux build ksandflux diff kson Windows--sourceflag validation increate kustomizationcommandCLI changelog
Full Changelog: fluxcd/flux2@v2.8.3...v2.8.4
v2.8.3Compare Source
Highlights
Flux v2.8.3 is a patch release that fixes a regression in helm-controller. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
---in the content, e.g. YAML separators, embedded scripts, CAs inside ConfigMaps (helm-controller)Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.2...v2.8.3
v2.8.2Compare Source
Highlights
Flux v2.8.2 is a patch release that comes with various fixes. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
---getting concatenated toapiVersion:by updating to Helm 4.1.3 (helm-controller)DefaultToRetryOnFailurethat improves the experience when theCancelHealthCheckOnNewRevisionis enabled (helm-controller)Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.1...v2.8.2
v2.8.1Compare Source
Highlights
Flux v2.8.1 is a patch release that comes with various fixes. Users are encouraged to upgrade for the best experience.
ℹ️ Please follow the Upgrade Procedure for Flux v2.7+ for a smooth upgrade from Flux v2.6 to the latest version.
Fixes:
Components changelog
CLI changelog
Full Changelog: fluxcd/flux2@v2.8.0...v2.8.1
v2.8.0Compare Source
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:
HelmRelease)HelmRelease).status.inventory(HelmRelease)CancelHealthCheckOnNewRevisionfeature gate (Kustomization,HelmRelease)Provider)Kustomization)GitRepository,ImageUpdateAutomation,Provider)OCIRepository)ArtifactGenerator)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:
v1.33>= 1.32.0v1.34>= 1.34.1v1.35>= 1.35.0OpenShift 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
v1beta2andv2beta2(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
CLI changelog
GITHUB_TOKENin therelease-flux-manifestsworkflow by @stefanprodan in #5547flux push artifactnot working with--providerby @matheuscscp in #5551flux migrateto work with local files by @matheuscscp in #5554flux migratefor live cluster migrations by @stefanprodan in #5558flux migrate -fcommand to work with comments by @matheuscscp in #5560flux migrate -fnot considering kind comments by @matheuscscp in #5563Kustomizationresource into unstructured map only once during variable substitution by @ramasai1 in #5566--storage-adv-addrand--events-addrflags by @stefanprodan in #5574flux get source externalby @dgunzy in #5555flux export source externalby @dgunzy in #5583flux migrate -fby @matheuscscp in #5713New Contributors
Full Changelog: fluxcd/flux2@v2.7.0...v2.8.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.