Database creds rotation for app deployed in Kubernetes

Hi all, I am looking at below tutorial and I want to apply it my application that run in kubernetes.

But, the question that pop up in my brain is what will happen with the pods when the credential is expired, it mean the pods will failed to connect to DB.
Is there an elegant way to overcome this issue?

Thanks in advance

Hello @footprns were you able to find a solution? I stuck to the same problem, c# app cannot aware of creds’ change; the app wants to keep using expired creds.

Thanks