harbor: publish node-pull robot password to OpenBao #59
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/iac!59
Loading…
Reference in a new issue
No description provided.
Delete branch "harbor/publish-node-pull"
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?
For lab/machine-configs#11 / #14.
Writes the
cluster-node-pullrobot's username and password to OpenBao KVinfra/harbor/node-pullon every apply. machine-configscluster.registryMirrorhas each c1 node's OpenBao agent render/etc/rancher/k3s/registries.yamlfrom that path. This ports the pull-through file verified on the old RKE2 thinks (flux-clustersbootstrap/configs/registries.yaml.j2), whose password used to come from the old Vault KVsecret/harbor-node-pull, which never made it into OpenBao.approle-runners/harbor-config(#58), which can write only that path.random_password.node_pull.Merge order: only after the Secret
harbor-config-openbao(keyopenbao_secret_id) exists in mini'sflux-systemand the flux-clusters change givesharbor-configthe runner env (VAULT_ADDR, the lab root CA) and that Secret invarsFrom. Before that, plans fail at provider login.