I am trying to store Helm Charts in the GitLab Package Registry. Once the Helm Charts are stored in the Package Registry, I want to publish them onto Artifact Hub, so they’re more discoverable by other people.
However, the index.yaml file is empty and therefore, Artifact Hub cannot find the packages (Helm Charts).
helm repo add --username deploy-token --password alphanum vlasov-pro https://gitlab.com/api/v4/projects/1234567/packages/helm/stable
Error: looks like "https://gitlab.com/api/v4/projects/1234567/packages/helm/stable" is not a valid chart repository or cannot be reached: failed to fetch https://gitlab.com/api/v4/projects/1234567/packages/helm/stable/index.yaml : 404 Not Found
I have couple charts in regestry and can see them through UI, but there is no helm index file at all.
I have switched to fresh repository, now it works, but I believe issues was in Deploy Token. It have to be granted not only Read Registry but also Read Packages permissions.