From d931217c69335089e7bb17fbce13a3a8d6663120 Mon Sep 17 00:00:00 2001 From: Philip Haupt <“der.mad.mob@gmail.com”> Date: Sat, 21 Feb 2026 12:08:33 +0100 Subject: [PATCH] feat: open-webui update --- open-webui/main.yaml | 74 ++++++++++++++++--------------- open-webui/src/kustomization.yaml | 2 +- open-webui/src/values.yaml | 72 +++++++++++++++++++++++++----- 3 files changed, 102 insertions(+), 46 deletions(-) diff --git a/open-webui/main.yaml b/open-webui/main.yaml index 34261ba..8f06776 100644 --- a/open-webui/main.yaml +++ b/open-webui/main.yaml @@ -1,4 +1,17 @@ apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app.kubernetes.io/component: pipelines + app.kubernetes.io/instance: open-webui + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: pipelines + app.kubernetes.io/version: alpha + helm.sh/chart: pipelines-0.10.1 + name: open-webui-pipelines + namespace: open-webui +--- +apiVersion: v1 automountServiceAccountToken: false kind: ServiceAccount metadata: @@ -7,22 +20,9 @@ metadata: app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: open-webui - app.kubernetes.io/version: 0.8.0 - helm.sh/chart: open-webui-11.1.0 - name: existing-sa - namespace: open-webui ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.kubernetes.io/component: open-webui-pipelines - app.kubernetes.io/instance: open-webui - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: pipelines - app.kubernetes.io/version: alpha - helm.sh/chart: pipelines-0.10.0 - name: open-webui-pipelines + app.kubernetes.io/version: 0.8.3 + helm.sh/chart: open-webui-12.3.0 + name: open-webui-sa namespace: open-webui --- apiVersion: v1 @@ -33,8 +33,8 @@ metadata: app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: open-webui - app.kubernetes.io/version: 0.8.0 - helm.sh/chart: open-webui-11.1.0 + app.kubernetes.io/version: 0.8.3 + helm.sh/chart: open-webui-12.3.0 name: open-webui namespace: open-webui spec: @@ -52,12 +52,12 @@ apiVersion: v1 kind: Service metadata: labels: - app.kubernetes.io/component: open-webui-pipelines + app.kubernetes.io/component: pipelines app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: pipelines app.kubernetes.io/version: alpha - helm.sh/chart: pipelines-0.10.0 + helm.sh/chart: pipelines-0.10.1 name: open-webui-pipelines namespace: open-webui spec: @@ -67,7 +67,7 @@ spec: protocol: TCP targetPort: http selector: - app.kubernetes.io/component: open-webui-pipelines + app.kubernetes.io/component: pipelines app.kubernetes.io/instance: open-webui type: ClusterIP --- @@ -91,7 +91,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: - app.kubernetes.io/component: open-webui-pipelines + app.kubernetes.io/component: pipelines app.kubernetes.io/instance: open-webui name: open-webui-pipelines namespace: open-webui @@ -101,35 +101,34 @@ spec: resources: requests: storage: 2Gi - storageClassName: openebs-3-replicas --- apiVersion: apps/v1 kind: Deployment metadata: labels: - app.kubernetes.io/component: open-webui-pipelines + app.kubernetes.io/component: pipelines app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: pipelines app.kubernetes.io/version: alpha - helm.sh/chart: pipelines-0.10.0 + helm.sh/chart: pipelines-0.10.1 name: open-webui-pipelines namespace: open-webui spec: replicas: 1 selector: matchLabels: - app.kubernetes.io/component: open-webui-pipelines + app.kubernetes.io/component: pipelines app.kubernetes.io/instance: open-webui template: metadata: labels: - app.kubernetes.io/component: open-webui-pipelines + app.kubernetes.io/component: pipelines app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: pipelines app.kubernetes.io/version: alpha - helm.sh/chart: pipelines-0.10.0 + helm.sh/chart: pipelines-0.10.1 spec: automountServiceAccountToken: false containers: @@ -159,8 +158,8 @@ metadata: app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: open-webui - app.kubernetes.io/version: 0.8.0 - helm.sh/chart: open-webui-11.1.0 + app.kubernetes.io/version: 0.8.3 + helm.sh/chart: open-webui-12.3.0 name: open-webui namespace: open-webui spec: @@ -177,8 +176,8 @@ spec: app.kubernetes.io/instance: open-webui app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: open-webui - app.kubernetes.io/version: 0.8.0 - helm.sh/chart: open-webui-11.1.0 + app.kubernetes.io/version: 0.8.3 + helm.sh/chart: open-webui-12.3.0 spec: automountServiceAccountToken: false containers: @@ -221,7 +220,12 @@ spec: secretKeyRef: key: redis_url name: open-webui - image: ghcr.io/open-webui/open-webui:0.8.0 + - name: REDIS_URL + valueFrom: + secretKeyRef: + key: redis_url + name: open-webui + image: ghcr.io/open-webui/open-webui:0.8.3 imagePullPolicy: IfNotPresent name: open-webui ports: @@ -237,13 +241,13 @@ spec: - sh - -c - cp -R -n /app/backend/data/* /tmp/app-data/ - image: ghcr.io/open-webui/open-webui:0.8.0 + image: ghcr.io/open-webui/open-webui:0.8.3 imagePullPolicy: IfNotPresent name: copy-app-data volumeMounts: - mountPath: /tmp/app-data name: data - serviceAccountName: existing-sa + serviceAccountName: open-webui-sa volumes: - name: data persistentVolumeClaim: diff --git a/open-webui/src/kustomization.yaml b/open-webui/src/kustomization.yaml index ef8f55f..3eeef2f 100644 --- a/open-webui/src/kustomization.yaml +++ b/open-webui/src/kustomization.yaml @@ -5,7 +5,7 @@ kind: Kustomization helmCharts: - name: open-webui repo: https://helm.openwebui.com/ - version: 11.1.0 + version: 12.3.0 releaseName: open-webui includeCRDs: true namespace: open-webui diff --git a/open-webui/src/values.yaml b/open-webui/src/values.yaml index ed2d7c9..22a0a6f 100644 --- a/open-webui/src/values.yaml +++ b/open-webui/src/values.yaml @@ -1,6 +1,13 @@ -# -- Provide a name in place of the default application name +# -- Override the chart name used in resource names. When set, this replaces the chart name +# in the generated resource names (which combine release name and chart name). +# Example: with nameOverride="custom" and release "prod", resources become "prod-custom" nameOverride: "" +# -- Override the full resource name completely. When set, this takes precedence over nameOverride +# and the standard naming convention. Leave empty to use the standard naming pattern. +# See the "Resource Naming" section in the README for details on how resources are named. +fullnameOverride: "" + # -- Provide a namespace in place of the default release namespace namespaceOverride: "" @@ -8,9 +15,9 @@ ollama: # -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure # @section -- External Tools configuration enabled: false - # -- If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart + # -- Override the Ollama subchart name. If not set, uses the release name with '-ollama' suffix for multiple instance support # @section -- External Tools configuration - fullnameOverride: "open-webui-ollama" + fullnameOverride: "" # -- Example Ollama configuration with nvidia GPU enabled, automatically downloading a model, and deploying a PVC for model persistence # ollama: # gpu: @@ -39,6 +46,9 @@ pipelines: # -- Automatically install Pipelines chart to extend Open WebUI functionality using Pipelines: https://github.com/open-webui/pipelines # @section -- External Tools configuration enabled: true + # -- Override the Pipelines subchart name. If not set, uses the release name with '-pipelines' suffix for multiple instance support + # @section -- External Tools configuration + fullnameOverride: "" # -- This section can be used to pass required environment variables to your pipelines (e.g. Langfuse hostname) # @section -- External Tools configuration extraEnvVars: [] @@ -55,9 +65,9 @@ websocket: # -- Specifies the websocket manager to use with env `WEBSOCKET_MANAGER`: redis (default) # @section -- Websocket configuration manager: redis - # -- Specifies the URL of the Redis instance for websocket communication. Template with `redis://[:@]:/` + # -- Override the Redis URL for websocket communication. If empty, automatically generates URL based on release name. Template: `redis://[:@]:/` # @section -- Websocket configuration - url: redis://open-webui-redis:6379/0 + url: "DELETE_ME" # -- Node selector for websocket pods # @section -- Websocket configuration nodeSelector: {} @@ -65,9 +75,6 @@ websocket: # -- Enable redis installation # @section -- Websocket configuration enabled: false - # -- Redis name - # @section -- Websocket configuration - name: open-webui-redis # -- Redis labels # @section -- Websocket configuration labels: {} @@ -210,7 +217,7 @@ serviceAccount: create: true # -- Service account name to use. If `ServiceAccount.create` is false, this assumes an existing service account exists with the set name. If not set and `serviceAccount.create` is true, a name is generated using the fullname template. # @section -- Service Account configuration - name: "existing-sa" + name: "" # -- Additional annotations to add to the ServiceAccount # @section -- Service Account configuration annotations: {} @@ -312,6 +319,46 @@ ingress: # extraLabels: # app.kubernetes.io/environment: "staging" +route: + # -- Enables or disables the route + enabled: false + + # -- Set the route apiVersion, e.g. gateway.networking.k8s.io/v1 or gateway.networking.k8s.io/v1alpha2 + apiVersion: gateway.networking.k8s.io/v1 + + # -- Set the route kind + # Valid options are GRPCRoute, HTTPRoute, TCPRoute, TLSRoute, UDPRoute + kind: HTTPRoute + + # -- Annotations to add to the route + annotations: {} + # -- Labels to add to the route + labels: {} + + # -- Hostnames to match for the route + hostnames: [] + # - "open-webui.example.com" + + # -- References to the parent resources (e.g. Gateway) + parentRefs: [] + # - name: open-webui-gw + + # -- Enables HTTPS redirect for the route + httpsRedirect: false + + matches: + - path: + # -- Path match type. Note that custom path prefix is not supported in Open WebUI, so any non-default value will break. See https://github.com/open-webui/open-webui/discussions/3431 + type: PathPrefix + # -- Path match value + value: / + + # -- Filters define the filters that are applied to requests that match this rule. + filters: [] + + # -- Additional custom rules that can be added to the route + additionalRules: [] + persistence: # -- Enable persistence using PVC for Open WebUI data # @section -- Persistence configuration @@ -465,7 +512,7 @@ openaiApiKeys: [] # - "sk-4389759834759834" # -- Configure database URL, needed to work with Postgres (example: `postgresql://:@:/`), -# leave empty to use the default sqlite database. Alternatively, use extraEnvVars to construct the database URL by setting the `DATABASE_TYPE`, `DATABASE_USER`, `DATABASE_PASSWORD`, `DATABASE_HOST`, and `DATABASE_NAME` environment variables. +# leave empty to use the default sqlite database. Alternatively, use extraEnvVars to construct the database URL by setting the `DATABASE_TYPE`, `DATABASE_USER`, `DATABASE_PASSWORD`, `DATABASE_HOST`, `DATABASE_PORT`and `DATABASE_NAME` environment variables. Each DATABASE_* var must be set or database will default to sqlite. databaseUrl: "" @@ -476,6 +523,11 @@ extraEnvVars: secretKeyRef: name: open-webui key: redis_url + - name: REDIS_URL + valueFrom: + secretKeyRef: + name: open-webui + key: redis_url # - name: OPENAI_API_KEY # valueFrom: # secretKeyRef: