X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fhelm%2Fosm%2Ftemplates%2FNOTES.txt;h=45e18217d560d45c2e812892f221d3033f6f5c44;hb=027f8ee24f2293c0ae049ecccf31be000da72e85;hp=8dd736a8d2759e9aad954a0dc7dc0e9874429df0;hpb=abf6770c2ec33d6ae0b1fb93be1093081abb5a9f;p=osm%2Fdevops.git diff --git a/installers/helm/osm/templates/NOTES.txt b/installers/helm/osm/templates/NOTES.txt index 8dd736a8..45e18217 100644 --- a/installers/helm/osm/templates/NOTES.txt +++ b/installers/helm/osm/templates/NOTES.txt @@ -17,6 +17,7 @@ ####################################################################################### */}} 1. Get the application URL by running these commands: +{{- if .Values.nbi.service }} {{- if contains "NodePort" .Values.nbi.service.type }} export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services nbi) export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") @@ -27,5 +28,11 @@ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} nbi --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") echo http://$SERVICE_IP:{{ .Values.nbi.service.port }} {{- end }} +{{- else }} + export OSM_GUI_URL=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.rules[0].host}" ingress ngui-ingress) + echo "OSM UI: $OSM_GUI_URL" + export OSM_HOSTNAME=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.rules[0].host}" ingress nbi-ingress) + echo "OSM_HOSTNAME (for osm client): $OSM_HOSTNAME" +{{- end }} 2. Get Grafana credentials for admin user using below command. kubectl -n {{ .Release.Namespace }} get secret grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo