Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helmfile + git-helm, path mismatch #2158

Open
Vetal-ca opened this issue Sep 26, 2022 · 7 comments
Open

Helmfile + git-helm, path mismatch #2158

Vetal-ca opened this issue Sep 26, 2022 · 7 comments

Comments

@Vetal-ca
Copy link

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

@yxxhero
Copy link
Contributor

yxxhero commented Sep 26, 2022

@Vetal-ca please see #2148

@leoandrea7
Copy link

@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...

@yxxhero
Copy link
Contributor

yxxhero commented Sep 28, 2022

@leoandrea7 I have no permission.

@leoandrea7
Copy link

Can you ask to the owner?

@yxxhero
Copy link
Contributor

yxxhero commented Sep 28, 2022

@leoandrea7
I can't get in touch.

@leoandrea7
Copy link

@roboll

@hinricht
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants