Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v2.2.0

Compare
Choose a tag to compare
Loading
@github-actionsgithub-actions released this 12 Dec 15:47
· 436 commits to main since this release
v2.2.0
This tag was signed with the committer’sverified signature.
stefanprodan Stefan Prodan
GPG key ID:3299AEB0E4085BAF
Verified
Learn about vigilant mode.
53ad742
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Highlights

Flux v2.2.0 is a feature release. Users are encouraged to upgrade for the best experience.

The Flux CLI and controllers have been updated to Kustomize v5.3.0 and Kubernetes v1.28.4.

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, and it introduces the ability to enable drift detection on a per-object basis. For more details on the helm-controller improvements, please see theAnnouncing Flux 2.2 GA blog post.

The Flux CLI can now be used to force or reset the reconciliation state of aHelmRelease v2beta2 object usingflux reconcile hr --force andflux reconcile hr --reset.

Flux CLI comes with support for bootstrappingGitea repositories and adds guardrails toflux install andflux bootstrap to protect users from destructive operations. Theflux version andflux check commands now print the Flux distribution version deployed on the cluster.

The Flux alerting capabilities have been extended withNATS andBitbucket Server & Data Center support.

Starting with this release, Flux minor versions are benchmark to measure the Mean Time To Production (MTTP). The results for this version can be found at
github.com/fluxcd/flux-benchmark.

❤️ 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 versionMinimum required
v1.26>= 1.26.0
v1.27>= 1.27.1
v1.28>= 1.28.0

Note that Flux may work on older versions of Kubernetes e.g. 1.25, but we don't recommend running end-of-life versions in production nor do we offer support for these versions.

API changes

HelmRelease v2beta2

TheHelmRelease kind was promoted from v2beta1 to v2beta2.

The v2beta2 API is backwards compatible with v2beta1, the v2beta1 API is deprecated and will be removed in a future release.

Deprecated fields:

  • The.patchesStrategicMerge and.patchesJson6902 Kustomize post-rendering fields have been deprecated in favor of.patches.
  • The.status.lastAppliedRevision and.status.lastReleaseRevision fields have been deprecated in favor of.status.history.
  • The.status.lastAttemptedValuesChecksum has been deprecated in favor of.status.lastAttemptedConfigDigest.

New fields:

  • Drift detection and correction is now enabled on a per-release basis using the.spec.driftDetection.mode field.
  • Ignoring specific fields during drift detection and correction is now supported using the.spec.driftDetection.ignore
  • Helm tests can now be selectively run using the.spec.test.filters field.
  • A history of metadata from Helm releases up to the previous successful release is now available in the.status.history field. This includes any Helm test results when enabled.
  • The.status.lastHandledForceAt and.status.lastHandledResetAt fields have been introduced to track the last time a force upgrade or reset was handled.

Alert and Provider v1beta3

TheAlert andProvider kinds were promoted from v1beta2 to v1beta3.

The v1beta3 API is backwards compatible with v1beta2, the.status field was removed making the resources static objects. Any errors encountered while sending notifications are now recorded as Kubernetes Events associated with the Alert objects.

Bucket v1beta2

A new field,.spec.prefix, has been added to theBucket API, which enables server-side filtering of files if the object's.spec.provider is set togeneric,aws orgcp.

OCIRepository and HelmChart v1beta2

Two new fields,.spec.verify.matchOIDCIdentity.issuer and.spec.verify.matchOIDCIdentity.subject have been added to theHelmChart andOCIRepository APIs. If the image has been keylessly signed via Cosign, these fields can be used to verify the OIDC issuer of the Fulcio certificate and the
OIDC identity's subject respectively.

HelmRepository and ImageRepository v1beta2

A new boolean field,.spec.insecure, has been introduced to the
HelmRepository andImageRepository APIs, which allows connecting to a non-TLS HTTP container registry. For HelmRepositories it is only considered if the object's.spec.type is set tooci.

From this release onwards, HelmRepository objects of type OCI are treated as static objects, i.e. they have an empty status.

Upgrade procedure

Upgrade Flux fromv2.x tov2.2.0 either byrerunning bootstrap or by using theFlux GitHub Action.

To upgrade the APIs, make sure the new CRDs and controllers are deployed, and then change the manifests in Git:

  1. SetapiVersion: helm.toolkit.fluxcd.io/v2beta2 in the YAML files that containHelmRelease definitions.
  2. SetapiVersion: notification.toolkit.fluxcd.io/v1beta3 in the YAML files that containAlert andProvider definitions.
  3. Commit, push and reconcile the API version changes.

Bumping the APIs version in manifests can be done gradually. It is advised to not delay this procedure as the deprecated versions will be removed after 6 months.

New Documentation

Components changelog

CLI Changelog

Contributors

  • @Skarlso
  • @Jaykul
  • @errordeveloper
  • @makkes
  • @darkowlzz
  • @matheuscscp
  • @stefanprodan
  • @VinGarcia
  • @sonbui00
  • @mclarke47
  • @hiddeco
  • @chewong
  • @souleb
  • @Azhovan
  • @somtochiama
  • @fluxcdbot
Skarlso, Jaykul, and 14 other contributors
Assets19
Loading
yuchang01, hiddeco, mlow, qlimenoque, nianniansg, mavogel, sebbrandt87, patsevanton, ShadowUser17, and pyhp2017 reacted with thumbs up emojiyuchang01, hiddeco, ThomasKat, mlow, vperaltac, qlimenoque, AlexandreMaldeme, heubeck, sebbrandt87, spencerrung, and 4 more reacted with hooray emojiyuchang01, hiddeco, mlow, dschniepp, kodek, sebbrandt87, patsevanton, svengreb, webwurst, cablespaghetti, and czhujer reacted with heart emojihiddeco, ThomasKat, mlow, sebbrandt87, spencerrung, patsevanton, svengreb, Xitric, and cablespaghetti reacted with rocket emojieabykov and patsevanton reacted with eyes emoji
24 people reacted

[8]ページ先頭

©2009-2025 Movatter.jp