Keycloak realm and users Bootstrapping for EF-CX
Custom bootstrapping
copy the real-export.json file into the keycloak pod
CODEkubectl -n ef-external cp realm-export.json keycloak-0:/tmp/realm-export.json
Download the keycloak-bs.sh script and copy it inside the keycloak pod as well.
CODEkubectl -n ef-external cp keycloak-bs.sh keycloak-0:/tmp/keycloak-bs.sh
execute the script inside the keycloak pod to create realm and assign users to it.
CODEkubectl -n ef-external exec -ti keycloak-0 -- sh /tmp/keycloak-bs.sh
The realm expertflow must not exist previously for this script to work properly.