mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
Fix unifi NOTES to find correct service (#13252)
* Fix unifi NOTES to find correct service Unifi installs the gui service as unifi-gui, but the command in the notes points to a non-existent 'unifi' service. Use unifi.name + '-gui' to construct the service name here which duplicates the logic in gui-svc.yaml. Signed-off-by: Brian Johnson <brian@sherbang.com> * Increment unifi version to 0.4.2 Signed-off-by: Brian Johnson <brian@sherbang.com>
This commit is contained in:
parent
c2df150921
commit
a078da5499
@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 5.10.19
|
||||
description: Ubiquiti Network's Unifi Controller
|
||||
name: unifi
|
||||
version: 0.4.1
|
||||
version: 0.4.2
|
||||
keywords:
|
||||
- ubiquiti
|
||||
- unifi
|
||||
|
@ -9,8 +9,8 @@
|
||||
echo http://$NODE_IP:$NODE_PORT
|
||||
{{- else if contains "LoadBalancer" .Values.guiService.type }}
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
You can watch the status of by running 'kubectl get svc -w {{ template "unifi.fullname" . }}'
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "unifi.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
You can watch the status of by running 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "unifi.fullname" . }}-gui'
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "unifi.fullname" . }}-gui -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
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}")
|
||||
|
Loading…
Reference in New Issue
Block a user