Skip to content

Helm Dep List is returning "missing" for deps on packaged charts #4431

Closed

Description

@technosophos

Output of helm version:

$ helm version --client
Client: &version.Version{SemVer:"v2.10.0-rc.2", GitCommit:"56154102a2f25ebf679c791907fd355bb0377f05", GitTreeState:"dirty"}

Output of kubectl version:

N/A -- this is client only

Cloud Provider/Platform (AKS, GKE, Minikube etc.): N/A

Fetch the wordpress chart: helm fetch stable/wordpress

$ helm dep list ./wordpress-2.1.5.tgz 
NAME   	VERSION	REPOSITORY                                       	STATUS
mariadb	4.x.x  	https://kubernetes-charts.storage.googleapis.com/	missing

Status is missing. But the dependency is in the tarball. Unpack the chart, and this is evident:

$ tar -zxvf wordpress-2.1.5.tgz
x wordpress/Chart.yaml
x wordpress/values.yaml
x wordpress/templates/NOTES.txt
x wordpress/templates/_helpers.tpl
x wordpress/templates/deployment.yaml
x wordpress/templates/externaldb-secrets.yaml
x wordpress/templates/ingress.yaml
x wordpress/templates/pvc.yaml
x wordpress/templates/secrets.yaml
x wordpress/templates/svc.yaml
x wordpress/templates/tests/test-mariadb-connection.yaml
x wordpress/templates/tls-secrets.yaml
x wordpress/.helmignore
x wordpress/README.md
x wordpress/requirements.lock
x wordpress/requirements.yaml
x wordpress/charts/mariadb/Chart.yaml
x wordpress/charts/mariadb/values.yaml
x wordpress/charts/mariadb/templates/NOTES.txt
x wordpress/charts/mariadb/templates/_helpers.tpl
x wordpress/charts/mariadb/templates/initialization-configmap.yaml
x wordpress/charts/mariadb/templates/master-configmap.yaml
x wordpress/charts/mariadb/templates/master-statefulset.yaml
x wordpress/charts/mariadb/templates/master-svc.yaml
x wordpress/charts/mariadb/templates/secrets.yaml
x wordpress/charts/mariadb/templates/slave-configmap.yaml
x wordpress/charts/mariadb/templates/slave-statefulset.yaml
x wordpress/charts/mariadb/templates/slave-svc.yaml
x wordpress/charts/mariadb/templates/test-runner.yaml
x wordpress/charts/mariadb/templates/tests.yaml
x wordpress/charts/mariadb/.helmignore
x wordpress/charts/mariadb/OWNERS
x wordpress/charts/mariadb/README.md
x wordpress/charts/mariadb/files/docker-entrypoint-initdb.d/README.md

$ helm dep list wordpress
NAME   	VERSION	REPOSITORY                                       	STATUS
mariadb	4.x.x  	https://kubernetes-charts.storage.googleapis.com/	unpacked

Activity

  1. added
    bug
    on Aug 3, 2018
  2. itowlson commented on Aug 5, 2018

    @itowlson
    Contributor

    For those of us who plan to consume the output of helm dep list programmatically, what is the expected behaviour here - can we still assume there will be a STATUS field, or is that likely to be omitted on packaged charts?

  3. brempusz commented on Mar 30, 2020

    @brempusz

    Still an issue in 3.1. It would be nice to update the documentation (this part: This can take chart archives and chart directories as input. It will not alter the contents of a chart.) and mention, that in case of archives "STATUS" is always "missing".

  4. added 7 commits that reference this issue on Apr 1, 2020
    fed8e59
    4c93332
    5236b99
    dbf15fb
    efa6442
    be297a4
    a2fc85f
  5. added a commit that references this issue on Apr 9, 2020
    bd13b80
  6. added a commit that references this issue on May 8, 2020
    f68c282
  7. added a commit that references this issue on Oct 2, 2020
    fb82293
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions