diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index aa12edc..dca5b30 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -28,6 +28,7 @@ jobs: run: | helm repo add ollama https://otwld.github.io/ollama-helm/ helm repo add open-webui https://helm.openwebui.com/ + helm repo add tika https://apache.jfrog.io/artifactory/tika/ - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 diff --git a/charts/open-webui/Chart.lock b/charts/open-webui/Chart.lock index 7b46876..9a53d56 100644 --- a/charts/open-webui/Chart.lock +++ b/charts/open-webui/Chart.lock @@ -1,9 +1,12 @@ dependencies: - name: ollama repository: https://otwld.github.io/ollama-helm/ - version: 0.63.1 + version: 0.64.0 - name: pipelines repository: https://helm.openwebui.com version: 0.0.4 -digest: sha256:ca806b2864a64f4e9107971c3228a3770016758f3492f6cd11025972f745a78b -generated: "2024-11-04T18:01:27.101973899+01:00" +- name: tika + repository: https://apache.jfrog.io/artifactory/tika + version: 2.9.0 +digest: sha256:91c12b702598527a8b602af6f229f975abc8bd7cf95c31324bc013bb919ff14e +generated: "2024-11-07T14:14:55.798831-07:00" diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index cc91f58..ac7a134 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: open-webui -version: 3.5.1 +version: 3.6.0 appVersion: "0.3.35" home: https://www.openwebui.com/ @@ -36,3 +36,7 @@ dependencies: - child: service parent: pipelines.service condition: pipelines.enabled + - name: tika + repository: https://apache.jfrog.io/artifactory/tika + version: ">=2.9.0" + condition: tika.enabled diff --git a/charts/open-webui/README.md b/charts/open-webui/README.md index 39cad1d..4b11b28 100644 --- a/charts/open-webui/README.md +++ b/charts/open-webui/README.md @@ -1,6 +1,6 @@ # open-webui -![Version: 3.5.1](https://img.shields.io/badge/Version-3.5.1-informational?style=flat-square) ![AppVersion: 0.3.35](https://img.shields.io/badge/AppVersion-0.3.35-informational?style=flat-square) +![Version: 3.6.0](https://img.shields.io/badge/Version-3.6.0-informational?style=flat-square) ![AppVersion: 0.3.35](https://img.shields.io/badge/AppVersion-0.3.35-informational?style=flat-square) Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋 @@ -32,6 +32,7 @@ helm upgrade --install open-webui open-webui/open-webui | Repository | Name | Version | |------------|------|---------| +| https://apache.jfrog.io/artifactory/tika | tika | >=2.9.0 | | https://helm.openwebui.com | pipelines | >=0.0.1 | | https://otwld.github.io/ollama-helm/ | ollama | >=0.24.0 | @@ -74,6 +75,7 @@ helm upgrade --install open-webui open-webui/open-webui | replicaCount | int | `1` | | | resources | object | `{}` | | | service | object | `{"annotations":{},"containerPort":8080,"labels":{},"loadBalancerClass":"","nodePort":"","port":80,"type":"ClusterIP"}` | Service values to expose Open WebUI pods to cluster | +| tika.enabled | bool | `false` | Automatically install Apache Tika to extend Open WebUI | | tolerations | list | `[]` | Tolerations for pod assignment | | topologySpreadConstraints | list | `[]` | Topology Spread Constraints for pod assignment | | volumeMounts | object | `{"container":[],"initContainer":[]}` | Configure container volume mounts ref: | diff --git a/charts/open-webui/charts/ollama-0.63.1.tgz b/charts/open-webui/charts/ollama-0.63.1.tgz deleted file mode 100644 index 661c8e8..0000000 Binary files a/charts/open-webui/charts/ollama-0.63.1.tgz and /dev/null differ diff --git a/charts/open-webui/charts/ollama-0.64.0.tgz b/charts/open-webui/charts/ollama-0.64.0.tgz new file mode 100644 index 0000000..fab1ede Binary files /dev/null and b/charts/open-webui/charts/ollama-0.64.0.tgz differ diff --git a/charts/open-webui/charts/tika-2.9.0.tgz b/charts/open-webui/charts/tika-2.9.0.tgz new file mode 100644 index 0000000..8db6562 Binary files /dev/null and b/charts/open-webui/charts/tika-2.9.0.tgz differ diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml index baaab44..af5ff9f 100644 --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -101,6 +101,12 @@ spec: {{- if .Values.extraEnvVars }} {{- toYaml .Values.extraEnvVars | nindent 8 }} {{- end }} + {{- if .Values.tika.enabled }} + - name: "CONTENT_EXTRACTION_ENGINE" + value: "Tika" + - name: "TIKA_SERVER_URL" + value: http://{{ .Chart.Name }}-tika:9998 + {{- end }} tty: true {{- with .Values.nodeSelector }} nodeSelector: diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 6a74d97..a6e8e09 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -24,6 +24,10 @@ pipelines: # -- This section can be used to pass required environment variables to your pipelines (e.g. Langfuse hostname) extraEnvVars: [] +tika: + # -- Automatically install Apache Tika to extend Open WebUI + enabled: false + # -- A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it. ollamaUrls: []