vault: c1 host policies + scoped harbor-config runner AppRole #58
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!58
Loading…
Reference in a new issue
No description provided.
Delete branch "vault/c1-and-harbor-runner"
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.
hosts.tf: c1 membership
infra/data/k3s/c1, the full CA set minted byscripts/pki-cluster-ca.sh.infra/data/k3s/c1/join(token only) andinfra/data/harbor/node-pull./join.runners.tf: scoped runner AppRoles
approle-runners, kept separate from the bootstrapapprole, which can configure all of OpenBao.harbor-config(role_idharbor-config) can only create/update/readinfra/data/harbor/node-pull. SecretIDs and tokens are bound to mini's pod CIDR 10.44.0.0/16.cluster-node-pullrobot password, which machine-configscluster.registryMirrorrenders into/etc/rancher/k3s/registries.yaml.Plan expectation: adds 1 auth backend, 1 policy and 1 role, and updates 7 host policies in place. Nothing destroyed.
After apply, a SecretID for
harbor-configis minted by an admin and goes into a Secret for the harbor-config Terraform object (by hand until ESO, machine-configs#21).