Skip to content

Commit

Permalink
Merge branch 'main' into prometheus-postgres-exporter/existing-secret
Browse files Browse the repository at this point in the history
  • Loading branch information
zeritti authored Nov 27, 2024
2 parents d10ab90 + 1a9a385 commit 95daf27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-elasticsearch-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Elasticsearch stats exporter for Prometheus
name: prometheus-elasticsearch-exporter
version: 6.5.0
version: 6.5.1
kubeVersion: ">=1.19.0-0"
appVersion: "v1.8.0"
home: https://github.com/prometheus-community/elasticsearch_exporter
Expand Down
3 changes: 1 addition & 2 deletions charts/prometheus-elasticsearch-exporter/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "elasticsearch-exporter.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.httpPort }}{{ .Values.web.path }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template
"elasticsearch-exporter.name" . }}" -o jsonpath="{.items[0].metadata.name}")
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "elasticsearch-exporter.name" . }}" -o jsonpath="{.items[0].metadata.name}")

kubectl port-forward $POD_NAME {{ .Values.service.httpPort }}:{{ .Values.service.httpPort }} --namespace {{ .Release.Namespace }}
echo "Visit http://127.0.0.1:{{ .Values.service.httpPort }}{{ .Values.web.path }} to use your application"
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-postgres-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "v0.15.0"
appVersion: "v0.16.0"
description: A Helm chart for prometheus postgres-exporter
name: prometheus-postgres-exporter
version: 6.5.0
Expand Down

0 comments on commit 95daf27

Please sign in to comment.