mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
Compare commits
101 Commits
open-webui
...
open-webui
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db99d5cafe | ||
|
|
400512fc0e | ||
|
|
cf12b1d078 | ||
|
|
746fe34aa1 | ||
|
|
d0cf4abd11 | ||
|
|
2b83759321 | ||
|
|
67adcc38e6 | ||
|
|
831cc94d8d | ||
|
|
83c5a02a28 | ||
|
|
145a5f5933 | ||
|
|
1931f3ea06 | ||
|
|
45d5c2a26e | ||
|
|
b1e7ce6cea | ||
|
|
f71d21d5e4 | ||
|
|
30707d473d | ||
|
|
01fd07172c | ||
|
|
afcd804aaf | ||
|
|
afe30f15cb | ||
|
|
abc23d2ad4 | ||
|
|
5cf03b48a0 | ||
|
|
48ab03c9d6 | ||
|
|
1cdb232649 | ||
|
|
242bfa2827 | ||
|
|
7514e5a5d7 | ||
|
|
cba16a4f3f | ||
|
|
bc32f167f2 | ||
|
|
c70affc35c | ||
|
|
6a61802dab | ||
|
|
54961fc38b | ||
|
|
7fb97e6a35 | ||
|
|
008268d3fd | ||
|
|
4637db000e | ||
|
|
b0debd2d81 | ||
|
|
5ebf1e3593 | ||
|
|
125f67ec5c | ||
|
|
d919ea1b42 | ||
|
|
c30ab597bb | ||
|
|
941176514c | ||
|
|
7c753cf117 | ||
|
|
7605066b8e | ||
|
|
dfe63ed352 | ||
|
|
22d99dd349 | ||
|
|
b07888478a | ||
|
|
f93c4949c9 | ||
|
|
645edec699 | ||
|
|
5cc0d44aba | ||
|
|
8672c78ac5 | ||
|
|
5e3237a972 | ||
|
|
4f1fa4718e | ||
|
|
119fdd2f2d | ||
|
|
a16cdd4477 | ||
|
|
4ee3936555 | ||
|
|
09184d93d9 | ||
|
|
bb0f668201 | ||
|
|
6ebb3da9d2 | ||
|
|
6c7b42517d | ||
|
|
2062a5d4e6 | ||
|
|
63055b910d | ||
|
|
a3c255d9c3 | ||
|
|
3a339ccb8d | ||
|
|
056de60090 | ||
|
|
07fa518798 | ||
|
|
5b87076f92 | ||
|
|
f8a5fdfb61 | ||
|
|
338ecfd26c | ||
|
|
4d7ea6759e | ||
|
|
39bc3aaf4c | ||
|
|
0b637b28d6 | ||
|
|
450afb1c4d | ||
|
|
d234e766b2 | ||
|
|
e1b6ba25d3 | ||
|
|
35ce1ec7fc | ||
|
|
d72e66c82f | ||
|
|
dbacb4e63e | ||
|
|
4cd3137680 | ||
|
|
179bc9c08c | ||
|
|
73673db0c6 | ||
|
|
6475d5af98 | ||
|
|
20af7b89cf | ||
|
|
d0db4c5ca3 | ||
|
|
bda4bcfd48 | ||
|
|
13980b1fcc | ||
|
|
2f21841a00 | ||
|
|
7b564ed2f0 | ||
|
|
400052429b | ||
|
|
abe5ce38bc | ||
|
|
b4080434ea | ||
|
|
ad063a989d | ||
|
|
19527a43c7 | ||
|
|
93d318ce41 | ||
|
|
723c33e3f2 | ||
|
|
17e1e7d61a | ||
|
|
7f7aa04351 | ||
|
|
80be808ed1 | ||
|
|
4256a677f2 | ||
|
|
5c438db555 | ||
|
|
3003028420 | ||
|
|
c486164e97 | ||
|
|
a0ae9b172e | ||
|
|
d492339dd7 | ||
|
|
a1e073f557 |
38
.github/workflows/helm-release.yml
vendored
38
.github/workflows/helm-release.yml
vendored
@@ -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
14
.releaserc
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "helm-charts",
|
||||||
|
"branches": ["main"],
|
||||||
|
"plugins": [
|
||||||
|
[
|
||||||
|
"semantic-release-helm",
|
||||||
|
{
|
||||||
|
chartPath: './charts/open-webui',
|
||||||
|
crPublish: false,
|
||||||
|
onlyUpdateVersion: true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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.50.0
|
version: 0.67.0
|
||||||
- name: pipelines
|
- name: pipelines
|
||||||
repository: https://helm.openwebui.com
|
repository: https://helm.openwebui.com
|
||||||
version: 0.0.3
|
version: 0.0.4
|
||||||
digest: sha256:91b80e619d25a3822cc861d0ea5a40869172094a59bc7974cf67fb002eea5877
|
- name: tika
|
||||||
generated: "2024-08-04T18:31:41.380936-06:00"
|
repository: https://apache.jfrog.io/artifactory/tika
|
||||||
|
version: 2.9.0
|
||||||
|
digest: sha256:fac9d8b93937791cd066e983ae12f7d5d57adc9b3e8c8e4854fd68ebdef54237
|
||||||
|
generated: "2024-11-24T12:42:43.794305-07:00"
|
||||||
|
|||||||
@@ -1,38 +1,38 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: open-webui
|
name: open-webui
|
||||||
version: 3.1.2
|
version: 4.0.4
|
||||||
appVersion: "0.3.9"
|
appVersion: 0.4.4
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# open-webui
|
# open-webui
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
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 |
|
||||||
|
|
||||||
@@ -43,9 +44,10 @@ helm upgrade --install open-webui open-webui/open-webui
|
|||||||
| annotations | object | `{}` | |
|
| annotations | object | `{}` | |
|
||||||
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
|
| 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> |
|
| 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 |
|
| 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.annotations | object | `{}` | Use appropriate annotations for your Ingress controller, e.g., for NGINX: nginx.ingress.kubernetes.io/rewrite-target: / |
|
||||||
| ingress.class | string | `""` | |
|
| ingress.class | string | `""` | |
|
||||||
| ingress.enabled | bool | `false` | |
|
| ingress.enabled | bool | `false` | |
|
||||||
@@ -65,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 | `{}` | |
|
||||||
@@ -72,7 +75,11 @@ 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 |
|
||||||
|
| 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.
BIN
charts/open-webui/charts/ollama-0.67.0.tgz
Normal file
BIN
charts/open-webui/charts/ollama-0.67.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
charts/open-webui/charts/pipelines-0.0.4.tgz
Normal file
BIN
charts/open-webui/charts/pipelines-0.0.4.tgz
Normal file
Binary file not shown.
BIN
charts/open-webui/charts/tika-2.9.0.tgz
Normal file
BIN
charts/open-webui/charts/tika-2.9.0.tgz
Normal file
Binary file not shown.
@@ -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 }}
|
||||||
|
|||||||
14
charts/open-webui/templates/service-account.yaml
Normal file
14
charts/open-webui/templates/service-account.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{{- if .Values.serviceAccount.enable }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.serviceAccount.name | default (include "open-webui.name" .) }}
|
||||||
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||||
|
labels:
|
||||||
|
{{- include "open-webui.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
{{- if and (eq .Values.service.type "ClusterIP") (.Values.service.clusterIP) }}
|
{{- if and (eq .Values.service.type "ClusterIP") (.Values.service.clusterIP) }}
|
||||||
clusterIP: {{ .Values.service.clusterIP }}
|
clusterIP: {{ .Values.service.clusterIP }}
|
||||||
{{- end }}
|
{{- 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 }}
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
@@ -29,22 +29,38 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: copy-app-data
|
- name: copy-app-data
|
||||||
{{- with .Values.image }}
|
{{- with .Values.image }}
|
||||||
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
|
image: {{ .repository }}:{{ .tag | default $.Chart.AppVersion }}
|
||||||
imagePullPolicy: {{ .pullPolicy }}
|
imagePullPolicy: {{ .pullPolicy }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
command: ['sh', '-c', 'cp -R /app/backend/data/* /tmp/app-data/']
|
command: ['sh', '-c', 'cp -R -n /app/backend/data/* /tmp/app-data/']
|
||||||
{{- with .Values.containerSecurityContext }}
|
{{- with .Values.containerSecurityContext }}
|
||||||
|
{{- with .Values.copyAppData.resources }}
|
||||||
|
resources: {{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
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 }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||||
|
{{- if .Values.serviceAccount.enable }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name | default (include "open-webui.name" .) }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.podSecurityContext }}
|
{{- with .Values.podSecurityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -68,22 +84,35 @@ 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 }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: OLLAMA_BASE_URLS
|
{{- if or .Values.ollamaUrls .Values.ollama.enabled }}
|
||||||
|
- name: "OLLAMA_BASE_URLS"
|
||||||
value: {{ include "ollamaBaseUrls" . | quote }}
|
value: {{ include "ollamaBaseUrls" . | quote }}
|
||||||
{{ if .Values.pipelines.enabled }}
|
{{- else }}
|
||||||
- name: OPENAI_API_BASE_URL
|
- name: "ENABLE_OLLAMA_API"
|
||||||
|
value: "False"
|
||||||
|
{{- end }}
|
||||||
|
- name: "OPENAI_API_BASE_URL"
|
||||||
|
{{- if .Values.pipelines.enabled }}
|
||||||
value: {{ include "pipelines.serviceEndpoint" . }}
|
value: {{ include "pipelines.serviceEndpoint" . }}
|
||||||
{{ else if .Values.openaiBaseApiUrl }}
|
{{- else if .Values.openaiBaseApiUrl }}
|
||||||
- name: OPENAI_API_BASE_URL
|
value: {{ .Values.openaiBaseApiUrl | quote }}
|
||||||
value: {{ .Values.openaiBaseApiUrl }}
|
{{- end }}
|
||||||
{{ else }}
|
|
||||||
- name: OPENAI_API_BASE_URL
|
|
||||||
value: "https://api.openai.com/v1"
|
|
||||||
{{ end }}
|
|
||||||
{{- 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:
|
||||||
@@ -97,6 +126,10 @@ spec:
|
|||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.topologySpreadConstraints }}
|
||||||
|
topologySpreadConstraints:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
||||||
- name: data
|
- name: data
|
||||||
@@ -110,3 +143,6 @@ spec:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "open-webui.name" . }}
|
claimName: {{ include "open-webui.name" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.volumes }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ ollama:
|
|||||||
# runtimeClassName: nvidia
|
# runtimeClassName: nvidia
|
||||||
# persistentVolume:
|
# persistentVolume:
|
||||||
# enabled: true
|
# enabled: true
|
||||||
|
# volumeName: "example-pre-existing-pv-created-by-smb-csi"
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
# -- Automatically install Pipelines chart to extend Open WebUI functionality using Pipelines: https://github.com/open-webui/pipelines
|
# -- Automatically install Pipelines chart to extend Open WebUI functionality using Pipelines: https://github.com/open-webui/pipelines
|
||||||
@@ -23,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: []
|
||||||
|
|
||||||
@@ -35,8 +40,21 @@ replicaCount: 1
|
|||||||
# -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui
|
# -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/open-webui/open-webui
|
repository: ghcr.io/open-webui/open-webui
|
||||||
tag: "latest"
|
tag: ""
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
enable: true
|
||||||
|
name: ""
|
||||||
|
annotations: {}
|
||||||
|
automountServiceAccountToken: false
|
||||||
|
|
||||||
|
# -- Configure imagePullSecrets to use private registry
|
||||||
|
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
|
||||||
|
imagePullSecrets: []
|
||||||
|
# imagePullSecrets:
|
||||||
|
# - name: myRegistryKeySecretName
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -45,6 +63,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:
|
||||||
@@ -52,6 +71,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
|
||||||
@@ -68,6 +89,9 @@ tolerations: []
|
|||||||
# -- Affinity for pod assignment
|
# -- Affinity for pod assignment
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
# -- Topology Spread Constraints for pod assignment
|
||||||
|
topologySpreadConstraints: []
|
||||||
|
|
||||||
# -- Service values to expose Open WebUI pods to cluster
|
# -- Service values to expose Open WebUI pods to cluster
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -81,7 +105,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
|
# -- 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: ""
|
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:
|
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
|
# -- 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
|
- name: OPENAI_API_KEY
|
||||||
@@ -98,6 +122,25 @@ extraEnvVars:
|
|||||||
# - name: OLLAMA_DEBUG
|
# - name: OLLAMA_DEBUG
|
||||||
# value: "1"
|
# 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
|
# -- Configure pod 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>
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
@@ -107,6 +150,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:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: pipelines
|
name: pipelines
|
||||||
version: 0.0.3
|
version: 0.0.4
|
||||||
appVersion: "alpha"
|
appVersion: "alpha"
|
||||||
|
|
||||||
home: https://github.com/open-webui/pipelines
|
home: https://github.com/open-webui/pipelines
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# pipelines
|
# pipelines
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Pipelines: UI-Agnostic OpenAI API Plugin Framework
|
Pipelines: UI-Agnostic OpenAI API Plugin Framework
|
||||||
|
|
||||||
@@ -38,6 +38,7 @@ helm upgrade --install open-webui open-webui/pipelines
|
|||||||
| image.pullPolicy | string | `"Always"` | |
|
| image.pullPolicy | string | `"Always"` | |
|
||||||
| image.repository | string | `"ghcr.io/open-webui/pipelines"` | |
|
| image.repository | string | `"ghcr.io/open-webui/pipelines"` | |
|
||||||
| image.tag | string | `"main"` | |
|
| 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.annotations | object | `{}` | Use appropriate annotations for your Ingress controller, e.g., for NGINX: nginx.ingress.kubernetes.io/rewrite-target: / |
|
||||||
| ingress.class | string | `""` | |
|
| ingress.class | string | `""` | |
|
||||||
| ingress.enabled | bool | `true` | |
|
| ingress.enabled | bool | `true` | |
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
containers:
|
containers:
|
||||||
@@ -68,4 +72,4 @@ spec:
|
|||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "pipelines.name" . }}
|
claimName: {{ include "pipelines.name" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -10,6 +10,13 @@ image:
|
|||||||
repository: ghcr.io/open-webui/pipelines
|
repository: ghcr.io/open-webui/pipelines
|
||||||
tag: main
|
tag: main
|
||||||
pullPolicy: Always
|
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: {}
|
resources: {}
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
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
|
# -- 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
|
- name: PIPELINES_URLS
|
||||||
value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py"
|
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
|
# -- Langfuse example, including values used in Langfuse filter to connect
|
||||||
# - name: PIPELINES_URLS
|
# - name: PIPELINES_URLS
|
||||||
# value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py"
|
# value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py"
|
||||||
|
|||||||
7
package.json
Normal file
7
package.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"@semantic-release/github": "^9.0.3",
|
||||||
|
"semantic-release": "^21.0.5",
|
||||||
|
"semantic-release-helm": "^2.2.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user