ESO: restrict each ClusterSecretStore to a namespace list (spec.conditions) #1784
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters#1784
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every ExternalSecret and PushSecret on mini and c1 goes through a ClusterSecretStore, and none of the four stores sets
spec.conditions. Any namespace that can create an ExternalSecret can name any of these stores and copy whatever that store's OpenBao policy allows into its own namespace. On mini,vault-backendcovers every key ESO reads.This is the interim guard from lab/iac ADR-0012 (PR linked in a comment below). The lasting fix is per-app SecretStores (lab/iac#186); this issue only stops a new or compromised namespace from reading through a store it has no business with.
Current consumers on 2026-11-22
vault-backendopenbaoopenbao-infraopenbaoStore manifests:
clusters/mini/eso/{vault-backend,openbao,openbao-infra}.yaml,clusters/c1/external-secrets/store/clustersecretstore.yaml. ESO is v2.15.0 on both clusters.Change
spec.conditions[].namespacesto each store, with the namespaces above as its list. Use an explicit list rather than a selector or regex, so adding a namespace is a reviewed diff in the store file.vault-backendcutover moves consumers between stores, carry the list across.Done when
ADR: lab/iac#188