| gio | 4a9d83d | 2024-04-14 13:14:40 +0400 | [diff] [blame] | 1 | Get 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 }} | ||||