Adding policy manager and a1 sdnc vth
[it/otf.git] / otf-helm / otf / charts / databases / charts / mongodb / scripts / init_db.sh
diff --git a/otf-helm/otf/charts/databases/charts/mongodb/scripts/init_db.sh b/otf-helm/otf/charts/databases/charts/mongodb/scripts/init_db.sh
new file mode 100644 (file)
index 0000000..a3ebcde
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash\r
+\r
+sleep 10;\r
+mongoimport -c=users -d=otf --mode=upsert --username=otfuser --password=Today.123 --file=/data/scripts/users.json\r
+mongoimport -c=users -d=otf --mode=upsert --username=otfuser --password=Today.123 --file=/data/scripts/groups.json\r