mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
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 <christian.erhardt@mojo2k.de>
This commit is contained in:
parent
23167d43ad
commit
ea926e36fc
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user