Skip to content

Commit 068e086

Browse files
fix(keycloak): set hostname in replicas e2e test to prevent CORS 403s
Without an explicit hostname, Keycloak cannot determine the correct request origin in a multi-replica setup behind a Kubernetes Service, causing admin API requests to fail with HTTP 403. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1878382 commit 068e086

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

charts/keycloak/ci/e2e-values-replicas.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ database:
1515
secretName: keycloak-db-password
1616
secretKey: password
1717

18+
hostname: "keycloak-e2e.keycloak-e2e.svc.cluster.local"
19+
1820
cache:
1921
stack: kubernetes
2022

0 commit comments

Comments
 (0)