From a41c3bc6179cc214c457b77fea3068815965268f Mon Sep 17 00:00:00 2001 From: Naoki Oketani Date: Mon, 28 Oct 2019 02:39:25 +0900 Subject: [PATCH] [stable/prometheus-node-exporter] update NOTES.txt to show correct port (#17931) Signed-off-by: Naoki Oketani --- stable/prometheus-node-exporter/Chart.yaml | 2 +- stable/prometheus-node-exporter/templates/NOTES.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/prometheus-node-exporter/Chart.yaml b/stable/prometheus-node-exporter/Chart.yaml index 65684262260c..01d16197d216 100644 --- a/stable/prometheus-node-exporter/Chart.yaml +++ b/stable/prometheus-node-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.18.0" description: A Helm chart for prometheus node-exporter name: prometheus-node-exporter -version: 1.7.0 +version: 1.7.1 home: https://github.com/prometheus/node_exporter/ sources: - https://github.com/prometheus/node_exporter/ diff --git a/stable/prometheus-node-exporter/templates/NOTES.txt b/stable/prometheus-node-exporter/templates/NOTES.txt index 4902798ff14c..d0016cdee02b 100644 --- a/stable/prometheus-node-exporter/templates/NOTES.txt +++ b/stable/prometheus-node-exporter/templates/NOTES.txt @@ -10,6 +10,6 @@ echo http://$SERVICE_IP:{{ .Values.service.port }} {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "prometheus-node-exporter.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") - echo "Visit http://127.0.0.1:8080 to use your application" - kubectl port-forward $POD_NAME 8080:80 + echo "Visit http://127.0.0.1:9100 to use your application" + kubectl port-forward $POD_NAME 9100 {{- end }}