Update repo URL domain name
[it/dep.git] / aux / portal-ric-dashboard / templates / NOTES.txt
1 # O-RAN SC Apache 2.0
2 1. Get the application URL by running these commands:
3 {{- if .Values.ingress.enabled }}
4 {{- range $host := .Values.ingress.hosts }}
5   {{- range $.Values.ingress.paths }}
6   http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host }}{{ . }}
7   {{- end }}
8 {{- end }}
9 {{- else if contains "NodePort" .Values.service.type }}
10   export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "dashboard.fullname" . }})
11   export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
12   echo http://$NODE_IP:$NODE_PORT
13 {{- else if contains "LoadBalancer" .Values.service.type }}
14      NOTE: It may take a few minutes for the LoadBalancer IP to be available.
15            You can watch the status of by running 'kubectl get svc -w {{ include "dashboard.fullname" . }}'
16   export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "dashboard.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
17   echo http://$SERVICE_IP:{{ .Values.service.port }}
18 {{- else if contains "ClusterIP" .Values.service.type }}
19   export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "dashboard.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
20   echo "Visit http://127.0.0.1:8080 to use your application"
21   kubectl port-forward $POD_NAME 8080:80
22 {{- end }}