On-premise db connection with k8s deployment

I want to use on-premise DB to connect to my Kubernetes deployment
can anyone suggest to me how to do that, if you have done it before

Hello, @shanmukha
All you need is the DB URL and the username with a password. you can put them in the env file or using configmap and a secret then use them as an environment variables.