Skip to content

Commit 038fe93

Browse files
fix(local): align keycloak realm import names (#54)
Signed-off-by: Frank Spitulski <fspitulski@nvidia.com>
1 parent 3190e00 commit 038fe93

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

auth-callout/devspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ deployments:
189189
name: keycloak-realm-import
190190
namespace: keycloak
191191
data:
192-
realm-csc.json: |
192+
realm-auth-callout.json: |
193193
{
194194
"id": "auth-callout",
195195
"realm": "auth-callout",

local/infra/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,8 @@ kubectl get pods -n keycloak --context kind-csc
486486
# Check logs
487487
kubectl logs -n keycloak -l app.kubernetes.io/name=keycloak --context kind-csc
488488

489-
# Check realm import ConfigMap
489+
# Check realm import ConfigMap. The import key is realm-event-bus.json and the
490+
# Keycloak realm inside that file is event-bus.
490491
kubectl get configmap keycloak-realm-import -n keycloak --context kind-csc -o yaml
491492

492493
# Test token endpoint via external IP using client credentials

local/infra/scripts/setup-keycloak.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,11 @@ deploy_to_cluster() {
6161
echo "Deploying Keycloak Operator to CSC cluster..."
6262

6363
if kind get clusters | grep -q "^csc$"; then
64-
deploy_to_cluster "csc" "${PROJECT_ROOT}/infra/keycloak/realm-csc.json"
64+
deploy_to_cluster "csc" "${PROJECT_ROOT}/infra/keycloak/realm-event-bus.json"
6565
else
6666
echo "ERROR: CSC cluster not found"
6767
exit 1
6868
fi
6969

7070
echo "Keycloak Operator deployment complete on CSC cluster"
7171
echo "All clusters will use Keycloak at http://172.18.200.1"
72-

0 commit comments

Comments
 (0)