helm: found in Chart.yaml, but missing in charts/ directory: postgresql,

9.4k Views Asked by At

I try to follow the kubernetes install README of ReportPortal

guettli@yoga15:~/projects/reportportal-kubernetes/reportportal$ mv v5 reportportal

guettli@yoga15:~/projects/reportportal-kubernetes/reportportal$ helm install ./reportportal
Error: must either provide a name or specify --generate-name

guettli@yoga15:~/projects/reportportal-kubernetes/reportportal$ helm install ./reportportal --generate-name
Error: found in Chart.yaml, but missing in charts/ directory: postgresql, rabbitmq-ha, elasticsearch, minio

Here is the v5 directory.

What needs to be done now?

2

There are 2 best solutions below

0
On

I found the solution:

cd reportportal
helm dependency update
0
On

Adding a bit of a background.

Chart dependencies that are specified in the Chart.yaml should be download to disk before executing the installation of the parent chart.

This is done by helm dependency update which verifies that the required charts, as expressed in Chart.yaml, are present in charts/ and are at an acceptable version.
It will pull down the latest charts that satisfy the dependencies, and clean up old dependencies.