# Flux v2.10.1

2026-11-20 · [Original release notes](https://github.com/fluxcd/flux2/releases/tag/v2.10.1) · [Full summary](https://ratatosk.io/en/releases/flux/v2.10.1)

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

## Check before upgrading

### Upgrade guide

- **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.

## Security (1)

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

- Affects: Not stated in the release notes

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

## Breaking changes (1)

### Git HTTP/S basic-auth validation rejects partial credentials

- Affects: Git 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” https://github.com/fluxcd/flux2/pull/6185

> * [release/v2.10.x] Reject partial basic auth in secret commands by @fluxcdbot in https://github.com/fluxcd/flux2/pull/6185

## Important fixes (11)

### kustomize-controller deletes reconcile-duration metric series

- Affects: setups 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)

### Bootstrap `--team` permission parsing fixed

- Affects: Bootstrap `--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

### ServiceAccount credential cache updates on annotation changes

- Affects: ServiceAccounts 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)

### source-controller registry authentication restored

- Affects: registries 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)

### Relative symlink target deletion fixed in source-controller Git checkouts

- Affects: source-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)

### Stuck image-automation-controller Git checkouts fixed

- Affects: image-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)

### Chunked custom resource listing in `flux migrate`

- Affects: custom-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

### Expired continuation-token retries in `flux migrate`

- Affects: custom-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

### Artifact copy permissions fixed for read-only symlink targets

- Affects: artifact 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

### Kustomization file stat-error panic fixed

- Affects: kustomization-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

### `flux tree kustomization` short-payload panic fixed

- Affects: Helm 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

## Enhancements (1)

- `--registry-creds` accepts passwords containing colons

## Dependency updates (7)

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 changes (3)

- Lazy default decryption ServiceAccount resolution in kustomize-controller
- Default ServiceAccount resolution fixed in source-controller, image-reflector-controller, and image-automation-controller
- Leftover object-level workload identity log message removed from Flux controllers

---

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