Skip to content

Commit 7ced641

Browse files
fix: mongoimport codefresh-inc account for dev chart
1 parent 91cdaa0 commit 7ced641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/codefresh/files/mongoSeedJobScript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ mongosh ${MONGODB_ROOT_URI} ${MONGO_URI_EXTRA_PARAMS} --eval "db.getSiblingDB(\"
125125
mongosh ${MONGODB_ROOT_URI} ${MONGO_URI_EXTRA_PARAMS} --eval "db.getSiblingDB(\"codefresh\").changeUserPassword(\"${MONGODB_USER}\",\"${MONGODB_PASSWORD}\")" 2>&1 || true
126126

127127
if [[ $DEVELOPMENT_CHART == "true" ]]; then
128-
mongoimport --uri ${MONGO_URI} ${MONGOIMPORT_EXTRA_PARAMS} --collection idps --type json --legacy --file ${ASSETS_PATH}accounts-dev.json
128+
mongoimport --uri ${MONGO_URI} ${MONGOIMPORT_EXTRA_PARAMS} --collection accounts --type json --legacy --file ${ASSETS_PATH}accounts-dev.json
129129
setSystemAdmin
130130
setPacks
131131
fi

0 commit comments

Comments
 (0)