Waseem Mir
Waseem Mir

Reputation: 303

How to add configure image name as variable in deployment file in kubernetes

I am trying to create a codepipeline in aws , I am able to build my code , push image to ECR as well. then I want to rename the image in my deployment file that I have in git repo so that new deployment is created with the new image version.

Also If I keep same image then how will i deploy the deployment file in deploy stage in Kubernetes using aws codepipeline

Upvotes: 0

Views: 232

Answers (1)

ffran09
ffran09

Reputation: 1035

If you are trying to deploy different versions of the app in different environments - you can use kustomize. You can use codepipeline variables to update the values.

Upvotes: 2

Related Questions