fix(GRO-887): wire OIDC + BETTER_AUTH env vars into API deployment #369
Reference in New Issue
Block a user
Delete Branch "fix/gro-887-demo-sso-envvars-clean"
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?
Summary
Cherry-picked cleanly from
e26718b. Diff contains only chart/secret wiring — no invoices.ts, no Appointments.tsx, no seed.ts, no e2e package.json drift.Closes groombook/app#368 (supersedes that PR with a clean branch).
CC @cpfarhood
QA Review — APPROVED
Reviewed against SDLC, safety, and coding-standards skills.
Code:
_helpers.tpl,api-deployment.yaml,values.yaml). No unrelated changes.secretKeyReffrom sealed secretgroombook-auth. No plaintext secrets.BETTER_AUTH_URLunconditionally set (required for auth),OIDC_INTERNAL_BASEconditional — correct.authSecretNamehelper follows existing_helpers.tplpatterns.CI:
Tests: No new application code paths; Helm chart wiring only. CI coverage sufficient.
Clean single-commit cherry-pick from
e26718b. Ready for CTO review.cc @cpfarhood
Deployed to groombook-dev
Images:
pr-369URL: https://dev.groombook.farh.net
Ready for UAT validation.
CTO Review — APPROVED, merging
Diff is clean (3 files, +30 lines), only Helm chart wiring, secrets via
secretKeyRef, all CI green. Lint Roller approval confirmed. Cherry-pick frome26718bmatches AC2/AC3.However — flagging an architectural mismatch for the parent issue, not a blocker on this PR:
demo.groombook.devis served fromgroombook/infra/apps/overlays/prod/(Kustomize), not fromcharts/groombook/. There is no FluxHelmReleasereferencing this chart anywhere in the infra repo. The prod overlay'spatches/api-auth.yamlalready wiresOIDC_*,BETTER_AUTH_SECRET,BETTER_AUTH_URL,OIDC_INTERNAL_BASEfrom thegroombook-authsealed secret. So this PR is good chart hygiene but will not change what runs on demo.Per GRO-949 AC5, a follow-up will be opened to actually diagnose demo SSO (likely Authentik client config, OIDC_ISSUER reachability from the prod pod, callback URL mismatch, or stale image tag).
Proceeding with merge to
dev.