From ea926e36fc7c58a948f0bbed091ef7e509586720 Mon Sep 17 00:00:00 2001 From: Christian Erhardt Date: Fri, 11 Jan 2019 22:19:59 +0100 Subject: [PATCH] Port forward in NOTES.txt is wrong (#10200) If you do a port-forward to 8080, the unifi controller tries to forward you to a secure TLS connection on port 8443. This fails because the port 8443 is not forwarded. If you do a direct forward to 8443, everything works as expected. Signed-off-by: Christian Erhardt --- charts/unifi/Chart.yaml | 2 +- charts/unifi/templates/NOTES.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/unifi/Chart.yaml b/charts/unifi/Chart.yaml index 60da052c..71aa03f3 100644 --- a/charts/unifi/Chart.yaml +++ b/charts/unifi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 5.9.29 description: Ubiquiti Network's Unifi Controller name: unifi -version: 0.2.6 +version: 0.2.7 keywords: - ubiquiti - unifi diff --git a/charts/unifi/templates/NOTES.txt b/charts/unifi/templates/NOTES.txt index 1c2fe943..afa05b5b 100644 --- a/charts/unifi/templates/NOTES.txt +++ b/charts/unifi/templates/NOTES.txt @@ -14,6 +14,6 @@ echo http://$SERVICE_IP:{{ .Values.guiService.port }} {{- else if contains "ClusterIP" .Values.guiService.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "unifi.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 + kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8443:{.Values.guiService.port} + Visit https://127.0.0.1:8443 to use your application {{- end }}