Compare commits

..

93 Commits

Author SHA1 Message Date
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
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
James W.
d234e766b2 Merge pull request #75 from open-webui/0.3.17
Update to v0.3.17
2024-09-12 21:44:15 -06:00
0xThresh.eth
e1b6ba25d3 Update to v0.3.17 2024-09-12 21:43:14 -06:00
James W.
35ce1ec7fc Merge pull request #74 from open-webui/0.3.16
Update to v0.3.16
2024-09-12 21:39:58 -06:00
0xThresh.eth
d72e66c82f Update to v0.3.16 2024-09-12 21:39:36 -06:00
James W.
dbacb4e63e Merge pull request #73 from open-webui/0.3.15
Update to v0.3.15
2024-09-12 21:33:42 -06:00
0xThresh.eth
4cd3137680 Update to v0.3.15 2024-09-12 21:33:17 -06:00
James W.
179bc9c08c Merge pull request #72 from open-webui/0.3.14
Update dependent charts, remove latest tag from values, and upgrade to v0.3.14
2024-09-12 21:29:00 -06:00
0xThresh.eth
73673db0c6 Update dependent charts, remove latest tag from values, and upgrade to v0.3.14 2024-09-12 21:27:50 -06:00
James W.
6475d5af98 Merge pull request #69 from open-webui/fix-svc-typo
Fix service typo from last PR
2024-08-31 14:26:53 -06:00
James W.
20af7b89cf Update README.md 2024-08-31 14:26:29 -06:00
James W.
d0db4c5ca3 Update Chart.yaml 2024-08-31 14:26:13 -06:00
James W.
bda4bcfd48 Update service.yaml 2024-08-31 14:24:45 -06:00
James W.
13980b1fcc Merge pull request #68 from harunanase/main
Fix condition case on `loadBalancerIP`
2024-08-31 11:42:27 -06:00
haruna
2f21841a00 feat: update open-webui chart version to 3.1.8 2024-08-31 16:16:21 +08:00
haruna
7b564ed2f0 fix: open-webui svc condition case on loadBalancerIP 2024-08-31 16:10:53 +08:00
James W.
400052429b Merge pull request #65 from chr0n1x/ollama-bump
feat: bump ollama chart to 0.54
2024-08-22 16:51:15 -06:00
chr0n1x
abe5ce38bc feat: bump ollama chart to 0.54
Bumping for https://github.com/otwld/ollama-helm/pull/89
2024-08-19 19:49:35 -04:00
James W.
b4080434ea Merge pull request #64 from open-webui/owui-dependency
Update bundled Pipelines chart
2024-08-17 21:15:38 -06:00
0xThresh.eth
ad063a989d Update README 2024-08-17 21:14:24 -06:00
0xThresh.eth
19527a43c7 Update OWUI chart version 2024-08-17 21:13:58 -06:00
0xThresh.eth
93d318ce41 Updated Pipelines version in OWUI chart 2024-08-17 21:13:25 -06:00
James W.
723c33e3f2 Merge pull request #63 from open-webui/pipelines-0.0.4
Update Pipelines chart version
2024-08-17 21:11:12 -06:00
James W.
17e1e7d61a Update Pipelines chart version 2024-08-17 20:10:43 -07:00
James W.
7f7aa04351 Merge pull request #62 from marlapativ/pullsecrets
feat: adding imagepullsecrets to open-webui and pipelines
2024-08-17 21:10:06 -06:00
James W.
80be808ed1 Delay update on Pipelines chart version
There's a bug with the Helm releaser Github action that prevents you from releasing multiple charts in the same PR, so I'll merge this PR without updating the chart version and update that in a separate PR to trigger that action.
2024-08-17 20:09:05 -07:00
Marlapati Venkata Naga Sai Teja[marlapativ]
4256a677f2 fix: chart version update and readme update 2024-08-17 00:32:21 -04:00
Marlapati Venkata Naga Sai Teja[marlapativ]
5c438db555 feat: adding imagepullsecrets to open-webui and pipelines 2024-08-17 00:03:43 -04:00
James W.
3003028420 Merge pull request #61 from open-webui/bug-reset-config
Fix init container to leave existing files intact
2024-08-15 21:45:02 -06:00
0xThresh.eth
c486164e97 Fix init container to leave existing files intact 2024-08-15 21:44:27 -06:00
James W.
a0ae9b172e Merge pull request #58 from aschaber1/main
feat: Add topologySpreadConstraints to workload-manager.yaml template
2024-08-15 20:44:56 -06:00
0xThresh.eth
d492339dd7 Update version and docs 2024-08-15 20:31:22 -06:00
Alexander Schaber
a1e073f557 feat: Add topologySpreadConstraints to workload-manager.yaml template 2024-08-09 00:54:39 +02:00
James W.
3cf4514166 Merge pull request #57 from 0xThresh/feat-owui-0.3.9
Upgrade Chart Dependencies
2024-08-04 18:54:36 -06:00
0xThresh.eth
0b5fb66ac2 Updated dependent charts 2024-08-04 18:39:47 -06:00
0xThresh.eth
961bbcda2c Upgrade OWUI to v0.3.9 2024-08-04 18:13:03 -06:00
0xThresh
803c99e135 Merge pull request #55 from chgl/publish-as-an-oci-artifact
Push the helm charts to ghcr.io as an OCI artifact
2024-07-30 22:37:06 -06:00
chgl
de2f698c72 Also apply the container security context to the initContainer (#54) 2024-07-28 14:48:48 -07:00
chgl
7273974943 Push the helm charts to ghcr.io as an OCI artifact 2024-07-27 13:21:06 +02:00
0xThresh
b7b6bc2022 fix: Use init container fix offline install issue (#53) 2024-07-23 17:20:07 -07:00
0xThresh
dd918f0216 Merge pull request #51 from chgl/make-security-context-configurable
feat: configure pod and container security context settings
2024-07-20 17:39:03 -06:00
chgl
62e5d9c95b feat: configure pod and container security context settings 2024-07-20 12:41:24 +02:00
0xThresh
587b93ecd4 Updated Ollama charts to latest version (#48)
Updated Ollama charts to latest version
2024-07-15 13:55:17 -07:00
0xThresh
309e0aa30c Merge pull request #45 from 0xThresh/feat-owui-0.3.8
feat: Upgrade to Open WebUI v0.3.8
2024-07-14 21:25:20 -06:00
0xThresh.eth
deaaef0147 feat: Upgrade to Open WebUI v0.3.8 2024-07-14 21:25:04 -06:00
0xThresh
881fe7140d Merge pull request #44 from 0xThresh/feat-owui-0.3.7
feat: Upgrade to Open WebUI v0.3.7
2024-07-14 21:07:31 -06:00
0xThresh.eth
2cb251504d feat: Upgrade to Open WebUI v0.3.7 2024-07-14 21:05:47 -06:00
18 changed files with 254 additions and 43 deletions

View File

@@ -5,12 +5,48 @@ 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
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
@@ -23,15 +59,11 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Add Dependency Repos
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
@@ -41,3 +73,19 @@ jobs:
charts_dir: charts/
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Login to GitHub Container Registry
run: |
echo "${GHCR_REGISTRY_PASSWORD}" | helm registry login ghcr.io --username ${{ github.actor }} --password-stdin
env:
GHCR_REGISTRY_PASSWORD: "${{ secrets.GITHUB_TOKEN }}"
- name: Push Charts to ghcr.io
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
echo "No charts to release"
break
fi
helm push "${pkg}" oci://ghcr.io/${{ github.repository }}
done

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.33.0
version: 0.65.0
- name: pipelines
repository: https://helm.openwebui.com
version: 0.0.1
digest: sha256:1138e9fa48135fabda643adc69845284d4ba08745caeb958a646f10c7a6f9fe1
generated: "2024-06-04T21:28:16.737572-06:00"
version: 0.0.4
- name: tika
repository: https://apache.jfrog.io/artifactory/tika
version: 2.9.0
digest: sha256:c9405bba567364144f432f81c1c7c77336002eb8d6d07ae4fc5362cf2e3471b6
generated: "2024-11-10T14:18:47.252585-07:00"

View File

@@ -1,38 +1,38 @@
apiVersion: v2
name: open-webui
version: 3.0.6
appVersion: "v0.3.6"
version: 1.0.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.0.4](https://img.shields.io/badge/Version-3.0.4-informational?style=flat-square) ![AppVersion: v0.3.4](https://img.shields.io/badge/AppVersion-v0.3.4-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 |
@@ -42,9 +43,11 @@ helm upgrade --install open-webui open-webui/open-webui
| affinity | object | `{}` | Affinity for pod assignment |
| annotations | object | `{}` | |
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
| 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/ |
| 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!"}]` | 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":"Always","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 | `""` | |
| ingress.enabled | bool | `false` | |
@@ -64,13 +67,19 @@ 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 | `{}` | |
| podSecurityContext | object | `{}` | Configure pod security context ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> |
| 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.

Binary file not shown.

View File

@@ -29,7 +29,7 @@ spec:
{{- if and (eq .Values.service.type "ClusterIP") (.Values.service.clusterIP) }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
{{- if and (eq .Values.service.type "loadBalancer") (.Values.service.loadBalancerIP) }}
{{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}

View File

@@ -29,8 +29,36 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: copy-app-data
{{- with .Values.image }}
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
imagePullPolicy: {{ .pullPolicy }}
{{- end }}
command: ['sh', '-c', 'cp -R -n /app/backend/data/* /tmp/app-data/']
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
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 }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- with .Values.image }}
@@ -43,25 +71,42 @@ spec:
{{- with .Values.resources }}
resources: {{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
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:
@@ -75,6 +120,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: data
@@ -87,4 +136,7 @@ spec:
- name: data
persistentVolumeClaim:
claimName: {{ include "open-webui.name" . }}
{{- end }}
{{- end }}
{{- with .Values.volumes }}
{{- toYaml . | nindent 6 }}
{{- end }}

View File

@@ -16,13 +16,18 @@ ollama:
# runtimeClassName: nvidia
# persistentVolume:
# enabled: true
# volumeName: "example-pre-existing-pv-created-by-smb-csi"
pipelines:
# -- Automatically install Pipelines chart to extend Open WebUI functionality using Pipelines: https://github.com/open-webui/pipelines
enabled: true
enabled: true
# -- 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: []
@@ -35,8 +40,15 @@ replicaCount: 1
# -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui
image:
repository: ghcr.io/open-webui/open-webui
tag: "latest"
pullPolicy: Always
tag: ""
pullPolicy: "IfNotPresent"
# -- Configure imagePullSecrets to use private registry
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
imagePullSecrets: []
# imagePullSecrets:
# - name: myRegistryKeySecretName
resources: {}
ingress:
enabled: false
@@ -52,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
@@ -68,6 +82,9 @@ tolerations: []
# -- Affinity for pod assignment
affinity: {}
# -- Topology Spread Constraints for pod assignment
topologySpreadConstraints: []
# -- Service values to expose Open WebUI pods to cluster
service:
type: ClusterIP
@@ -81,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
@@ -97,3 +114,47 @@ extraEnvVars:
# key: api-key
# - 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:
{}
# fsGroupChangePolicy: Always
# sysctls: []
# supplementalGroups: []
# fsGroup: 1001
# -- Configure container security context
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe>
containerSecurityContext:
{}
# runAsUser: 1001
# runAsGroup: 1001
# runAsNonRoot: true
# privileged: false
# allowPrivilegeEscalation: false
# readOnlyRootFilesystem: false
# capabilities:
# drop:
# - ALL
# seccompProfile:
# type: "RuntimeDefault"

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: pipelines
version: 0.0.3
version: 0.0.4
appVersion: "alpha"
home: https://github.com/open-webui/pipelines

View File

@@ -1,6 +1,6 @@
# pipelines
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square)
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square)
Pipelines: UI-Agnostic OpenAI API Plugin Framework
@@ -38,6 +38,7 @@ helm upgrade --install open-webui open-webui/pipelines
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"ghcr.io/open-webui/pipelines"` | |
| image.tag | string | `"main"` | |
| 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 | `""` | |
| ingress.enabled | bool | `true` | |

View File

@@ -22,6 +22,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
enableServiceLinks: false
automountServiceAccountToken: false
containers:
@@ -68,4 +72,4 @@ spec:
- name: data
persistentVolumeClaim:
claimName: {{ include "pipelines.name" . }}
{{- end }}
{{- end }}

View File

@@ -10,6 +10,13 @@ image:
repository: ghcr.io/open-webui/pipelines
tag: main
pullPolicy: Always
# -- Configure imagePullSecrets to use private registry
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
imagePullSecrets: []
# imagePullSecrets:
# - name: myRegistryKeySecretName
resources: {}
ingress:
enabled: true
@@ -54,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"
}
}