Setting image tag for auto-deploys independent of configuration for k8s deploys
When chart configuration changes are merged into master, we currently run the risk of auto-deploys applying them before they are applied and tested in staging. This is because auto-deploy to production does a full helm apply ...
for the image update, which includes all config changes.
We have discussed potentially putting a blocker in the auto-deploy pipeline if there is anything more than an image update. Another option would be to skip helm altogether, and instead directly set the image with:
kubectl set image deployment/gitlab-webservice webservice=dev.gitlab.org:5005/gitlab/charts/components/images/gitlab-webservice-ee:<version>
We would need to do this for each container/deployment, and poll to ensure that the deployment is successful.
Edited by John Jarvis