T8: k8s-apiserver OIDC flags (flux-clusters) — from lab/iac#11 #1522
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters#1522
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?
Parent
Spec: catalog-driven app bootstrapping and capability groups (
lab/iac#2) — ADR-0006 / ADR-0007.What to build
The RKE2 bootstrap kube-apiserver flags get
--oidc-issuer-urletc. so Kubernetes authenticates the capability-group identities (kubelogin helper). Lives in flux-clusters, parallel to the iac-repo sequence.Current state:
bootstrap/configs/think-0{1,2,3}.yamlkube-apiserver-argcarries only inflight/request-timeout flags. Kanidm issuer in use by Argo CD:https://auth.animeteamspeak.moe/oauth2/openid/argocd(clientIDargocd) — k8s needs its own client-id.Acceptance criteria
flux-clusters/bootstrap/configs/think-0{1,2,3}.yamlkube-apiserver-arggains OIDC flags (issuer, client-id, groups-claim, username-claim)Blocked by
None — can start immediately (flux-clusters ticket, parallel).
external issueto T8: k8s-apiserver OIDC flags (flux-clusters) — from lab/iac#11Work estimate
Size: M — ~1 day (focused agent work), plus cluster-roll verification.
--oidc-issuer-url,--oidc-client-id,--oidc-groups-claim,--oidc-username-claimtobootstrap/configs/think-0{1,2,3}.yamlkube-apiserver-arg(RKE2: issuerhttps://auth.animeteamspeak.moe/oauth2/openid/...— confirm the k8s OIDC client-id exists in Kanidm)kubeloginintegration)Not blocked — can start immediately. Main open question: whether the k8s OIDC client + secret already exist in Kanidm IaC or need provisioning first.
Cross-link: the edge-ingress research (flux-clusters #1527) and Cilium ClusterMesh implementation (#1528) affect the apiserver-connectivity story this ticket feeds.
Once ClusterMesh is up between portable and mini, the mini apiserver is reachable from the portable edge as a local Service via Global Services — so an agentgateway in portable can serve the
https://kube-mini.domainroute (TLS terminate + RFC 8693 exchange per lab/iac#38) without a dedicated mini-facing VIP or reverse tunnel.This ticket's OIDC apiserver flags are orthogonal but compose: kubelogin/humans hit the agentgateway-fronted apiserver, agentgateway does the per-request token exchange, and the apiserver validates against Kanidm via the OIDC flags added here.
Addded apiserver args to both mini and portable