Skip to content

Commit

Permalink
[stable/prometheus-node-exporter] update NOTES.txt to show correct po…
Browse files Browse the repository at this point in the history
…rt (helm#17931)

Signed-off-by: Naoki Oketani <okepy.naoki@gmail.com>
  • Loading branch information
oke-py authored and k8s-ci-robot committed Oct 27, 2019
1 parent cedffd5 commit a41c3bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus-node-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
4 changes: 2 additions & 2 deletions stable/prometheus-node-exporter/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a41c3bc

Please sign in to comment.