zalando / zalando/postgres-operator
Helm Dependency URLs Broken
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.2k
- Forks
- 1.1k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 3
Description
Please, answer some short questions which should help us to understand your problem / question better?
- Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v1.13.0
- Where do you run it - cloud or metal? Kubernetes or OpenShift? Kind K8s
- Are you running Postgres Operator in production? Will be yes
- Type of issue? Bug report
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the dependency entry in Chart.yaml and inspect the published index.yaml used by Helm. Run helm dep update against the repository to reproduce the failure, then verify that the chart URL format is accepted and the dependency downloads successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100