Skip to content

Commit 1a9a385

Browse files
authored
[prometheus-elasticsearch-exporter] Bugfix for NOTES.txt (#5022)
* Update NOTES.txt New line character is causing issues while deploying the chart. Signed-off-by: G Rajesh <[email protected]> * bump up the version Signed-off-by: G Rajesh <[email protected]> --------- Signed-off-by: G Rajesh <[email protected]>
1 parent faef12e commit 1a9a385

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

charts/prometheus-elasticsearch-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: Elasticsearch stats exporter for Prometheus
33
name: prometheus-elasticsearch-exporter
4-
version: 6.5.0
4+
version: 6.5.1
55
kubeVersion: ">=1.19.0-0"
66
appVersion: "v1.8.0"
77
home: https://github.com/prometheus-community/elasticsearch_exporter

charts/prometheus-elasticsearch-exporter/templates/NOTES.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "elasticsearch-exporter.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
1010
echo http://$SERVICE_IP:{{ .Values.service.httpPort }}{{ .Values.web.path }}
1111
{{- else if contains "ClusterIP" .Values.service.type }}
12-
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template
13-
"elasticsearch-exporter.name" . }}" -o jsonpath="{.items[0].metadata.name}")
12+
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "elasticsearch-exporter.name" . }}" -o jsonpath="{.items[0].metadata.name}")
1413

1514
kubectl port-forward $POD_NAME {{ .Values.service.httpPort }}:{{ .Values.service.httpPort }} --namespace {{ .Release.Namespace }}
1615
echo "Visit http://127.0.0.1:{{ .Values.service.httpPort }}{{ .Values.web.path }} to use your application"

0 commit comments

Comments
 (0)