Flux v2.9.1

v2.9.1
Changed 2
  • Cache the registry authorization token during Notation verification so it is fetched once per verification instead of once per request in source-controller
  • Update fluxcd/pkg dependencies
Fixed 4
  • Disable Flux variable substitution on all Flux CRDs by annotating them with kustomize.toolkit.fluxcd.io/substitute: disabled to prevent post-build substitution from corrupting CRD schemas that contain ${...} sequences
  • Update SOPS dependency to fix .ini file decryption in kustomize-controller
  • Fix a dry-run error where applying a resource with a strategic merge patch could fail with is invalid in kustomize-controller
  • Fix a breaking change in the in-memory Kustomization build in Flux CLI
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:

  • Disable Flux variable substitution on all Flux CRDs, preventing post-build substitution from corrupting CRD schemas that contain ${...} sequences (all controllers)
  • Update SOPS dependency to fix .ini file decryption (kustomize-controller)
  • Fix a dry-run error where applying a resource with a strategic merge patch could fail with <resource> is invalid (kustomize-controller)
  • Fix a breaking change in the in-memory Kustomization build (Flux CLI)

Improvements:

  • Cache the registry authorization token during Notation verification, so it is fetched once per verification instead of once per request (source-controller)
  • Update fluxcd/pkg dependencies
Components changelog
CLI changelog

Full Changelog: https://github.com/fluxcd/flux2/compare/v2.9.0...v2.9.1

View original

Upgraded? How did it go?

Discussion