blob: 45572c744b0f58a5457a3e6076a71bb2dc210c94 [file] [log] [blame]
gio4a9d83d2024-04-14 13:14:40 +04001Get the application URL by running these commands:
2{{- if contains "NodePort" .Values.service.type }}
3 export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "zot.fullname" . }})
4 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
5 echo http://$NODE_IP:$NODE_PORT
6{{- end }}