diff --git a/charts/open-webui/Chart.lock b/charts/open-webui/Chart.lock index 7b46876..47c1bc8 100644 --- a/charts/open-webui/Chart.lock +++ b/charts/open-webui/Chart.lock @@ -5,5 +5,8 @@ dependencies: - 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:6c74771bc35c3518657bbc18d2f62fd6e12b0846b13e9e4022ea83265c99c112 +generated: "2024-11-03T16:13:47.780327986Z" diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index cc91f58..6d5fa31 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -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/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..31f51cd 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -154,3 +154,5 @@ containerSecurityContext: # - ALL # seccompProfile: # type: "RuntimeDefault" +tika: + enabled: false