Compare commits

...

19 Commits

Author SHA1 Message Date
James W.
bc32f167f2 Enable Automatic Updates of Chart Versions (#104) 2024-11-08 21:30:36 -08:00
James W.
c70affc35c Merge pull request #101 from okamototk/tika-support
feat: add Apache Tika dependency
2024-11-07 15:14:05 -07:00
0xThresh.eth
6a61802dab Bundle in Tika chart, update docs, update Ollama chart to latest 2024-11-07 15:13:14 -07:00
0xThresh.eth
54961fc38b Updated Chart version and docs 2024-11-07 14:11:43 -07:00
Takashi Okamoto
7fb97e6a35 feat: add Apache Tika dependency 2024-11-07 09:11:56 +00:00
James W.
008268d3fd Merge pull request #102 from windsource/main
Update ollama chart to 0.63.1
2024-11-05 14:47:43 -07:00
windsource
4637db000e Update ollama chart to 0.63.1 2024-11-04 18:06:50 +01:00
James W.
b0debd2d81 Merge pull request #100 from windsource/main
Support subPath for persistent volumes
2024-11-03 11:10:02 -07:00
windsource
5ebf1e3593 Support subPath for persistent volumes 2024-11-02 16:37:07 +01:00
James W.
125f67ec5c Merge pull request #97 from bergutman/main
Update to v0.3.35
2024-10-26 20:54:27 -07:00
Ber Gutman
d919ea1b42 Update to v0.3.35 2024-10-26 19:06:52 -07:00
Ber Gutman
c30ab597bb Update to v0.3.34 2024-10-26 08:19:51 -07:00
Ber Gutman
941176514c Update to v0.3.33 2024-10-24 19:49:53 -07:00
James W.
7c753cf117 Merge pull request #96 from hongbo-miao/patch-1 2024-10-22 09:00:23 -07:00
Hongbo Miao
7605066b8e docs: add how to set custom api key 2024-10-22 03:19:08 -07:00
James W.
dfe63ed352 Merge pull request #94 from ssc-dsai/feat-extra-volumes 2024-10-21 07:41:31 -07:00
Justin Bertrand
22d99dd349 chore: update version, docs, and dependencies. 2024-10-21 05:47:46 -04:00
Justin Bertrand
b07888478a fix: indentation. 2024-10-16 12:41:51 -04:00
Justin Bertrand
f93c4949c9 feat(volumes): add the ability to specify volumes and mounts. 2024-10-16 10:21:10 -04:00
12 changed files with 133 additions and 17 deletions

View File

@@ -5,10 +5,45 @@ on:
branches:
- main
paths:
- "charts/*/Chart.yaml"
- "charts/**"
jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
# Checkout repo
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: Install yq
run: |
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq &&\
chmod +x yq
- name: Get version
id: get_version
run: |
echo "VERSION=$(cat charts/open-webui/Chart.yaml | ./yq -r '.version')" >> $GITHUB_OUTPUT
- name: Commit Chart.yaml
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(release) bump version to ${{ steps.get_version.outputs.VERSION }}'
file_pattern: 'charts/open-webui/Chart.yaml'
release:
needs: semantic-release
permissions:
contents: write
packages: write
@@ -28,6 +63,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

14
.releaserc Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "helm-charts",
"branches": ["main"],
"plugins": [
[
"semantic-release-helm",
{
chartPath: './charts/open-webui',
crPublish: false,
onlyUpdateVersion: true
}
]
]
}

View File

@@ -1,9 +1,12 @@
dependencies:
- name: ollama
repository: https://otwld.github.io/ollama-helm/
version: 0.59.0
version: 0.64.0
- name: pipelines
repository: https://helm.openwebui.com
version: 0.0.4
digest: sha256:bfba828139ce6280e2fc9020cb933b8760e89ff1bbc66bee443d292af7ac1db1
generated: "2024-09-22T12:16:31.226566428-06: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:10"

View File

@@ -1,38 +1,38 @@
apiVersion: v2
name: open-webui
version: 3.3.2
appVersion: "0.3.32"
version: 3.6.0
appVersion: 0.3.36
home: https://www.openwebui.com/
icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png
description: "Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋"
icon: >-
https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png
description: 'Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋'
keywords:
- llm
- chat
- web-ui
sources:
- https://github.com/open-webui/helm-charts
- https://github.com/open-webui/open-webui/pkgs/container/open-webui
- https://github.com/otwld/ollama-helm/
- https://hub.docker.com/r/ollama/ollama
annotations:
licenses: MIT
dependencies:
- name: ollama
repository: https://otwld.github.io/ollama-helm/
version: ">=0.24.0"
version: '>=0.24.0'
import-values:
- child: service
parent: ollama.service
condition: ollama.enabled
- name: pipelines
repository: https://helm.openwebui.com
version: ">=0.0.1"
version: '>=0.0.1'
import-values:
- child: service
parent: pipelines.service
condition: pipelines.enabled
- name: tika
repository: https://apache.jfrog.io/artifactory/tika
version: '>=2.9.0'
condition: tika.enabled

View File

@@ -1,6 +1,6 @@
# open-webui
![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![AppVersion: 0.3.24](https://img.shields.io/badge/AppVersion-0.3.24-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 |
@@ -66,6 +67,7 @@ helm upgrade --install open-webui open-webui/open-webui
| persistence.selector | object | `{}` | |
| persistence.size | string | `"2Gi"` | |
| persistence.storageClass | string | `""` | |
| persistence.subPath | string | `""` | Subdirectory of Open WebUI PVC to mount. Useful if root directory is not empty. |
| pipelines.enabled | bool | `true` | Automatically install Pipelines chart to extend Open WebUI functionality using Pipelines: https://github.com/open-webui/pipelines |
| pipelines.extraEnvVars | list | `[]` | This section can be used to pass required environment variables to your pipelines (e.g. Langfuse hostname) |
| podAnnotations | object | `{}` | |
@@ -73,8 +75,11 @@ 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: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
| volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
----------------------------------------------

Binary file not shown.

Binary file not shown.

View File

@@ -47,6 +47,12 @@ spec:
volumeMounts:
- name: data
mountPath: /tmp/app-data
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- with .Values.volumeMounts.initContainer }}
{{- toYaml . | nindent 8 }}
{{- end }}
enableServiceLinks: false
automountServiceAccountToken: false
{{- with .Values.podSecurityContext }}
@@ -72,6 +78,12 @@ spec:
volumeMounts:
- name: data
mountPath: /app/backend/data
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- with .Values.volumeMounts.container }}
{{- toYaml . | nindent 8 }}
{{- end }}
env:
{{- if or .Values.ollamaUrls .Values.ollama.enabled }}
- name: "OLLAMA_BASE_URLS"
@@ -89,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:
@@ -119,3 +137,6 @@ spec:
persistentVolumeClaim:
claimName: {{ include "open-webui.name" . }}
{{- end }}
{{- with .Values.volumes }}
{{- toYaml . | nindent 6 }}
{{- end }}

View File

@@ -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: []
@@ -60,6 +64,8 @@ persistence:
size: 2Gi
# -- Use existingClaim if you want to re-use an existing Open WebUI PVC instead of creating a new one
existingClaim: ""
# -- Subdirectory of Open WebUI PVC to mount. Useful if root directory is not empty.
subPath: ""
# -- If using multiple replicas, you must update accessModes to ReadWriteMany
accessModes:
- ReadWriteOnce
@@ -93,7 +99,7 @@ service:
openaiBaseApiUrl: ""
# -- 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:
extraEnvVars:
# -- 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
- name: OPENAI_API_KEY
value: "0p3n-w3bu!"
@@ -109,6 +115,25 @@ extraEnvVars:
# - name: OLLAMA_DEBUG
# value: "1"
# -- Configure container volume mounts
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/>
volumeMounts:
initContainer: []
# - name: ""
# mountPath: ""
container: []
# - name: ""
# mountPath: ""
# -- Configure pod volumes
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/>
volumes: []
# - name: ""
# configMap:
# name: ""
# - name: ""
# emptyDir: {}
# -- Configure pod security context
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe>
podSecurityContext:

View File

@@ -61,6 +61,11 @@ extraEnvVars:
# -- Example pipeline to pull and load on deployment startup, see current pipelines here: https://github.com/open-webui/pipelines/blob/main/examples
- name: PIPELINES_URLS
value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py"
# - name: PIPELINES_API_KEY
# valueFrom:
# secretKeyRef:
# name: pipelines-keys
# key: pipelines-api-key
# -- Langfuse example, including values used in Langfuse filter to connect
# - name: PIPELINES_URLS
# value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py"

7
package.json Normal file
View File

@@ -0,0 +1,7 @@
{
"devDependencies": {
"@semantic-release/github": "^9.0.3",
"semantic-release": "^21.0.5",
"semantic-release-helm": "^2.2.0"
}
}