Skip to content

Commit 7466cb7

Browse files
authored
fix: update default keycloak base URL (#428)
* refactor(chart): rename frontend ConfigMap and add config.json key - Rename configmap-caddy.yaml to configmap.yaml (generic frontend ConfigMap) - Update helper from *-frontend-caddy to *-frontend - Add showcase.frontend.config (YAML) rendered as config.json in ConfigMap - Mount config.json to /srv{baseRoute}/config.json in frontend deployment - Rename volume from 'caddyfile' to 'frontend-config' Signed-off-by: Emiliano Suñé <2395873+esune@users.noreply.github.com> * feat(chart): add server ConfigMap with keycloak.json - Add showcase.server.keycloak values (YAML → JSON) - Create server/configmap.yaml template with keycloak.json key - Mount keycloak.json to /app/server/config/keycloak.json in server deployment - Add showcase.server.configmapName helper Signed-off-by: Emiliano Suñé <2395873+esune@users.noreply.github.com> * fix(chart): values file formatting Signed-off-by: Emiliano Suñé <2395873+esune@users.noreply.github.com> * fix(chart): add /auth context path to keycloakUrl for BC Gov SSO proxy --------- Signed-off-by: Emiliano Suñé <2395873+esune@users.noreply.github.com>
1 parent 36a067a commit 7466cb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

charts/showcase/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ showcase:
122122
## Keycloak config injected as /app/server/config/keycloak.json via ConfigMap.
123123
## Specify as YAML here; the chart converts it to JSON automatically.
124124
keycloak:
125-
keycloakUrl: 'https://dev.loginproxy.gov.bc.ca'
125+
keycloakUrl: 'https://dev.loginproxy.gov.bc.ca/auth'
126126
keycloakRealm: digitaltrust-citz
127127
## Non-sensitive runtime env vars for the server Deployment.
128128
## Use existingSecret for sensitive credentials and MONGODB_URI.
@@ -144,7 +144,7 @@ showcase:
144144
## Runtime config injected as /srv{baseRoute}/config.json via ConfigMap.
145145
## Specify as YAML here; the chart converts it to JSON automatically.
146146
config:
147-
keycloakUrl: 'https://dev.loginproxy.gov.bc.ca'
147+
keycloakUrl: 'https://dev.loginproxy.gov.bc.ca/auth'
148148
keycloakRealm: digitaltrust-citz
149149
keycloakClientId: showcase-admin
150150
## Caddy Content-Security-Policy header. Default is permissive for Vite/React + API/WS; tighten for production.

0 commit comments

Comments
 (0)