turn on SSO
This commit is contained in:
@@ -50,13 +50,13 @@ spec:
|
||||
- secretRef:
|
||||
name: {{ include "it-cost-dashboard.fullname" . }}-server-secret
|
||||
# Readiness hits a DB-backed route on purpose: a pod only takes
|
||||
# traffic once MySQL is reachable AND the schema is right.
|
||||
# NOTE (SSO restore): /api/years will 307 to /login once the
|
||||
# middleware is back on, which is non-2xx — add a public /api/health
|
||||
# route and probe that instead.
|
||||
# traffic once MySQL is reachable. /api/health is allow-listed in
|
||||
# src/auth.config.ts, so the middleware lets it through unauthenticated
|
||||
# instead of 307-ing it to /login (which would be non-2xx and would
|
||||
# keep the pod permanently unready).
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/years
|
||||
path: /api/health
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user