white-beach-27328
05/14/2021, 6:20 PMdatahub-kubernetes
fail to identify the dependent charts such as datahub-gms
? We are pushing the datahub chart to a chart museum and when attempting to deploy that chart into our K8's cluster, I’m getting an error like this:
resource-helm>>> Updating dependencies in /tmp/build/put/stg-chart/datahub...
Saving 5 charts
Save error occurred: directory charts/datahub-gms not found
loud-island-88694
white-beach-27328
05/14/2021, 6:50 PMhelm dep up datahub
in the datahub-kubernetes folder:
$ helm dep up --debug datahub
Repository from local path: file://./charts/datahub-gms
Repository from local path: file://./charts/datahub-frontend
Repository from local path: file://./charts/datahub-mae-consumer
Repository from local path: file://./charts/datahub-mce-consumer
Repository from local path: file://./charts/datahub-ingestion-cron
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
...Successfully got an update from the "spothero" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 5 charts
Archiving datahub-gms from repo file://./charts/datahub-gms
Save error occurred: directory datahub/charts/datahub-gms not found
Deleting newly downloaded charts, restoring pre-update state
Error: directory datahub/charts/datahub-gms not found
helm.go:94: [debug] directory datahub/charts/datahub-gms not found
<http://helm.sh/helm/v3/internal/resolver.GetLocalPath|helm.sh/helm/v3/internal/resolver.GetLocalPath>
/home/circleci/helm.sh/helm/internal/resolver/resolver.go:193
<http://helm.sh/helm/v3/pkg/downloader.tarFromLocalDir|helm.sh/helm/v3/pkg/downloader.tarFromLocalDir>
/home/circleci/helm.sh/helm/pkg/downloader/manager.go:690
<http://helm.sh/helm/v3/pkg/downloader.(*Manager).downloadAll|helm.sh/helm/v3/pkg/downloader.(*Manager).downloadAll>
/home/circleci/helm.sh/helm/pkg/downloader/manager.go:273
<http://helm.sh/helm/v3/pkg/downloader.(*Manager).Update|helm.sh/helm/v3/pkg/downloader.(*Manager).Update>
/home/circleci/helm.sh/helm/pkg/downloader/manager.go:172
main.newDependencyUpdateCmd.func1
/home/circleci/helm.sh/helm/cmd/helm/dependency_update.go:73
<http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
<http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
<http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
/home/circleci/helm.sh/helm/cmd/helm/helm.go:93
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1373
white-beach-27328
05/14/2021, 6:51 PMversion.BuildInfo{Version:"v3.3.0", GitCommit:"8a4aeec08d67a7b84472007529e8097ec3742105", GitTreeState:"dirty", GoVersion:"go1.14.7"}
early-lamp-41924
05/14/2021, 7:12 PMhelm dep update
early-lamp-41924
05/14/2021, 7:12 PMearly-lamp-41924
05/14/2021, 7:12 PMearly-lamp-41924
05/14/2021, 7:13 PMwhite-beach-27328
05/14/2021, 7:24 PMwhite-beach-27328
05/14/2021, 7:25 PMincalculable-ocean-74010
05/14/2021, 8:09 PMearly-lamp-41924
05/14/2021, 8:14 PMearly-lamp-41924
05/14/2021, 8:14 PMearly-lamp-41924
05/14/2021, 8:14 PMwhite-beach-27328
05/14/2021, 8:19 PMwhite-beach-27328
05/14/2021, 8:22 PMcron
chart) and eliminate the dependencies in the main chart given that they’re already provided.white-beach-27328
05/14/2021, 8:31 PMcondition
’s with just an if statement on the resources. Sometimes these dependency systems are brittle and add more complexity than they’re worth. Major downside would be that it makes things less DRY. Just something I was thinking about doing for our deployment.early-lamp-41924
05/17/2021, 5:28 PM