From d004efa06cf8a7f4e1c3bbf6c0094e3752083e89 Mon Sep 17 00:00:00 2001 From: Dimko Zhluktenko Date: Tue, 8 Feb 2022 15:57:26 +0200 Subject: [PATCH] ClusterIP instruction in NOTES.txt is not complete Resolves #90 --- charts/portainer/Chart.yaml | 2 +- charts/portainer/templates/NOTES.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/portainer/Chart.yaml b/charts/portainer/Chart.yaml index 5883e35..038012b 100644 --- a/charts/portainer/Chart.yaml +++ b/charts/portainer/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.0.22 +version: 1.0.24 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/charts/portainer/templates/NOTES.txt b/charts/portainer/templates/NOTES.txt index 604843e..cd3a259 100644 --- a/charts/portainer/templates/NOTES.txt +++ b/charts/portainer/templates/NOTES.txt @@ -18,6 +18,7 @@ echo http://$SERVICE_IP:{{ .Values.service.httpsPort }} {{- else if contains "ClusterIP" .Values.service.type }} Get the application URL by running these commands: - export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "portainer.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].me$ echo "Visit http://127.0.0.1:9443 to use your application" + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "portainer.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + echo "Visit http://127.0.0.1:9443 to use your application" kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 9443:9443 {{- end }}