mini -> c2.caosh: carry over the API server auth config, public issuer, TODO(dns-c2) addresses #33
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/machine-configs#33
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?
Goal: when mini is rebuilt as c2.caosh (ADR-0005), its configuration lives in machine-configs and carries these changes.
Mini runs RKE2 1.37 on Arch, configured by hand in
/etc/rancher/rke2/config.yaml. Nothing in Git describes it today.Changed on mini-01 on 2026-11-15 (by hand, recorded here)
kube-apiserver-arg: the five--oidc-*flags (Kanidm, clientminicluster) were replaced by--authentication-config=/etc/rancher/rke2/authentication-config.yaml.<issuer>#) and groups claim as before. Logins keep the same usernames./.well-known/openid-configurationand/openid/v1/jwks. Everything else stays 401.kube-apiserver-extra-mountfor that file. RKE2 mounts it itself, and a second mount makes the API server pod invalid ("mountPath must be unique")./etc/rancher/rke2/config.yaml.bak-20261115.Planned for c2: public static issuer (approved, deferred)
Give c2 a public ServiceAccount issuer,
oidc.c2.animeteamspeak.moe, using--service-account-issuerand--service-account-jwks-uri. Serve the two documents statically. Then the API server needs no anonymous access, and the anonymous condition above can go.Every consumer of the issuer changes with it:
kubernetes-mini(bound_issuer,vault/mini-sa-jwks.pem)Addresses to switch when mini becomes c2
Search all repos for
TODO(dns-c2).iss)