zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.37k stars 980 forks source link

Helm Dependency URLs Broken #2763

Open papaymaguire opened 2 months ago

papaymaguire commented 2 months ago

Please, answer some short questions which should help us to understand your problem / question better?

I am trying to include the Postgres operator helm chart as a dependency in my own helm chart. My configuration in Chart.yaml looks like this:

dependencies:
  - name: "postgres-operator"
    version: "~1.13.0"
    repository: "https://opensource.zalando.com/postgres-operator/charts/postgres-operator"

When I run helm dep update, I get the following error:

Downloading postgres-operator from repo https://opensource.zalando.com/postgres-operator/charts/postgres-operator
Save error occurred:  could not download postgres-operator-1.13.0.tgz: non-absolute URLs should be in form of repo_name/path_to_chart, got: postgres-operator-1.13.0.tgz
Error: could not download postgres-operator-1.13.0.tgz: non-absolute URLs should be in form of repo_name/path_to_chart, got: postgres-operator-1.13.0.tgz

I checked out the index.yaml that helm is reading and I believe the error resides in there. The urls in that yaml file should either be absolute or include the repository name in front of them.

Thank you.