You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to add repo - "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type repo.IndexFile" #9440
I have prepared helm charts and no issues in that. Able to deploy those charts using "helm install ...." Now wanted to create package and add it into the repository so that user can add them in helm repo from gitrepo and start using helm deploy .
So far was able to create packages using "helm package --destination " for the charts i had. Created the tar files (tgz)
when i tried to add them to helm repo from github - getting error:
github.dxc.com/healthcare-ohc/ohc-helm-charts.git" is not a valid chart repository or cannot be reached: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type repo.IndexFile
Please advise why the error, what am i missing here.
A chart repository is an HTTP server that houses an index.yaml file and optionally some packaged charts. When you're ready to share your charts, the preferred way to do so is by uploading them to a chart repository.
Key words here being "HTTP server that houses an index.yaml file".
If you would like to serve your charts from a git repository, there are several projects that help you serve it over HTTP, including an example on serving it via github pages.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Activity
bacongobbler commentedon Mar 9, 2021
Git repositories are git repositories. They are not Helm repositories.
To explain further... https://helm.sh/docs/topics/chart_repository/
Key words here being "HTTP server that houses an index.yaml file".
If you would like to serve your charts from a git repository, there are several projects that help you serve it over HTTP, including an example on serving it via github pages.
Hope this helps.
github-actions commentedon Jun 8, 2021
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.