How to check what values are consumed by a spring boot java application from the Linux command line or in the docker container?
I have a spring boot java application that has the below parameters for email
I'm passing GPASSWORD as an environment variable to the docker/k8s container.
How can I check what value/values are being consumed by the java application, especially spring.mail.password field.
I tried the below commands
But they list all environment variables being passed to all containers like the below environment variable.
So Is there a way to check what values are being consumed by the spring boot java application inside a pod or container?