Rancher Pipeline - Upgrade Workload

I am trying to set up a CI pipeline using Rancher Pipelines. Everything goes fine until the point where the new version of the workload should be deployed. I am trying to always use the latest tag for the docker image. However, the latest version of the docker image is not pulled and the workload is not replaced.

I have tried following solutions:

  • Setting the deployment strategy to Recreate
  • Setting the imagePullPolicy to Always
  • Adding a custom label with the ${CICD_GIT_COMMIT} env variable which is changed with every commit

Does anyone have a similar use case and found the solution to this?

1 Like

Iā€™m trying to figure out the same thing!

I just need the deployment to tell the existing deployment to repull