internal-apps (Fix): vault issuer token audience = c1 PSA issuer - unblocks ClusterIssuer openbao-apps for real #1762

Merged
ginjiruu merged 1 commit from c1-issuer-audience into main 2026-11-20 21:07:21 +00:00
Owner

Follows #1760 (which fixed the http2 mountPath symptom; the issuer then surfaced the next layer: Code 403 permission denied from kubernetes-c1 login). Diagnosed with login differentials from inside the cluster: bogus role gives invalid role name, wrong SA binding gives service account name not authorized, the real pair gives permission denied; a projected token with the DEFAULT audience (https://kubernetes.default.svc) gets 401 Unauthorized from c1s API server itself, while the kubelet-automounted token authenticates. c1s PSA issuer/audience is https://kubernetes.default.svc.c1.caosh.int.animeteamspeak.moe (k3s derives it from the API host). cert-manager only gets an authenticated token if serviceAccountRef.audiences names it - exactly what minis issuer has always done with its own audience. AGENTS.md records both gotchas. Verified: kustomize build + server dry-run on c1.

Follows #1760 (which fixed the http2 mountPath symptom; the issuer then surfaced the next layer: Code 403 permission denied from kubernetes-c1 login). Diagnosed with login differentials from inside the cluster: bogus role gives invalid role name, wrong SA binding gives service account name not authorized, the real pair gives permission denied; a projected token with the DEFAULT audience (https://kubernetes.default.svc) gets 401 Unauthorized from c1s API server itself, while the kubelet-automounted token authenticates. c1s PSA issuer/audience is https://kubernetes.default.svc.c1.caosh.int.animeteamspeak.moe (k3s derives it from the API host). cert-manager only gets an authenticated token if serviceAccountRef.audiences names it - exactly what minis issuer has always done with its own audience. AGENTS.md records both gotchas. Verified: kustomize build + server dry-run on c1.
Sign in to join this conversation.
No description provided.