Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jul 19, 2024
1 parent 0c0aa4a commit c1d35af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/end2end/prepare-pra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export ZENKO_UI_INGRESS="ui.zenko-pra.local"
MONGODB_ROOT_USERNAME="${MONGODB_ROOT_USERNAME:-'root'}"
MONGODB_ROOT_PASSWORD="${MONGODB_ROOT_PASSWORD:-'rootpass'}"

kubectl exec -it data-db-mongodb-sharded-mongos-0 -- mongo "admin" \
kubectl exec -it data-db-mongodb-sharded-mongos-0 -- mongosh "admin" \
-u "root" \
-p "rootpass" \
--eval "db.createUser({user:$MONGODB_PRA_USERNAME,pwd:$MONGODB_PRA_PASSWORD,roles:[{role:'enableSharding',db:$MONGODB_PRA_DATABASE },{role:'readWrite',db:$MONGODB_PRA_DATABASE },{role:'read',db:'local'}]})"
Expand Down

0 comments on commit c1d35af

Please sign in to comment.