Mongodb secret password change not applied in Kubernetes

Viewed 22

After I changed the MongoDB secret password in Kubernetes I couldn't connect to the MongoDB database then I do some of the below tasks but nothing of them resolved my problem ...

  1. rollout restart & scale down all services that use this secret to connect MongoDB
  2. rollout restart & scale down MongoDB statefulset
  3. Manually changed the admin password of MongoDB ...
{"context": "MongooseModule", "level": "error", "message":"Unable to connect to the database. Retrying (2)...", "stack": [""], "timestamp":"2022-09-17T08:2 1:49.4372"}
0 Answers
Related