Compare commits

...

20 Commits

Author SHA1 Message Date
James W.
45d5c2a26e Merge pull request #111 from open-webui/v4.0.0
feat!: Release v0.4.0 and upgrade Ollama
2024-11-24 12:48:56 -07:00
0xThresh.eth
b1e7ce6cea Upgrade Ollama 2024-11-24 12:42:58 -07:00
0xThresh.eth
f71d21d5e4 feat!: Release v4.0.0 the right way 2024-11-24 12:30:28 -07:00
0xThresh
30707d473d chore(release) bump version to 3.8.0 2024-11-24 19:27:56 +00:00
James W.
01fd07172c Merge pull request #106 from zadjadr/zadjadr/ingress
feat: allow additionalHosts for ingress
2024-11-24 12:27:23 -07:00
Zadjad Rezai
5cf03b48a0 feat: allow additionalHosts for ingress 2024-11-20 08:01:31 +00:00
James W.
48ab03c9d6 Release v0.4.0 2024-11-19 17:05:55 -07:00
0xThresh
1cdb232649 chore(release) bump version to 3.7.0 2024-11-10 21:22:59 +00:00
James W.
242bfa2827 Merge pull request #105 from open-webui/update-ollama-chart
feat: Update Ollama chart version
2024-11-10 14:22:23 -07:00
0xThresh.eth
7514e5a5d7 feat: Update Ollama chart version 2024-11-10 14:21:55 -07:00
0xThresh
cba16a4f3f chore(release) bump version to 1.0.0 2024-11-09 05:31:12 +00:00
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
12 changed files with 114 additions and 16 deletions

View File

@@ -5,10 +5,45 @@ on:
branches: branches:
- main - main
paths: paths:
- "charts/*/Chart.yaml" - "charts/**"
jobs: 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: release:
needs: semantic-release
permissions: permissions:
contents: write contents: write
packages: write packages: write
@@ -28,6 +63,7 @@ jobs:
run: | run: |
helm repo add ollama https://otwld.github.io/ollama-helm/ helm repo add ollama https://otwld.github.io/ollama-helm/
helm repo add open-webui https://helm.openwebui.com/ helm repo add open-webui https://helm.openwebui.com/
helm repo add tika https://apache.jfrog.io/artifactory/tika/
- name: Run chart-releaser - name: Run chart-releaser
uses: helm/chart-releaser-action@v1.6.0 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: dependencies:
- name: ollama - name: ollama
repository: https://otwld.github.io/ollama-helm/ repository: https://otwld.github.io/ollama-helm/
version: 0.63.0 version: 0.67.0
- name: pipelines - name: pipelines
repository: https://helm.openwebui.com repository: https://helm.openwebui.com
version: 0.0.4 version: 0.0.4
digest: sha256:98f3cc893c38dc842b6a7a127a440741154097c387e03728a1acda2da393c322 - name: tika
generated: "2024-10-21T05:46:40.986589501-04:00" repository: https://apache.jfrog.io/artifactory/tika
version: 2.9.0
digest: sha256:fac9d8b93937791cd066e983ae12f7d5d57adc9b3e8c8e4854fd68ebdef54237
generated: "2024-11-24T12:42:43.794305-07:00"

View File

@@ -1,38 +1,38 @@
apiVersion: v2 apiVersion: v2
name: open-webui name: open-webui
version: 3.4.3 version: 3.8.0
appVersion: "0.3.35" appVersion: 0.4.0
home: https://www.openwebui.com/ home: https://www.openwebui.com/
icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png icon: >-
https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png
description: "Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋" description: 'Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋'
keywords: keywords:
- llm - llm
- chat - chat
- web-ui - web-ui
sources: sources:
- https://github.com/open-webui/helm-charts - https://github.com/open-webui/helm-charts
- https://github.com/open-webui/open-webui/pkgs/container/open-webui - https://github.com/open-webui/open-webui/pkgs/container/open-webui
- https://github.com/otwld/ollama-helm/ - https://github.com/otwld/ollama-helm/
- https://hub.docker.com/r/ollama/ollama - https://hub.docker.com/r/ollama/ollama
annotations: annotations:
licenses: MIT licenses: MIT
dependencies: dependencies:
- name: ollama - name: ollama
repository: https://otwld.github.io/ollama-helm/ repository: https://otwld.github.io/ollama-helm/
version: ">=0.24.0" version: '>=0.24.0'
import-values: import-values:
- child: service - child: service
parent: ollama.service parent: ollama.service
condition: ollama.enabled condition: ollama.enabled
- name: pipelines - name: pipelines
repository: https://helm.openwebui.com repository: https://helm.openwebui.com
version: ">=0.0.1" version: '>=0.0.1'
import-values: import-values:
- child: service - child: service
parent: pipelines.service parent: pipelines.service
condition: pipelines.enabled 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 # open-webui
![Version: 3.4.0](https://img.shields.io/badge/Version-3.4.0-informational?style=flat-square) ![AppVersion: 0.3.32](https://img.shields.io/badge/AppVersion-0.3.32-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 👋 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 | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://apache.jfrog.io/artifactory/tika | tika | >=2.9.0 |
| https://helm.openwebui.com | pipelines | >=0.0.1 | | https://helm.openwebui.com | pipelines | >=0.0.1 |
| https://otwld.github.io/ollama-helm/ | ollama | >=0.24.0 | | 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.selector | object | `{}` | |
| persistence.size | string | `"2Gi"` | | | persistence.size | string | `"2Gi"` | |
| persistence.storageClass | string | `""` | | | 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.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) | | pipelines.extraEnvVars | list | `[]` | This section can be used to pass required environment variables to your pipelines (e.g. Langfuse hostname) |
| podAnnotations | object | `{}` | | | podAnnotations | object | `{}` | |
@@ -73,6 +75,7 @@ helm upgrade --install open-webui open-webui/open-webui
| replicaCount | int | `1` | | | replicaCount | int | `1` | |
| resources | object | `{}` | | | resources | object | `{}` | |
| service | object | `{"annotations":{},"containerPort":8080,"labels":{},"loadBalancerClass":"","nodePort":"","port":80,"type":"ClusterIP"}` | Service values to expose Open WebUI pods to cluster | | 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 | | tolerations | list | `[]` | Tolerations for pod assignment |
| topologySpreadConstraints | list | `[]` | Topology Spread Constraints 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/> | | volumeMounts | object | `{"container":[],"initContainer":[]}` | Configure container volume mounts ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |

Binary file not shown.

Binary file not shown.

View File

@@ -17,6 +17,9 @@ spec:
tls: tls:
- hosts: - hosts:
- {{ .Values.ingress.host | quote }} - {{ .Values.ingress.host | quote }}
{{- range .Values.ingress.additionalHosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ default (printf "%s-tls" .Release.Name) .Values.ingress.existingSecret }} secretName: {{ default (printf "%s-tls" .Release.Name) .Values.ingress.existingSecret }}
{{- end }} {{- end }}
rules: rules:
@@ -30,4 +33,16 @@ spec:
name: {{ include "open-webui.name" . }} name: {{ include "open-webui.name" . }}
port: port:
name: http name: http
{{- range .Values.ingress.additionalHosts }}
- host: {{ . | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ include "open-webui.name" $ }}
port:
name: http
{{- end }}
{{- end }} {{- end }}

View File

@@ -47,6 +47,9 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /tmp/app-data mountPath: /tmp/app-data
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- with .Values.volumeMounts.initContainer }} {{- with .Values.volumeMounts.initContainer }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
@@ -75,6 +78,9 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /app/backend/data mountPath: /app/backend/data
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- with .Values.volumeMounts.container }} {{- with .Values.volumeMounts.container }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
@@ -95,6 +101,12 @@ spec:
{{- if .Values.extraEnvVars }} {{- if .Values.extraEnvVars }}
{{- toYaml .Values.extraEnvVars | nindent 8 }} {{- toYaml .Values.extraEnvVars | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.tika.enabled }}
- name: "CONTENT_EXTRACTION_ENGINE"
value: "Tika"
- name: "TIKA_SERVER_URL"
value: http://{{ .Chart.Name }}-tika:9998
{{- end }}
tty: true tty: true
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:

View File

@@ -24,6 +24,10 @@ pipelines:
# -- This section can be used to pass required environment variables to your pipelines (e.g. Langfuse hostname) # -- This section can be used to pass required environment variables to your pipelines (e.g. Langfuse hostname)
extraEnvVars: [] 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. # -- 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: [] ollamaUrls: []
@@ -53,6 +57,7 @@ ingress:
# nginx.ingress.kubernetes.io/rewrite-target: / # nginx.ingress.kubernetes.io/rewrite-target: /
annotations: {} annotations: {}
host: "" host: ""
additionalHosts: []
tls: false tls: false
existingSecret: "" existingSecret: ""
persistence: persistence:
@@ -60,6 +65,8 @@ persistence:
size: 2Gi size: 2Gi
# -- Use existingClaim if you want to re-use an existing Open WebUI PVC instead of creating a new one # -- Use existingClaim if you want to re-use an existing Open WebUI PVC instead of creating a new one
existingClaim: "" 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 # -- If using multiple replicas, you must update accessModes to ReadWriteMany
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
@@ -137,6 +144,7 @@ podSecurityContext:
# supplementalGroups: [] # supplementalGroups: []
# fsGroup: 1001 # fsGroup: 1001
# -- Configure container security context # -- Configure container security context
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> # ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe>
containerSecurityContext: containerSecurityContext:

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"
}
}