The chart automatically sets WEBUI_URL when ingress.host is defined.
|
{{- /* |
|
Constructs a string containing the URLs of the Open WebUI based on the ingress configuration |
|
used to populate the variable WEBUI_URL |
|
*/ -}} |
|
{{- define "open-webui.url" -}} |
|
{{- $proto := "http" -}} |
|
{{- if .Values.ingress.tls }} |
|
{{- $proto = "https" -}} |
|
{{- end }} |
|
{{- printf "%s://%s" $proto .Values.ingress.host }} |
|
{{- end }} |
It would be nice if it was also automatically set based on route.hostnames when Gateway API is being used instead of Ingress, so it does not need to be manually specified in extraEnvVars.
The chart automatically sets
WEBUI_URLwheningress.hostis defined.helm-charts/charts/open-webui/templates/_helpers.tpl
Lines 346 to 356 in 9671d64
It would be nice if it was also automatically set based on
route.hostnameswhen Gateway API is being used instead of Ingress, so it does not need to be manually specified inextraEnvVars.