feat(notes): fix ingress and helm uninstall option

This commit is contained in:
jyje 2025-01-15 01:18:11 +09:00
parent 1b47d08288
commit 464f194014
No known key found for this signature in database
GPG Key ID: CFEECE847750DA12

View File

@ -51,14 +51,11 @@ This interface allows you to easily interact with local AI models.
kubectl get -n {{ .Release.Namespace }} svc {{ include "open-webui.name" . }} --watch
export EXTERNAL_IP=$(kubectl get -n {{ .Release.Namespace }} svc {{ include "open-webui.name" . }} -o jsonpath="{.status.loadBalancer.ingress[0].hostname:-.status.loadBalancer.ingress[0].ip}")
echo http://$EXTERNAL_IP:{{ .Values.service.port }}
{{- else if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
{{- range .paths }}
Ingress is enabled. Access the application at:
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
{{- end }}
{{- end }}
{{- if .Values.ingress.enabled }}
Ingress is enabled. Access the application at: http{{ if .Values.ingress.tls }}s{{ end }}://{{ .Values.ingress.host }}
{{- end }}
3. Useful Commands:
@ -77,4 +74,4 @@ This interface allows you to easily interact with local AI models.
4. Cleanup:
- Uninstall the deployment:
helm uninstall {{ .Release.Name }}
helm uninstall {{ .Release.Name }} -n {{ .Release.Namespace }}