001 — R2: OIDC apiserver flags in kubeApiserverArg #1
Labels
No labels
needs-triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/machine-configs#1
Loading…
Add table
Add a link
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?
001 — R2: OIDC apiserver flags in kubeApiserverArg
Status: OPEN (unticketed — awaiting this repo's first commit + Forgejo remote)
Part of the hub architecture plan (flux-clusters / clusters#1532, decision D4). Implements
R2indocs/architecture-requirements.md.What to do
Add the Kanidm OIDC flags to every cluster's apiserver in this repo:
Not secrets — plain Nix. Put them in
clusters/<name>.nix(or a shared OIDC module, e.g.modules/oidc.nix) as cluster defaults, overridable per cluster. Note the existingclusters/think.nixonly sets identity/network; the rke2 baseline args live inmodules/rke2.nixdefaults.Acceptance criteria
kube-apiserver-argfor every clusterLinked
LOE estimate: 0.5–1 day
Smallest of the three tickets, and the only one with zero external dependencies.
Implementation sketch
--oidc-issuer-url,--oidc-client-id,--oidc-groups-claim,--oidc-username-claim) tokubeApiserverArg.modules/oidc.nixthat sets cluster-level defaults, overridable per cluster — mirrors how the existing baseline args live as option defaults inmodules/rke2.nix(kubeApiserverArgat rke2.nix:108) rather than inclusters/<name>.nix. Keepsclusters/think.nixidentity/network-only.modules/rke2.nixalready flattenscl.kubeApiserverArgintokube-apiserver-arg:inconfig.yaml(rke2.nix:29).Acceptance notes
Related small item
R3 (tls-san for the agentgateway-dialed address) is a ~0.25 day sibling but its value depends on the #1533 address decision, so it's worth parking until 002 is unblocked.
Recommendation: start now — it's independent and unblocks the OIDC portion of the plan.