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

**URL:** <https://discuss.elastic.co/t/error-no-repository-definition-for-http-helm-elastic-co/206220>\
**Category:** Elasticsearch\
**Created:** [November 1, 2019, 11:14pm UTC](https://discuss.elastic.co/t/error-no-repository-definition-for-http-helm-elastic-co/206220 "2019-11-01T23:14:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedro.pacm](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@pedro.pacm](https://discuss.elastic.co/u/pedro.pacm)\
**Post date:** [November 1, 2019, 11:14pm UTC](https://discuss.elastic.co/t/error-no-repository-definition-for-http-helm-elastic-co/206220/1 "2019-11-01T23:14:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [November 6, 2019, 4:42am UTC](https://discuss.elastic.co/t/error-no-repository-definition-for-http-helm-elastic-co/206220/2 "2019-11-06T04:42:16Z")

</div>

Just for a quick sanity check: Is [https://helm.elastic.co](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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 4, 2019, 4:42am UTC](https://discuss.elastic.co/t/error-no-repository-definition-for-http-helm-elastic-co/206220/3 "2019-12-04T04:42:20Z")

</div>

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