The Stack Overflow podcast is back! Listen to an interview with our new CEO.
3 of 3 Copy edited (e.g. ref. <>, <>, <>, <>, and <>).

Change variable inside of project. Jenkins, docker, kubernetes

Because I am new in the DevOps, I don't know where I need to apply the changes to correctly run the project.

The structure:

Git → Jenkins → Docker build -> Kubernetes (deploy)

Is it better to make the change of variables in the project, (example: password, database connection, etc.) to Jenkins, Kubernetes, or Docker?


With docker-compose I use an environment variable to change the variable inside my code.


I want to change this variable and run correctly in the production environment.

I don't know where it is the best to change the variable, Jenkins, Kubernetes with Ansible, etc.