Here are the steps that followed:
- There is version 1 of my application running which uses container image version 1.
- Then I do canary deployment using Flagger by setting the image to version 2 and the canary analysis starts.
- I introduce errors in my application and the canary deployment rollbacks to version 1 which is good so far.
- Now I want to redeploy version 2, this time just allow it to go through with no error injected.
- But when I set the container image to version 2, Flagger does not pick it up.
- As per documentation below is mentioned:
A canary analysis is triggered by changes in any of the following objects:
Deployment PodSpec (container image, command, ports, env, resources, etc)
ConfigMaps mounted as volumes or mapped to environment variables
Secrets mounted as volumes or mapped to environment variables
Here are the steps that followed:
A canary analysis is triggered by changes in any of the following objects:
Deployment PodSpec (container image, command, ports, env, resources, etc)
ConfigMaps mounted as volumes or mapped to environment variables
Secrets mounted as volumes or mapped to environment variables