Replies: 2 comments 3 replies
-
Hi @yogeek, Interesting question. Could you share more about your environment and how you apply manifests, e.g. do you use helm for example? Is the "GitOps controller" part of ArgoCD nowadays? I'm not sure what the current state is with "GitOps", but we used ArgoCD heavily at the company where this tool was developed. Enrico |
Beta Was this translation helpful? Give feedback.
-
Hi @estahn We have ArgoCD installed in each of our clusters. So if the "image" field is mutated, ArgoCd wil detect a drift and fix it by applying the state from GIT, and that would override the mutation by the original image. Guillaume |
Beta Was this translation helpful? Give feedback.
-
Hi !
First, this tool is a nice idea 👍
However, in a gitops environment where a controller (argocd, flux...) reconciliates the actual state (cluster resources) with the desired state in GIT, I do not see how this can be used as is. Indeed, the pod image would be mutated by image-swapper and right after that, the gitops controller would change the image name back to the one defined in GIT...
Do you have any idea how this tool could work nicely in a GitOps environment ?
(of course, we could configure the GitOps controller to "ignore" the changes on the "image" field but it would not be a satisfying solution as we would lost the update feature...)
Beta Was this translation helpful? Give feedback.
All reactions