# Flux 2.10 Makes Short-Lived Identity a GitOps Control-Plane Requirement

- Link: https://thestackobserver.com/flux-2-10-makes-short-lived-identity-a-gitops-control-plane-requirement/
- Published: 2026-11-24T14:01:16-05:00
- Author: Stackxx

Flux 2.10 puts identity, rather than possession of a long-lived secret, at the center
of GitOps authentication. Its headline change is SPIFFE support across two distinct
trust paths: mutual TLS between Flux controllers and short-lived credentials that
individual Flux objects can present to registries, secret stores, and remote Kubernetes
clusters. For platform teams, that is more than a security feature. It changes how
the GitOps control plane should be designed, operated, and audited.

The practical thesis is straightforward: **Flux 2.10 gives teams the machinery to
shrink the credential blast radius of GitOps, but realizing that benefit requires
a staged identity migration rather than a routine controller upgrade**. Teams need
to map current trust paths, separate controller identity from object identity, prepare
RBAC changes, and measure authentication failures before removing static credentials.

## Why GitOps identity deserves control-plane treatment

A GitOps controller is unusually privileged. It reads desired state, fetches artifacts,
decrypts secrets, talks to cluster APIs, and continuously applies changes. If all
of those actions rely on shared credentials stored in Kubernetes Secrets, a stolen
token can remain useful well beyond the workload that originally needed it. Rotation
is possible, but it is often disruptive enough that teams defer it.

Short-lived identity changes the failure model. Instead of distributing a durable
credential, the platform establishes a workload identity and allows the workload
to request narrowly scoped, time-bound cryptographic material. The target system
validates the presented identity, its audience, and its lifetime. A copied credential
expires quickly, and the authorization policy can distinguish one tenant or Flux
object from another.

Flux 2.10 applies this model inside the GitOps control plane as well as at its external
edges. Controllers can authenticate to one another with SPIFFE X.509-SVIDs and mutual
TLS. Separately, a Flux object can use a ServiceAccount to obtain a JWT credential
through either the Kubernetes TokenRequest API or the new SPIFFE provider. Those
are related capabilities, but they solve different problems and should be planned
separately.

## Two identity layers, two migration tracks

### Controller-to-controller mutual TLS

Flux controllers exchange artifacts and events. In Flux 2.10, teams can protect 
those paths with X.509-SVIDs issued through a SPIFFE Workload API such as SPIRE.
The release allows each traffic type to be enabled independently, including artifact
fetching from source-controller and source-watcher, internal event delivery to notification-
controller, and external webhooks delivered to notification-controller.

This matters because network reachability is no longer treated as sufficient authorization.
A workload that can reach a controller Service must also present an authorized SPIFFE
identity. That gives platform operators a cryptographic control at a boundary that
has traditionally depended heavily on Kubernetes network policy and service-level
assumptions.

The incremental switches are useful. A team can protect artifact traffic first, 
observe it, and then move event delivery. That is safer than changing every internal
connection at once, especially on a large fleet where custom network policies, proxies,
or service meshes may affect the handshake.

### Identity for individual Flux objects

Flux calls its second layer _object identity_. The terminology is important. Workload
identity now refers to identities assigned to the Flux controllers. Object identity
refers to credentials associated with individual Flux resources through `.spec.serviceAccountName`.
In 2.10, object identity is generally available and the old `ObjectLevelWorkloadIdentity`
feature gate is retired.

Object identity can use the Kubernetes credential provider, backed by TokenRequest,
or the SPIFFE provider, which obtains a JWT-SVID through the SPIFFE Broker API. 
That lets a platform assign different trust to different tenants or resources without
cloning controllers. One OCIRepository may authenticate to a registry with its own
audience-bound JWT, while a Kustomization uses a separate identity for a secrets
service or remote cluster.

The operational payoff is least privilege at the object boundary. Compromise of 
one tenant’s Git source or ServiceAccount does not automatically grant the same 
external access as every other reconciled object. Audit records can also identify
the requesting object more precisely than records generated under a shared controller
credential.

## A rollout plan for platform teams

### 1. Inventory every credential path

Start with a trust map, not a manifest edit. Record which controllers and Flux objects
reach each Git host, OCI registry, KMS, SOPS backend, Vault or OpenBao endpoint,
notification provider, and remote Kubernetes API. For each path, capture the current
credential type, storage location, audience, permissions, rotation interval, and
owner.

Classify each connection as controller identity, object identity, or inter-controller
traffic. This prevents a common design error: replacing a shared static secret with
a shared controller identity when the real requirement is tenant isolation. It also
exposes destinations that cannot yet validate SPIFFE or Kubernetes-issued JWTs and
therefore need a different migration path.

### 2. Establish the SPIFFE trust domain before depending on it

Flux requires a configured SPIFFE Workload API for its SPIFFE capabilities. The 
controller first obtains its own X.509-SVID from that API; object credentials can
then be acquired through the broker path. Treat the SPIFFE deployment as production
control-plane infrastructure. Define trust domains, workload selectors, issuance
policy, rotation behavior, availability targets, and disaster recovery before making
reconciliation depend on it.

Test failure modes deliberately. What happens when the Workload API socket is unavailable?
How quickly do credentials expire? Do controllers recover automatically after issuance
resumes? Can operators distinguish an authorization denial from an issuer outage?
Those answers determine alert thresholds and rollback criteria.

### 3. Pilot one low-risk external integration

Choose an OCI registry or non-production secret store that already accepts JWT authentication.
Give a single Flux object a dedicated ServiceAccount, set the credential provider
annotation, specify the credential type and audience, and constrain the external
policy to that identity. Avoid starting with cluster-wide production reconciliation
or a shared root secrets role.

During the pilot, compare successful fetches, token issuance latency, denial rates,
and reconciliation duration with the previous path. Keep the old credential available
for a bounded rollback window, but do not allow the two methods to coexist indefinitely.
A migration that never removes the durable secret preserves the original attack 
surface.

### 4. Enable inter-controller mTLS one path at a time

Inventory the exact SPIFFE IDs each controller should authorize, then enable mutual
TLS for one traffic type. Confirm that authorized controllers can fetch artifacts
or deliver events and that an unauthorized test workload cannot. Review network 
policy too: identity-aware transport complements segmentation; it does not make 
broad network access desirable.

Watch certificate issuance, TLS handshake failures, controller error rates, and 
reconciliation queues. Only move to the next path after normal renewal has occurred
at least once. Renewal is the proof that the system works as a continuing identity
service rather than a one-time bootstrap.

### 5. Migrate tenants by risk tier

Group tenants by the sensitivity of their external permissions and the criticality
of their workloads. Move low-risk development namespaces first, then production 
readers, and finally identities that can decrypt or write. Bind external permissions
to narrow audiences and roles. Where possible, make each tenant’s ServiceAccount
and policy declarative in the same onboarding workflow.

Keep an exception register for integrations that still require static credentials.
Each exception should name an owner, scope, rotation schedule, and retirement condition.
Otherwise, the last unmanaged secrets tend to become permanent and least visible.

## Do not overlook the upgrade hazards

Flux 2.10 is not a zero-risk in-place update. The default Flux RBAC no longer grants
the `create` verb on the `serviceaccounts/token` resource. Installations that depend
on the Kubernetes credential provider for object identity must bind the documented
permission to the relevant controller ServiceAccounts before upgrading. Missing 
that step can convert an identity improvement into widespread authentication failures.

The release also changes the default image tag database from BadgerDB to Flux artifact
storage. Existing data is not migrated, so ImageRepositories perform a one-time 
registry rescan after the switch. Platform teams should account for the resulting
registry traffic and reconciliation load. They can temporarily retain the previous
backend with the documented feature gate while planning the transition.

Notification Alert and Provider APIs are now stable at `v1`, while `v1beta3` remains
served but deprecated. Conversion drops several deprecated fields, including the
old Alert summary field and some Provider settings. Flux provides `flux migrate`
for both live resources and checked-out manifests, but teams should still review
the resulting Git diff and test routing before merging it.

Finally, Flux 2.10 supports Kubernetes 1.35 through 1.37 and raises the minimum 
to 1.35. That compatibility boundary can be a larger blocker than any identity setting.
Verify cluster versions before treating the release as a security-only upgrade.

## What to measure after adoption

Identity migration should produce observable improvements, not just new annotations.
A useful operational scorecard includes:

 * **Static credential count:** the number of GitOps-related durable tokens or keys
   remaining by namespace and integration.
 * **Credential lifetime:** typical and maximum lifetime of issued JWT-SVIDs and
   X.509-SVIDs.
 * **Authentication failures:** denials grouped by identity, audience, destination,
   and reason.
 * **Issuance health:** Workload API availability, issuance latency, and renewal
   success.
 * **Blast radius:** the external actions available to each object or controller
   identity.
 * **Reconciliation impact:** queue depth and duration during issuer outages, policy
   changes, and registry rescans.

These measures also help distinguish security from reliability. Short-lived credentials
reduce exposure, but a poorly operated issuer can become a control-plane dependency
that delays every reconciliation. Platform teams must own both sides of that tradeoff.

## The architectural consequence

Flux 2.10 advances a broader shift in platform engineering: identity policy is becoming
part of the delivery substrate. Git repositories describe desired state, but the
reconciliation engine still needs a defensible answer to who may fetch, decrypt,
publish, and apply it. Shared controller credentials are increasingly too coarse
for multi-tenant platforms.

SPIFFE integration does not automatically deliver zero trust, and it will not eliminate
every Secret. It does, however, give Flux operators the primitives to authenticate
internal controller traffic and bind external access to shorter-lived, more specific
identities. The right next step is not to toggle every feature. It is to choose 
one trust path, instrument it, migrate it, and remove the credential it replaces.
Repeating that cycle is how Flux 2.10 becomes a measurable reduction in GitOps risk
rather than another unchecked capability in the control plane.

## Sources

 * [Flux: Announcing Flux 2.10 GA](https://fluxcd.io/blog/2026/10/flux-v2.10.0/)
 * [GitHub: Flux v2.10.0 release notes](https://github.com/fluxcd/flux2/releases/tag/v2.10.0)
 * [Flux documentation: Workload identity configuration](https://fluxcd.io/flux/installation/configuration/workload-identity/)
