RATATOSK
← All releases

Fluxv2.10.1

Security 1Breaking changes 1Important fixes 11Enhancements 1Dependency updates 7Other changes 3

Get Flux alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Check before upgrading

Upgrade guide1
Flux v2.7+ upgrade procedure for deprecated beta API transitions
ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](https://github.com/fluxcd/flux2/discussions/5572) for a smooth upgrade from Flux v2.6 to the latest version.
github.com/fluxcd/flux2/releases/tag/v2.10.1

Security1

[release/v2.10.x] Strip credentials from the push artifact source URL by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6179

AffectsNot stated in the release notes
Show release-note lines
* [release/v2.10.x] Strip credentials from the push artifact source URL by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6179
github.com/fluxcd/flux2/releases/tag/v2.10.1

Breaking changes1

Git HTTP/S basic-auth validation rejects partial credentials

AffectsGit secret generation, source creation, and bootstrap using HTTP/S basic authentication(Inferred)

Partial username/password inputs now return an error instead of generating a Git secret or source manifest. Token authentication can use a non-empty username with a password, SSH passwords are not covered by this check, and source creation through --secret-ref is not validated by the source-creation check.

Evidence“for Git over HTTP/S, basic authentication requires both a username and a password; for token-based authentication, use the token as the password with any non-empty username” fluxcd/flux2/pull/6185 ↗
Show release-note lines
* [release/v2.10.x] Reject partial basic auth in secret commands by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6185
github.com/fluxcd/flux2/releases/tag/v2.10.1

Important fixes11

  • kustomize-controller deletes reconcile-duration metric series
    Affectssetups collecting reconcile-duration metrics for objects that may no longer exist(Inferred)

    A series is deleted when its object no longer exists.

    - Delete the reconcile duration metric series for objects that no longer exist (kustomize-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Bootstrap --team permission parsing fixed
    AffectsBootstrap --team entries in team:permission form(Inferred)

    Previously, parsing also added the full team:permission string with the default permission. It now maps only the team name to the specified permission; entries without an explicit permission still receive the default.

    * [release/v2.10.x] Fix --team parsing in bootstrap commands by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6213
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • ServiceAccount credential cache updates on annotation changes
    AffectsServiceAccounts with either credential.auth.fluxcd.io/username or gcp.auth.fluxcd.io/workload-identity-provider annotations in helm-controller, kustomize-controller, source-controller, notification-controller, image-reflector-controller, or image-automation-controller

    Before this fix, changing either annotation left the previously cached authenticator in use until it expired or the controller restarted. The new credential username or GCP workload identity provider is used on the next reconcile.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Fix the credentials cache key so changes to the credential username or the GCP workload identity provider take effect on the next reconcile (helm-controller, kustomize-controller, source-controller, notification-controller, image-reflector-controller, image-automation-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • source-controller registry authentication restored
    Affectsregistries authenticated by source-controller

    Authentication failed when a registry’s token service ran on a private address or its authentication flow used a same-host HTTP-to-HTTPS redirect. Both cases now work with ORAS v2.7.0.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Restore authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0 (source-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Relative symlink target deletion fixed in source-controller Git checkouts
    Affectssource-controller Git checkouts

    When the checked-out revision removed a relative symlink, the checkout deleted the symlink’s target. That target is no longer deleted in this situation.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Fix Git checkouts deleting the target of a relative symlink when the checked-out revision removes the symlink (source-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Stuck image-automation-controller Git checkouts fixed
    Affectsimage-automation-controller Git checkouts

    A checkout could get permanently stuck when the push branch removed a file targeted by relative symlinks.

    Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
    - Fix Git checkouts getting stuck when the push branch removes a file that relative symlinks point to (image-automation-controller)
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Chunked custom resource listing in flux migrate
    Affectscustom-resource migrations run with flux migrate

    Previously, flux migrate listed all custom resources for a CRD in one request before processing them. It now processes paginated list responses rather than loading the full list at once.

    * [release/v2.10.x] Paginate resource listing in flux migrate by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6196
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Expired continuation-token retries in flux migrate
    Affectscustom-resource migrations run with flux migrate(Inferred)

    When a continuation token expired during a paginated listing, the chunked migration returned the list error instead of restarting. Now, if expiration happens after some objects have been patched, migration restarts from the first page and skips those objects; if it happens before any progress, migration still returns an error.

    * [release/v2.10.x] Prevent infinite loop on flux migrate by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6205
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Artifact copy permissions fixed for read-only symlink targets
    Affectsartifact builds that resolve symlinks

    When a symlink resolved to a read-only directory, the copied directory could remain unwritable and prevent the copy workflow from completing. Copies now retain the source permission bits and add owner read, write, and execute permissions, allowing them to be written and removed.

    * [release/v2.10.x] Fix resolve-symlinks for read-only directories by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6207
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • Kustomization file stat-error panic fixed
    Affectskustomization-file paths supplied to flux build kustomization or flux diff kustomization(Inferred)

    When either command received a kustomization-file path that caused os.Stat to return an error, it could panic because file information was unavailable. It now reports an invalid kustomization file error instead.

    * [release/v2.10.x] Fix panic on unreadable kustomization file by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6208
    github.com/fluxcd/flux2/releases/tag/v2.10.1
  • flux tree kustomization short-payload panic fixed
    AffectsHelm release storage inspected with flux tree kustomization(Inferred)

    When a base64-decoded Helm release payload was shorter than the three-byte gzip header, the unchecked slice could panic. The command now avoids that panic; non-gzip data is still treated as uncompressed JSON, and invalid payloads can still return a decoding error.

    * [release/v2.10.x] Fix panic decoding short Helm release storage in tree by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6211
    github.com/fluxcd/flux2/releases/tag/v2.10.1

Enhancements1

Dependency updates7

    7 more, none mentioning security
    • - source-controller [v1.10.2](https://github.com/fluxcd/source-controller/blob/v1.10.2/CHANGELOG.md)
    • - kustomize-controller [v1.10.2](https://github.com/fluxcd/kustomize-controller/blob/v1.10.2/CHANGELOG.md)
    • - notification-controller [v1.10.1](https://github.com/fluxcd/notification-controller/blob/v1.10.1/CHANGELOG.md)
    • - helm-controller [v1.7.2](https://github.com/fluxcd/helm-controller/blob/v1.7.2/CHANGELOG.md)
    • - image-reflector-controller [v1.3.1](https://github.com/fluxcd/image-reflector-controller/blob/v1.3.1/CHANGELOG.md)
    • - image-automation-controller [v1.3.1](https://github.com/fluxcd/image-automation-controller/blob/v1.3.1/CHANGELOG.md)
    • * [release/v2.10.x] Update toolkit components by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6210
    Other changes3
    • Lazy default decryption ServiceAccount resolution in kustomize-controller
      Flux v2.10.1 is a patch release that fixes credential caching across the controllers, so changes to the `credential.auth.fluxcd.io/username` and `gcp.auth.fluxcd.io/workload-identity-provider` ServiceAccount annotations take effect on the next reconcile instead of continuing to use the previously cached authenticator until it expires or the controller restarts. It also resolves the default decryption ServiceAccount lazily for Kustomizations that only use Age or PGP keys, restores authentication to registries whose token service runs on a private address and after same-host HTTP to HTTPS redirects by updating ORAS to v2.7.0, and fixes Git checkouts that deleted the target of a relative symlink or got permanently stuck when the push branch removed a file that relative symlinks point to. Users are encouraged to upgrade for the best experience.
      - Resolve the default decryption ServiceAccount lazily, only when a cloud KMS or Vault backend is used (kustomize-controller)
      github.com/fluxcd/flux2/releases/tag/v2.10.1
    • Default ServiceAccount resolution fixed in source-controller, image-reflector-controller, and image-automation-controller
      - Fix resolving the default ServiceAccount for providers that don't use one (source-controller, image-reflector-controller, image-automation-controller)
      github.com/fluxcd/flux2/releases/tag/v2.10.1
    • Leftover object-level workload identity log message removed from Flux controllers
      - Remove leftover object-level workload identity log message (helm-controller, kustomize-controller, source-controller, notification-controller, image-reflector-controller, image-automation-controller)
      github.com/fluxcd/flux2/releases/tag/v2.10.1

    Summaries are produced by AI, so they can be wrong, and they are provided without warranty.