Skip to content

Commit

Permalink
chore: fix seed-users with lowercase realm name
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Oct 28, 2024
1 parent fb273d4 commit 8a66357
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions local-dev/k3d-seed-data/seed-users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ function configure_user_passwords {
for i in ${LAGOON_DEMO_USERS[@]}
do
echo Configuring password for $i
/opt/keycloak/bin/kcadm.sh set-password --config $CONFIG_PATH --username $i -p $i --target-realm Lagoon
/opt/keycloak/bin/kcadm.sh set-password --config $CONFIG_PATH --username $i -p $i --target-realm lagoon
done

for i in ${LAGOON_DEMO_ORG_USERS[@]}
do
echo Configuring password for $i
/opt/keycloak/bin/kcadm.sh set-password --config $CONFIG_PATH --username $i -p $i --target-realm Lagoon
/opt/keycloak/bin/kcadm.sh set-password --config $CONFIG_PATH --username $i -p $i --target-realm lagoon
done
}

function configure_platformowner {
echo Configuring platform owner role
/opt/keycloak/bin/kcadm.sh add-roles --uusername [email protected] --rolename platform-owner --config $CONFIG_PATH --target-realm Lagoon
/opt/keycloak/bin/kcadm.sh add-roles --uusername [email protected] --rolename platform-owner --config $CONFIG_PATH --target-realm lagoon
}

function configure_platformviewer {
echo Configuring platform viewer role
/opt/keycloak/bin/kcadm.sh add-roles --uusername [email protected] --rolename platform-viewer --config $CONFIG_PATH --target-realm Lagoon
/opt/keycloak/bin/kcadm.sh add-roles --uusername [email protected] --rolename platform-viewer --config $CONFIG_PATH --target-realm lagoon
}

function configure_keycloak {
Expand Down

0 comments on commit 8a66357

Please sign in to comment.