You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6. Check ebs-csi-driver is running in kube-system namespace
kubectl get pods -n kube-system
7. Apply Configs Sequentially
8. Wait for DB to Setup
watch kubectl get all
9. Exec into Primary DB ( find it if you can't )
kubectl exec -it mongodb-0 -- mongosh
10. Add new user to erp db
use admin # Change DB to admin
db.auth('<your-username-from-mongodb.yaml>', '<your-password-from-mongodb.yaml>') # auth
use erp # Change DB to erp
db.createUser({ user: "<new-user>", pwd: "<new-pass>", roles: ["readWrite", "dbAdmin"] }) # Create user in erp db
db.testcol.insertOne({}) # Dummy Insert on erpexit