Helmfile: Diff issues when running `helmfile apply`

Created on 6 Apr 2020  路  3Comments  路  Source: roboll/helmfile

I'm running helmfile apply, and I'm getting this error:

in ./helmfile.yaml: 2 errors:
err 0: helm.exe exited with status 1:
  Error: unknown command "diff" for "helm"
  Run 'helm --help' for usage.
err 1: helm.exe exited with status 1:
  Error: unknown command "diff" for "helm"
  Run 'helm --help' for usage.

My helmfile version: v0.108.0
My helm version: version.BuildInfo{Version:"v3.1.2",GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce",GitTreeState:"clean",GoVersion:"go1.13.8"}

helmfile apply doesn't work, but helmfile sync does because it doesn't run the diff command. But I'd like to only use helmfile apply to avoid unnecessary release upgrades. Anyone has a light on this?

Most helpful comment

Solution: install the helm-diff plugin https://github.com/databus23/helm-diff

All 3 comments

Solution: install the helm-diff plugin https://github.com/databus23/helm-diff

helmfile apply requires https://github.com/databus23/helm-diff

Fix this by running:

helm plugin install https://github.com/databus23/helm-diff

@RammusXu what if it already exists?

Was this page helpful?
0 / 5 - 0 ratings