Fix prometheus-elasticsearch-exporter container.

* Replace current URL with the proper target.

Change-Id: I0bb8b2429906e698858f6b699e4c4d8bacc2dd74
Closes-Bug: #1934763
This commit is contained in:
Gaël THEROND (Fl1nt) 2021-07-06 12:04:17 +02:00
parent 5e0b238b01
commit 1f8ac21622
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ENV elasticsearch_exporter_version=1.1.0
{% endblock %}
{% block prometheus_elasticsearch_exporter_install %}
RUN curl -o /tmp/elasticsearch_exporter.tar.gz https://github.com/justwatchcom/elasticsearch_exporter/releases/download/v${elasticsearch_exporter_version}/elasticsearch_exporter-${elasticsearch_exporter_version}.linux-{{debian_arch}}.tar.gz \
RUN curl -o /tmp/elasticsearch_exporter.tar.gz https://github.com/prometheus-community/elasticsearch_exporter/releases/download/v${elasticsearch_exporter_version}/elasticsearch_exporter-${elasticsearch_exporter_version}.linux-{{debian_arch}}.tar.gz \
&& tar xvf /tmp/elasticsearch_exporter.tar.gz -C /opt/ \
&& rm -f /tmp/elasticsearch_exporter.tar.gz \
&& ln -s /opt/elasticsearch_exporter* /opt/elasticsearch_exporter