Unable to execute the mongo-express example
Hi,
I tried to execute the example shared in file "https://gitlab.com/nanuchi/youtube-tutorial-series/-/blob/master/configmap-and-secret-volumes/mongodb-config-components.yaml". Even tried to execute the same file but as I can check my express server is not able to connect to DB.
I did some workaround to check if there is some other issue in env variable. i made changes in ConfigMap file and instead of mongodb-service, i gave pod's ip address and it started to work.
So, I think my app is not connecting to URL as its not able to get actual DB url from configmap.
Could you please help me out if I am doing something wrong?
Please let me know in case you need anything from my side.
Thanks in advance !!!