Error: no repository definition for http://helm.elastic.co/

Hi,

I have a kubernetes cluster managed by a default Gitlab account. All services are deployed through Gitlabs's CI/CD, so I'm not able to hand Helm directly.

I created a custom Helm chart and added the Elasticsearch chart as a dependency:

dependencies:
  - name: elasticsearch
    version: 7.4.1
    repository: http://helm.elastic.co/
    alias: elastic

But, when running the pipeline, got this error:

Error: no repository definition for http://helm.elastic.co/. Please add them via 'helm repo add'

When testing this URL in the browser, it works and returns a xml.

Just for a quick sanity check: Is https://helm.elastic.co (note the S in HTTPS) also not working? While your browser might successfully redirect you, I'm not sure that is also happening for your dependency resolution?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.