Migrate openbao-config-vars from a hand-made Secret to ESO #21

Open
opened 2026-11-11 19:20:30 +00:00 by ginjiruu · 0 comments
Owner

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/machine-configs#21
No description provided.