diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index e3feba1..ca9dbdc 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: open-webui -version: 5.21.0 +version: 5.22.0 appVersion: 0.5.16 home: https://www.openwebui.com/ icon: >- diff --git a/charts/open-webui/README.md b/charts/open-webui/README.md index 2d3e5d0..1b402ac 100644 --- a/charts/open-webui/README.md +++ b/charts/open-webui/README.md @@ -1,6 +1,6 @@ # open-webui -![Version: 5.21.0](https://img.shields.io/badge/Version-5.21.0-informational?style=flat-square) ![AppVersion: 0.5.16](https://img.shields.io/badge/AppVersion-0.5.16-informational?style=flat-square) +![Version: 5.22.0](https://img.shields.io/badge/Version-5.22.0-informational?style=flat-square) ![AppVersion: 0.5.16](https://img.shields.io/badge/AppVersion-0.5.16-informational?style=flat-square) Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋 @@ -48,8 +48,10 @@ helm upgrade --install open-webui open-webui/open-webui | clusterDomain | string | `"cluster.local"` | Value of cluster domain | | containerSecurityContext | object | `{}` | Configure container security context ref: | | copyAppData.resources | object | `{}` | | +| enableOpenaiApi | bool | `true` | Enables the use of OpenAI APIs | | extraEnvVars | list | `[{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}]` | Env vars added to the Open WebUI deployment. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ | | extraEnvVars[0] | object | `{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}` | Default API key value for Pipelines. Should be updated in a production deployment, or be changed to the required API key if not using Pipelines | +| extraInitContainers | list | `[]` | Additional init containers to add to the deployment/statefulset ref: | | extraResources | list | `[]` | Extra resources to deploy with Open WebUI | | hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container | | image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/open-webui","tag":""}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui | @@ -77,7 +79,6 @@ helm upgrade --install open-webui open-webui/open-webui | ollama.fullnameOverride | string | `"open-webui-ollama"` | 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 | | ollamaUrls | list | `[]` | A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it. | | ollamaUrlsFromExtraEnv | bool | `false` | Disables taking Ollama Urls from `ollamaUrls` list | -| enableOpenaiApi | bool | `true` | Enables the use of OpenAI APIs | openaiBaseApiUrl | string | `"https://api.openai.com/v1"` | OpenAI base API URL to use. Defaults to the Pipelines service endpoint when Pipelines are enabled, and "https://api.openai.com/v1" if Pipelines are not enabled and this value is blank | | openaiBaseApiUrls | list | `[]` | OpenAI base API URLs to use. Overwrites the value in openaiBaseApiUrl if set | | persistence.accessModes | list | `["ReadWriteOnce"]` | If using multiple replicas, you must update accessModes to ReadWriteMany | diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml index 781ca89..e5ea8f3 100644 --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -69,6 +69,9 @@ spec: {{- with .Values.volumeMounts.initContainer }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.extraInitContainers }} + {{- toYaml . | nindent 6 }} + {{- end }} enableServiceLinks: false automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }} {{- if .Values.serviceAccount.enable }} diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 46b3f5c..0e7acdf 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -265,7 +265,7 @@ service: labels: {} loadBalancerClass: "" -# Enables the use of OpenAI APIs +# -- Enables the use of OpenAI APIs enableOpenaiApi: true # -- OpenAI base API URL to use. Defaults to the Pipelines service endpoint when Pipelines are enabled, and "https://api.openai.com/v1" if Pipelines are not enabled and this value is blank @@ -303,6 +303,16 @@ volumeMounts: # - name: "" # mountPath: "" +# -- Additional init containers to add to the deployment/statefulset +# ref: +extraInitContainers: [] +# - name: custom-init +# image: busybox:latest +# command: ['sh', '-c', 'echo "Custom init container running"'] +# volumeMounts: +# - name: data +# mountPath: /data + # -- Configure pod volumes # ref: volumes: [] diff --git a/charts/pipelines/Chart.yaml b/charts/pipelines/Chart.yaml index 016b1c9..7a90f37 100644 --- a/charts/pipelines/Chart.yaml +++ b/charts/pipelines/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pipelines -version: 0.4.0 +version: 0.5.0 appVersion: "alpha" home: https://github.com/open-webui/pipelines diff --git a/charts/pipelines/README.md b/charts/pipelines/README.md index 2442639..0e50dda 100644 --- a/charts/pipelines/README.md +++ b/charts/pipelines/README.md @@ -1,6 +1,6 @@ # pipelines -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square) +![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square) Pipelines: UI-Agnostic OpenAI API Plugin Framework @@ -35,7 +35,9 @@ helm upgrade --install open-webui open-webui/pipelines | clusterDomain | string | `"cluster.local"` | Value of cluster domain | | extraEnvVars | list | `[{"name":"PIPELINES_URLS","value":"https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py"}]` | Additional environments variables on the output Deployment definition. These are used to pull initial Pipeline files, and help configure Pipelines with required values (e.g. Langfuse API keys) | | extraEnvVars[0] | object | `{"name":"PIPELINES_URLS","value":"https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py"}` | Example pipeline to pull and load on deployment startup, see current pipelines here: https://github.com/open-webui/pipelines/blob/main/examples | +| extraInitContainers | list | `[]` | Additional init containers to add to the deployment ref: | | extraResources | list | `[]` | Extra resources to deploy with Open WebUI Pipelines | +| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container | | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"ghcr.io/open-webui/pipelines"` | | | image.tag | string | `"main"` | | @@ -71,7 +73,6 @@ helm upgrade --install open-webui open-webui/pipelines | serviceAccount.enable | bool | `true` | | | strategy | object | `{}` | Strategy for updating the deployment | | tolerations | list | `[]` | Tolerations for pod assignment | -| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container | | volumeMounts | list | `[]` | Configure container volume mounts ref: | | volumes | list | `[]` | Configure pod volumes ref: | diff --git a/charts/pipelines/templates/deployment.yaml b/charts/pipelines/templates/deployment.yaml index 3855929..4bb2d78 100644 --- a/charts/pipelines/templates/deployment.yaml +++ b/charts/pipelines/templates/deployment.yaml @@ -34,6 +34,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.extraInitContainers }} + initContainers: + {{- toYaml . | nindent 8 }} + {{- end }} enableServiceLinks: false automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken | default false }} {{- if .Values.serviceAccount.enable }} diff --git a/charts/pipelines/values.yaml b/charts/pipelines/values.yaml index 2bd6dde..5ee4459 100644 --- a/charts/pipelines/values.yaml +++ b/charts/pipelines/values.yaml @@ -99,6 +99,16 @@ volumeMounts: [] # - name: "" # mountPath: "" +# -- Additional init containers to add to the deployment +# ref: +extraInitContainers: [] +# - name: custom-init +# image: busybox:latest +# command: ['sh', '-c', 'echo "Custom init container running"'] +# volumeMounts: +# - name: data +# mountPath: /data + # -- Configure pod volumes # ref: volumes: []