helmfile icon indicating copy to clipboard operation
helmfile copied to clipboard

Helmfile + git-helm, path mismatch

Open Vetal-ca opened this issue 3 years ago • 7 comments

git-helm plugin, causing a path mismatch:

  • helmfile.yaml
repositories:
  - name:  guerzon
    url: git+https://github.com/guerzon/vaultwarden@?ref=main

helmDefaults:
  verify: true
  waitForJobs: true
  timeout: 600
  createNamespace: true

releases:
  - name: vault-warden
    namespace: vaultwarden
    chart:  guerzon/vaultwarden

helmfile apply show difference to apply while failing in the very end:

STDERR:
  /home/vetal/.local/share/helm/plugins/helm-git/helm-git: 302: cannot open /tmp/helm-git.mDulxt/vaultwarden-0.3.0.tgz: No such file
  cat: /tmp/helm-git.mDulxt/vaultwarden-0.3.0.tgz: No such file or directory
  Error: failed to fetch provenance "git+https://github.com/guerzon/vaultwarden@/vaultwarden-0.3.0.tgz?ref=main&sparse=1&depupdate=1&package=1.prov"

COMBINED OUTPUT:
  Release "vault-warden" does not exist. Installing it now.
  /home/vetal/.local/share/helm/plugins/helm-git/helm-git: 302: cannot open /tmp/helm-git.mDulxt/vaultwarden-0.3.0.tgz: No such file
  cat: /tmp/helm-git.mDulxt/vaultwarden-0.3.0.tgz: No such file or directory
  Error: failed to fetch provenance "git+https://github.com/guerzon/vaultwarden@/vaultwarden-0.3.0.tgz?ref=main&sparse=1&depupdate=1&package=1.prov"

/tmp/helm-git.mDulxt/ does not exist. While repo file is fetched to /home/vetal/.cache/helm/repository/vaultwarden-0.3.0.tgz

Exporting HELM_CACHE_HOME to some explicit location won't help

All the latest, while helm v3.9.2 is the same problem:

helm plugin list | grep git
helm-git        0.11.4          Get non-packaged Charts directly from Git.
helm version
version.BuildInfo{Version:"v3.10.0", GitCommit:"ce66412a723e4d89555dc67217607c6579ffcb21", GitTreeState:"clean", GoVersion:"go1.18.6"}
helmfile version
Helmfile version 0.146.0

Manual way, works for the path prospective:

helm repo add guerzon git+https://github.com/guerzon/vaultwarden@?ref=main
helm install vaultwarden guerzon/vaultwarden

It looks like helmfile, git-helm and helm combo does not

Vetal-ca avatar Sep 26 '22 02:09 Vetal-ca

@Vetal-ca please see https://github.com/roboll/helmfile/issues/2148

yxxhero avatar Sep 26 '22 03:09 yxxhero

@yxxhero Why don't archive this repo to give more visibility to new potential users? Also add the fact that google does not index the new repo page and with "helmfile" keyword it finds only this old repo...

leoandrea7 avatar Sep 28 '22 09:09 leoandrea7

@leoandrea7 I have no permission.

yxxhero avatar Sep 28 '22 09:09 yxxhero

Can you ask to the owner?

leoandrea7 avatar Sep 28 '22 10:09 leoandrea7

@leoandrea7 I can't get in touch.

yxxhero avatar Sep 28 '22 11:09 yxxhero

@roboll

leoandrea7 avatar Sep 28 '22 11:09 leoandrea7

@roboll Please archive this project. Parallel universes are always confusing and errer-prone. Thanks !

hinricht avatar Feb 20 '23 10:02 hinricht