Compare commits

..

44 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
James W.
645edec699 Merge pull request #93 from bergutman/main 2024-10-08 06:11:10 -07:00
Ber Gutman
5cc0d44aba Update to v0.3.32 2024-10-07 14:53:29 +02:00
James W.
8672c78ac5 Merge pull request #92 from bergutman/main
Update to v0.3.30
2024-10-05 11:07:07 -07:00
Ber Gutman
5e3237a972 Update to v0.3.30 2024-10-05 13:36:06 +02:00
James W.
4f1fa4718e Merge pull request #88 from saip92/saip92/move-env-vars-to-stateful-set
Move extraEnvVars to Workload from ConfigMap
2024-10-01 19:38:22 -07:00
Pramod Valavala
119fdd2f2d Update chart version 2024-10-01 22:26:55 -04:00
Pramod Valavala
a16cdd4477 Move extraEnvVars to Workload from ConfigMap 2024-09-27 21:13:33 -04:00
James W.
4ee3936555 Merge pull request #85 from open-webui/feat-env-configmap
feat: Move env vars from deployment to a configmap for easier management
2024-09-26 22:51:18 -06:00
0xThresh.eth
09184d93d9 feat: Move env vars from deployment to a configmap for easier management 2024-09-26 22:49:51 -06:00
James W.
bb0f668201 Merge pull request #84 from davizucon/main
FIX: ollama url and env vars when ollama.enabled=False
2024-09-26 20:17:26 -06:00
Davi S. Zucon
6ebb3da9d2 Bump appVersion to 0.3.24
Bump appVersion to 0.3.24
2024-09-26 23:14:21 -03:00
Davi Sclifo Zucon
6c7b42517d fix: Set ollama url and env vars if ollama.enabled=False, bump version to 3.1.19 2024-09-25 12:09:24 -03:00
Davi Sclifo Zucon
2062a5d4e6 fix: Set ollama url and env vars if ollama.enabled=False 2024-09-25 11:54:36 -03:00
James W.
63055b910d Merge pull request #81 from bergutman/main
Update to v0.3.23
2024-09-22 12:39:53 -06:00
James W.
a3c255d9c3 Merge branch 'main' into main 2024-09-22 12:39:38 -06:00
James W.
3a339ccb8d Merge pull request #82 from open-webui/v0.3.22
Update to v0.3.22 and Ollama to latest
2024-09-22 12:17:44 -06:00
0xThresh.eth
056de60090 Update to v0.3.22 and Ollama to latest 2024-09-22 12:17:04 -06:00
Ber Gutman
07fa518798 Upgrade to v0.3.23 2024-09-21 07:47:47 +02:00
Ber Gutman
5b87076f92 Update to v0.3.22 2024-09-20 17:51:19 +02:00
James W.
f8a5fdfb61 Merge pull request #78 from open-webui/0.3.21
Update to v0.3.21
2024-09-12 21:57:20 -06:00
0xThresh.eth
338ecfd26c Update to v0.3.21 2024-09-12 21:56:42 -06:00
James W.
4d7ea6759e Merge pull request #77 from open-webui/0.3.19
Update to v0.3.19
2024-09-12 21:49:59 -06:00
0xThresh.eth
39bc3aaf4c Update to v0.3.19 2024-09-12 21:49:43 -06:00
James W.
0b637b28d6 Merge pull request #76 from open-webui/0.3.18
Update to v0.3.18
2024-09-12 21:47:10 -06:00
0xThresh.eth
450afb1c4d Update to v0.3.18 2024-09-12 21:46:42 -06:00
12 changed files with 146 additions and 29 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.58.0
version: 0.64.0
- name: pipelines
repository: https://helm.openwebui.com
version: 0.0.4
digest: sha256:d70b73014c68843929d723f1709e935c8cf3df5c6f9f13e3ae9f5c747af57dfb
generated: "2024-09-12T21:14:52.482218-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.1.13
appVersion: "0.3.17"
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.1.9](https://img.shields.io/badge/Version-3.1.8-informational?style=flat-square) ![AppVersion: 0.3.13](https://img.shields.io/badge/AppVersion-0.3.13-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 |
@@ -43,9 +44,9 @@ helm upgrade --install open-webui open-webui/open-webui
| annotations | object | `{}` | |
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
| containerSecurityContext | object | `{}` | Configure container security context ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> |
| extraEnvVars | list | `[{"name":"OPENAI_API_KEY","value":"0p3n-w3bu!"}]` | Additional environments variables on the output Deployment definition. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/ |
| 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 |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/open-webui/open-webui","tag":"latest"}` | Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui |
| 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/pkgs/container/open-webui |
| imagePullSecrets | list | `[]` | Configure imagePullSecrets to use private registry ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry> |
| ingress.annotations | object | `{}` | Use appropriate annotations for your Ingress controller, e.g., for NGINX: nginx.ingress.kubernetes.io/rewrite-target: / |
| ingress.class | string | `""` | |
@@ -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,22 +78,35 @@ 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:
- name: OLLAMA_BASE_URLS
{{- if or .Values.ollamaUrls .Values.ollama.enabled }}
- name: "OLLAMA_BASE_URLS"
value: {{ include "ollamaBaseUrls" . | quote }}
{{ if .Values.pipelines.enabled }}
- name: OPENAI_API_BASE_URL
{{- else }}
- name: "ENABLE_OLLAMA_API"
value: "False"
{{- end }}
- name: "OPENAI_API_BASE_URL"
{{- if .Values.pipelines.enabled }}
value: {{ include "pipelines.serviceEndpoint" . }}
{{ else if .Values.openaiBaseApiUrl }}
- name: OPENAI_API_BASE_URL
value: {{ .Values.openaiBaseApiUrl }}
{{ else }}
- name: OPENAI_API_BASE_URL
value: "https://api.openai.com/v1"
{{ end }}
{{- else if .Values.openaiBaseApiUrl }}
value: {{ .Values.openaiBaseApiUrl | quote }}
{{- end }}
{{- 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:
@@ -118,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
@@ -92,7 +98,7 @@ service:
# -- 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
openaiBaseApiUrl: ""
# -- Additional environments variables on the output Deployment definition. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/
# -- 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:
# -- 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
@@ -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"
}
}