Migrate openbao-config-vars from a hand-made Secret to ESO #21
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/machine-configs#21
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?
Part of lab/machine-configs#7, follow-up to lab/iac#47 (filed from machine-configs because flux-clusters' secrets rule applies there).
openbao-config-vars (tofu-runner AppRole role_id/secret_id + Kanidm vault client secret) was created on mini with kubectl create secret on 2026-11-11, because ESO couldn't read from an OpenBao that tofu didn't manage yet. flux-clusters AGENTS.md: secrets never applied directly, they enter through ESO.
Now that openbao-config manages OpenBao, move it to an ExternalSecret. Watch for the loop: if ESO reads the runner's own credentials from OpenBao, a broken runner can't fix the store it depends on (ADR 0003 self-lockout reasoning). Decide which store ESO reads it from.
Done when: openbao-config-vars is owned by an ExternalSecret, the hand-made Secret is gone, the runner still reaches NoDrift.