Skip to content

Commit 57044fa

Browse files
committed
fix: small regression introduced when add demo warning to keycloak real export configuration
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
1 parent 2bf264a commit 57044fa

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

authbridge/demos/hr-cpex/k8s/10-keycloak.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
# inline a placeholder ConfigMap here — its data would race with the
1818
# file-driven one (whoever runs second wins) and Keycloak would fail
1919
# realm import on the placeholder content.
20+
#
21+
# DEMO ONLY: the passwords and client secrets in realm-export.json are
22+
# for local development. Do not use in production. (This note lives here,
23+
# not as a `_WARNING` key inside realm-export.json — Keycloak 26's
24+
# `--import-realm` rejects unknown top-level RealmRepresentation fields,
25+
# which crashes the import on a fresh-DB boot.)
2026

2127
apiVersion: v1
2228
kind: Service

authbridge/demos/hr-cpex/k8s/realm-export.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"_WARNING": "DEMO ONLY — passwords and client secrets in this file are for local development. Do not use in production.",
32
"realm": "cpex-demo",
43
"enabled": true,
54
"displayName": "CPEX Demo Realm",

0 commit comments

Comments
 (0)