Closed schollii closed 2 years ago
More likely it's related to this one and how helm-diff works. IIRC it makes a diff against a Helm state stored in secrets. Because of this, we started thinking of switching to helmfile sync
.
@schollii @andrewnazarov Probably this would work with the new --three-way-merge
option added to helm-diff recently.
Thanks for letting me know @mumoshu. Looks like that could be the solution.
Helmfile doesn't support configuring how it calls helm diff, IIRC... so it'll be a few weeks before this is available in helmfile correct?
@schollii You're almost correct but this time I made it configurable via an envvar (https://github.com/databus23/helm-diff/pull/336) too. That means you'll be able to enable the new behavior by running helmfile
with HELM_DIFF_THREE_WAY_MERGE=true
as helm-diff processes inherit env from the helmfile process.
Steps to reproduce :
kubectl delete svc APP1_NAME
There's a chance this is a helm or even helm diff issue (or helmfile diff but I think it uses helm diff plugin), I will see if I can dig some more but meanwhile, I thought this might just be a known limitation or issue.