helm / helm/chart-releaser-action
Chart release failing with error `no repository definition` for an existing repository added as a dependency
- Dominant language
- Shell
- Stars
- 668
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
I am adding a dependency to my chart to the following repository: https://k8s.ory.sh/helm/charts
The documentation for all the charts in this repo is mentioned here and works as expected: http://k8s.ory.sh/helm/
The helm chart repo works fine locally when I add it with the following command: `helm repo add ory https://k8s.ory.sh/helm/charts` and when I install the charts separately using Helm.
I am getting an error `Error: no repository definition for https://k8s.ory.sh/helm/charts` when I am adding one of the charts from the above repo as a dependency to my helm chart https://github.com/factly/helm-charts/blob/main/charts/kavach/Chart.yaml#L54
Here is the error in my Github Actions: https://github.com/factly/helm-charts/runs/1886221330?check_suite_focus=true
A couple of other chart dependencies I added work fine. Any charts within [this](https://k8s.ory.sh/helm/charts) repo are failing with the above error. Any help is greatly appreciated.
Also, when I run `helm template` locally to test generated manifests, everything is working as expected. So, I don't think the issue is with the above repository.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the dependency entry in charts/kavach/Chart.yaml at the referenced line and compare it with the GitHub Actions run linked in the report. Reproduce the failing chart release path and contrast it with the locally successful helm template behavior. Done requires identifying the cause of the repository-definition error and agreeing on a documented fix or limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, shell
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100