Mongodb atlas vault rotation

Hello, i once made attempts to use rotated mongo db atlas for our kubernetes pods but it was a disaster because on a pod restart the db credentials doesnt get accessed or might have been rotated and the pods couldnt get it earlier and the pods wont start.

any help with this