helmfile: `needs` doesn't work for upgrades.

needs doesn’t work for already deployed releases and also for selected releases using --selector.

If I make changes to my-release and kubernetes-external-secrets and then run helmfile apply I get this error:

syncing 2 groups of releases in this order: consul, elk, external-secrets, kube-system/kubernetes-external-secrets, kube2iam, redis, storage -> default/my-release
err: "default/my-release" needs "consul", but it must be one of kube-system/kubernetes-external-secrets, default/my-release

So dependecies without changes are not taken into account. For the same reason --selector doesn’t work as well.

The issue is critical, since needs is usable only for clean installation.

https://github.com/roboll/helmfile/pull/914

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 19

Commits related to this issue

Most upvoted comments

Hey! v0.90.6 tagged. Probably it will be released in a few minutes.

@mumoshu Hi! Since the PR with the bugfix code is already merged to master, can you please tag a new release so that the binaries with the fix will be available for download ? Thank you