Skip to content

WEBUI_URL not set automatically when using HTTPRoute #398

Description

@kvyk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions