How to use environment variables with Kubernetes. With and without using secrets when you are deploying pods
What are we using environment variables for and when it makes sense to use secrets for environment variables in Kubernetes? And why not commit my .env file directly into my project?
I will explain why you should use environment variables in Kubernetes and not use the .env file directly into your container image and how you can…