Skip to content

helm dependency build is failing with subchart #7144

@rwong2888

Description

@rwong2888

Error

rpc error: code = Unknown desc = `sh -c helm dependency build` failed exit status 1: Error: no cached repository for helm-manager-ebe10bb4e257360e3453a37c457759ba554bc3a2fd86e79d6f93e4d119b0e1e2 found. (try 'helm repo update'): open /home/argocd/.cache/helm/repository/helm-manager-ebe10bb4e257360e3453a37c457759ba554bc3a2fd86e79d6f93e4d119b0e1e2-index.yaml: no such file or directory

Chart.yaml

apiVersion: v2
name: cert-manager
version: 0.0.1
dependencies:
- name: cert-manager
  version: v1.4.0
  repository: https://charts.jetstack.io

Plugin

  configManagementPlugins: |-
    - name: argocd-vault-plugin-helm
      init:
        command: ["sh", "-c"]
        args: ["helm dependency build"]
      generate:
        command: ["sh", "-c"]
        args: ["helm template ${helm_args} . > all.yaml && argocd-vault-plugin generate all.yaml"]

Versions

argocd@argocd-server-7d859b554f-kl9m4:~$ helm version
version.BuildInfo{Version:"v3.6.0", GitCommit:"7f2df6467771a75f5646b7f12afb408590ed1755", GitTreeState:"clean", GoVersion:"go1.16.3"}
argocd@argocd-server-7d859b554f-kl9m4:~$ argocd version
argocd: v2.1.1+aab9542
  BuildDate: 2021-08-25T15:12:04Z
  GitCommit: aab9542f8b3354f0940945c4295b67622f0af296
  GitTreeState: clean
  GoVersion: go1.16.5
  Compiler: gc
  Platform: linux/amd64
FATA[0000] Argo CD server address unspecified

https://www.gitmemory.com/issue/unbroken-dome/gradle-helm-plugin/102/850499759

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBug is a regression, should be handled with high priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions