snappy-k3s-traefik: move the snappy Traefik dashboard's OIDC client onto kanidm-operator #61
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?
Problem
The snappy cluster's Traefik dashboard is behind oauth2-proxy (
argo/snappy/traefik-dashboard/), which uses the hand-made Kanidm clientsnappy-k3s-traefik. The client secret reaches snappy throughOnePasswordItem traefik-dashboard-client-secret(1Password itemsnappy-k3s-traefik, keysusername/password).Live state
7dce9aa0-f549-4ad1-8c47-d2556737b34dTraefik @ snappyhttps://auth.traefik.gw4-apsy1a1.tamatekapua.com/oauth2/callback,https://dashboard.traefik.gw4-apsy1a1.tamatekapua.com/oauth2/callback,https://auth.traefik.snappy.tamatekapua.com/oauth2/callbackhttps://dashboard.traefik.gw4-apsy1a1.tamatekapua.com/dashboard/snappy_k3s_traefik→ email, openid (matches oauth2-proxy's--scope=openid email)snappy_k3s_traefike944aa81-76b6-408f-b173-fd41fa410faf, members: sophieProposed
The operator writes Secrets on scout only, so the usual "repoint the app at the operator's Secret" step is not available. Two options:
OnePasswordItemon snappy. Adoption keeps the basic secret, so nothing changes for oauth2-proxy. A futurereset-secretswould need the 1Password item updated by hand, exactly as today. Cheap, and all three redirect URLs end up in git.Recommend 1. Keep
--redirect-urlin oauth2-proxy.yaml and the three origins in sync by hand (a redirect URL missing from the CR is removed from Kanidm on adoption, so copy all three).Where the CRs would live
None of these clients has a workload on scout, so there is no app directory to put the CRs in. Proposal: one new Application
scout-kanidm-clients→argo/scout/kanidm-clients/, namespacekanidm-clients, one<client>.yamlper client, for every Kanidm client whose consumer is off-cluster or not in git. Same for the other issues in this set. Say if you'd rather have a different home.Procedure
.claude/skills/kanidm-migrate-app/SKILL.md(capture first, PR, verify adoption:Adoptedevents only, plusDescriptionUpdatedif a description is set). Live state below was captured on 2026-11-08 withcapture.sh.