Skip to content

helm-git fails in helmfile v1.2.1 docker image #2303

Description

@rmoreas

Operating system

ghcr.io/helmfile/helmfile:v1.2.1

Helmfile Version

1.2.1

Helm Version

4.0

Bug description

helmfile fails when using helm charts on helm charts on a git repository with the error: "HELM_BIN: parameter not set"

Example helmfile.yaml

repositories:
- name: rancher-local-path-provisioner
  url: git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=v0.0.32

releases:
- name: local-path-provisioner
  namespace: kube-system
  chart: rancher-local-path-provisioner/local-path-provisioner

Error message you've seen (if any)

  /helm/.local/share/helm/plugins/helm-git.git/helm-git: line 375: HELM_BIN: parameter not set
  Error: looks like "git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=v0.0.32" is not a valid chart repository or cannot be reached: plugin &{{"legacy" "helm-git" "getter/v1" "subprocess" "1.4.1" "" %!q(*schema.ConfigGetterV1=&{[git+file git+ssh git+https git+http]}) %!q(*plugin.RuntimeConfigSubprocess=&{[] map[] [{[git+file git+ssh git+https git+http] [{  helm-git []}]}] true})} "/helm/.local/share/helm/plugins/helm-git.git" {[] map[] [{["git+file" "git+ssh" "git+https" "git+http"] [{"" "" "helm-git" []}]}] %!q(bool=true)} map[]} failed to invoke: plugin "helm-git" exited with error

Steps to reproduce

see provide helmfile

Working Helmfile Version

ghcr.io/helmfile/helmfile:v1.1.9

Relevant discussion

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions