mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
Compare commits
67 Commits
open-webui
...
open-webui
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc60612c27 | ||
|
|
3764c99690 | ||
|
|
3adaffd03d | ||
|
|
fe7d2bb946 | ||
|
|
aa0c381f01 | ||
|
|
de66118c42 | ||
|
|
2ef9234739 | ||
|
|
fc3a19b8d9 | ||
|
|
f70f12a720 | ||
|
|
905073b392 | ||
|
|
e2bb6c5ac4 | ||
|
|
3ac14d7ed7 | ||
|
|
f539153797 | ||
|
|
5a9e030548 | ||
|
|
357d167f76 | ||
|
|
3269b62733 | ||
|
|
373b4c8042 | ||
|
|
154753931e | ||
|
|
b9cc6a30cc | ||
|
|
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 |
40
.github/workflows/helm-release.yml
vendored
40
.github/workflows/helm-release.yml
vendored
@@ -5,17 +5,52 @@ 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
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -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
|
||||||
|
|||||||
52
.github/workflows/helm-test-open-webui.yml
vendored
Normal file
52
.github/workflows/helm-test-open-webui.yml
vendored
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
name: Check Open WebUI Helm Charts (open-webui)
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "charts/open-webui/**"
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "charts/open-webui/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint-chart:
|
||||||
|
name: Lint Helm Chart
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
|
||||||
|
- name: Lint open-webui Helm Chart
|
||||||
|
run: |
|
||||||
|
helm lint ./charts/open-webui
|
||||||
|
|
||||||
|
test-deploy:
|
||||||
|
name: Test Chart Deployment
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: lint-chart
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up kubectl
|
||||||
|
uses: azure/setup-kubectl@v4
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
|
||||||
|
- name: Set up KinD Cluster
|
||||||
|
uses: helm/kind-action@v1
|
||||||
|
|
||||||
|
- name: Template open-webui Helm Chart
|
||||||
|
run: |
|
||||||
|
helm template open-webui ./charts/open-webui \
|
||||||
|
--namespace test-namespace --create-namespace > open-webui.yaml
|
||||||
|
|
||||||
|
- name: Verify open-webui
|
||||||
|
run: |
|
||||||
|
kubectl apply -f open-webui.yaml
|
||||||
53
.github/workflows/helm-test-pipelines.yml
vendored
Normal file
53
.github/workflows/helm-test-pipelines.yml
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
name: Check Open WebUI Helm Charts (pipelines)
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "charts/pipelines/**"
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "charts/pipelines/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint-chart:
|
||||||
|
name: Lint Helm Chart
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
|
||||||
|
- name: Lint pipelines Helm Chart
|
||||||
|
run: |
|
||||||
|
helm lint ./charts/pipelines
|
||||||
|
|
||||||
|
test-deploy:
|
||||||
|
name: Test Chart Deployment
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: lint-chart
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up kubectl
|
||||||
|
uses: azure/setup-kubectl@v4
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
|
||||||
|
- name: Set up KinD Cluster
|
||||||
|
uses: helm/kind-action@v1
|
||||||
|
|
||||||
|
- name: Template open-webui Helm Chart
|
||||||
|
run: |
|
||||||
|
helm template pipelines ./charts/pipelines \
|
||||||
|
--namespace test-namespace --create-namespace > pipelines.yaml
|
||||||
|
|
||||||
|
- name: Verify pipelines
|
||||||
|
run: |
|
||||||
|
kubectl apply -f pipelines.yaml
|
||||||
|
|
||||||
129
.gitignore
vendored
Normal file
129
.gitignore
vendored
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
# Created by https://www.toptal.com/developers/gitignore/api/macos,intellij+all,helm
|
||||||
|
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,intellij+all,helm
|
||||||
|
|
||||||
|
### Helm ###
|
||||||
|
# Chart dependencies
|
||||||
|
**/charts/*.tgz
|
||||||
|
|
||||||
|
### Intellij+all ###
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||||
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||||
|
|
||||||
|
# User-specific stuff
|
||||||
|
.idea/**/workspace.xml
|
||||||
|
.idea/**/tasks.xml
|
||||||
|
.idea/**/usage.statistics.xml
|
||||||
|
.idea/**/dictionaries
|
||||||
|
.idea/**/shelf
|
||||||
|
|
||||||
|
# AWS User-specific
|
||||||
|
.idea/**/aws.xml
|
||||||
|
|
||||||
|
# Generated files
|
||||||
|
.idea/**/contentModel.xml
|
||||||
|
|
||||||
|
# Sensitive or high-churn files
|
||||||
|
.idea/**/dataSources/
|
||||||
|
.idea/**/dataSources.ids
|
||||||
|
.idea/**/dataSources.local.xml
|
||||||
|
.idea/**/sqlDataSources.xml
|
||||||
|
.idea/**/dynamic.xml
|
||||||
|
.idea/**/uiDesigner.xml
|
||||||
|
.idea/**/dbnavigator.xml
|
||||||
|
|
||||||
|
# Gradle
|
||||||
|
.idea/**/gradle.xml
|
||||||
|
.idea/**/libraries
|
||||||
|
|
||||||
|
# Gradle and Maven with auto-import
|
||||||
|
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||||
|
# since they will be recreated, and may cause churn. Uncomment if using
|
||||||
|
# auto-import.
|
||||||
|
# .idea/artifacts
|
||||||
|
# .idea/compiler.xml
|
||||||
|
# .idea/jarRepositories.xml
|
||||||
|
# .idea/modules.xml
|
||||||
|
# .idea/*.iml
|
||||||
|
# .idea/modules
|
||||||
|
# *.iml
|
||||||
|
# *.ipr
|
||||||
|
|
||||||
|
# CMake
|
||||||
|
cmake-build-*/
|
||||||
|
|
||||||
|
# Mongo Explorer plugin
|
||||||
|
.idea/**/mongoSettings.xml
|
||||||
|
|
||||||
|
# File-based project format
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
# IntelliJ
|
||||||
|
out/
|
||||||
|
|
||||||
|
# mpeltonen/sbt-idea plugin
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# JIRA plugin
|
||||||
|
atlassian-ide-plugin.xml
|
||||||
|
|
||||||
|
# Cursive Clojure plugin
|
||||||
|
.idea/replstate.xml
|
||||||
|
|
||||||
|
# SonarLint plugin
|
||||||
|
.idea/sonarlint/
|
||||||
|
|
||||||
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||||
|
com_crashlytics_export_strings.xml
|
||||||
|
crashlytics.properties
|
||||||
|
crashlytics-build.properties
|
||||||
|
fabric.properties
|
||||||
|
|
||||||
|
# Editor-based Rest Client
|
||||||
|
.idea/httpRequests
|
||||||
|
|
||||||
|
# Android studio 3.1+ serialized cache file
|
||||||
|
.idea/caches/build_file_checksums.ser
|
||||||
|
|
||||||
|
### Intellij+all Patch ###
|
||||||
|
# Ignore everything but code style settings and run configurations
|
||||||
|
# that are supposed to be shared within teams.
|
||||||
|
|
||||||
|
.idea/*
|
||||||
|
|
||||||
|
!.idea/codeStyles
|
||||||
|
!.idea/runConfigurations
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### macOS Patch ###
|
||||||
|
# iCloud generated files
|
||||||
|
*.icloud
|
||||||
|
|
||||||
|
# End of https://www.toptal.com/developers/gitignore/api/macos,intellij+all,helm
|
||||||
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.59.0
|
version: 0.69.0
|
||||||
- name: pipelines
|
- name: pipelines
|
||||||
repository: https://helm.openwebui.com
|
repository: https://helm.openwebui.com
|
||||||
version: 0.0.4
|
version: 0.0.5
|
||||||
digest: sha256:bfba828139ce6280e2fc9020cb933b8760e89ff1bbc66bee443d292af7ac1db1
|
- name: tika
|
||||||
generated: "2024-09-22T12:16:31.226566428-06:00"
|
repository: https://apache.jfrog.io/artifactory/tika
|
||||||
|
version: 2.9.0
|
||||||
|
digest: sha256:de7b97552b2fcc3d0920fa21547fe38ff87e5f00e2074959e4d56ed13ca7e382
|
||||||
|
generated: "2024-12-01T18:23:57.494992-07:00"
|
||||||
|
|||||||
@@ -1,38 +1,38 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: open-webui
|
name: open-webui
|
||||||
version: 3.3.0
|
version: 4.0.7
|
||||||
appVersion: "0.3.24"
|
appVersion: 0.4.7
|
||||||
|
|
||||||
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,10 +44,12 @@ 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> |
|
||||||
|
| copyAppData.resources | object | `{}` | |
|
||||||
| 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 | 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":""}` | 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> |
|
| imagePullSecrets | list | `[]` | Configure imagePullSecrets to use private registry ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry> |
|
||||||
|
| ingress.additionalHosts | list | `[]` | |
|
||||||
| 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` | |
|
||||||
@@ -54,6 +57,7 @@ helm upgrade --install open-webui open-webui/open-webui
|
|||||||
| ingress.host | string | `""` | |
|
| ingress.host | string | `""` | |
|
||||||
| ingress.tls | bool | `false` | |
|
| ingress.tls | bool | `false` | |
|
||||||
| nameOverride | string | `""` | |
|
| nameOverride | string | `""` | |
|
||||||
|
| namespaceOverride | string | `""` | |
|
||||||
| nodeSelector | object | `{}` | Node labels for pod assignment. |
|
| nodeSelector | object | `{}` | Node labels for pod assignment. |
|
||||||
| ollama.enabled | bool | `true` | Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure |
|
| ollama.enabled | bool | `true` | Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure |
|
||||||
| ollama.fullnameOverride | string | `"open-webui-ollama"` | If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart |
|
| ollama.fullnameOverride | string | `"open-webui-ollama"` | If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart |
|
||||||
@@ -66,6 +70,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,8 +78,15 @@ 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 |
|
||||||
|
| serviceAccount.annotations | object | `{}` | |
|
||||||
|
| serviceAccount.automountServiceAccountToken | bool | `false` | |
|
||||||
|
| serviceAccount.enable | bool | `true` | |
|
||||||
|
| serviceAccount.name | string | `""` | |
|
||||||
|
| 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/> |
|
||||||
|
| 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.69.0.tgz
Normal file
BIN
charts/open-webui/charts/ollama-0.69.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
charts/open-webui/charts/pipelines-0.0.5.tgz
Normal file
BIN
charts/open-webui/charts/pipelines-0.0.5.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.
@@ -1,3 +1,14 @@
|
|||||||
|
{{/*
|
||||||
|
Allow the release namespace to be overridden for multi-namespace deployments in combined charts
|
||||||
|
*/}}
|
||||||
|
{{- define "open-webui.namespace" -}}
|
||||||
|
{{- if .Values.namespaceOverride -}}
|
||||||
|
{{- .Values.namespaceOverride -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- .Release.Namespace -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Set the name of the Open WebUI resources
|
Set the name of the Open WebUI resources
|
||||||
*/}}
|
*/}}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apiVersion: networking.k8s.io/v1
|
|||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "open-webui.name" . }}
|
name: {{ include "open-webui.name" . }}
|
||||||
|
namespace: {{ include "open-webui.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "open-webui.labels" . | nindent 4 }}
|
{{- include "open-webui.labels" . | nindent 4 }}
|
||||||
{{- with .Values.ingress.annotations }}
|
{{- with .Values.ingress.annotations }}
|
||||||
@@ -17,6 +18,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 +34,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 }}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "open-webui.name" . }}
|
name: {{ include "open-webui.name" . }}
|
||||||
|
namespace: {{ include "open-webui.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "open-webui.selectorLabels" . | nindent 4 }}
|
{{- include "open-webui.selectorLabels" . | nindent 4 }}
|
||||||
{{- with .Values.persistence.annotations }}
|
{{- with .Values.persistence.annotations }}
|
||||||
|
|||||||
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" .) }}
|
||||||
|
namespace: {{ include "open-webui.namespace" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "open-webui.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||||
|
{{- end }}
|
||||||
@@ -2,6 +2,7 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "open-webui.name" . }}
|
name: {{ include "open-webui.name" . }}
|
||||||
|
namespace: {{ include "open-webui.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "open-webui.labels" . | nindent 4 }}
|
{{- include "open-webui.labels" . | nindent 4 }}
|
||||||
{{- with .Values.service.labels }}
|
{{- with .Values.service.labels }}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ kind: Deployment
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "open-webui.name" . }}
|
name: {{ include "open-webui.name" . }}
|
||||||
|
namespace: {{ include "open-webui.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "open-webui.labels" . | nindent 4 }}
|
{{- include "open-webui.labels" . | nindent 4 }}
|
||||||
{{- with .Values.annotations }}
|
{{- with .Values.annotations }}
|
||||||
@@ -24,6 +25,9 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "open-webui.labels" . | nindent 8 }}
|
{{- include "open-webui.labels" . | nindent 8 }}
|
||||||
|
{{- with .Values.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.podAnnotations }}
|
{{- with .Values.podAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -44,11 +48,23 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.copyAppData.resources }}
|
||||||
|
resources: {{- toYaml . | nindent 10 }}
|
||||||
|
{{- 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 }}
|
||||||
@@ -72,6 +88,12 @@ 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:
|
||||||
{{- if or .Values.ollamaUrls .Values.ollama.enabled }}
|
{{- if or .Values.ollamaUrls .Values.ollama.enabled }}
|
||||||
- name: "OLLAMA_BASE_URLS"
|
- name: "OLLAMA_BASE_URLS"
|
||||||
@@ -89,6 +111,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:
|
||||||
@@ -119,3 +147,6 @@ spec:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "open-webui.name" . }}
|
claimName: {{ include "open-webui.name" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.volumes }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
namespaceOverride: ""
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
# -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure
|
# -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure
|
||||||
@@ -24,6 +25,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: []
|
||||||
|
|
||||||
@@ -32,6 +37,7 @@ clusterDomain: cluster.local
|
|||||||
|
|
||||||
annotations: {}
|
annotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
podLabels: {}
|
||||||
replicaCount: 1
|
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:
|
||||||
@@ -39,6 +45,12 @@ image:
|
|||||||
tag: ""
|
tag: ""
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
enable: true
|
||||||
|
name: ""
|
||||||
|
annotations: {}
|
||||||
|
automountServiceAccountToken: false
|
||||||
|
|
||||||
# -- Configure imagePullSecrets to use private registry
|
# -- Configure imagePullSecrets to use private registry
|
||||||
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
|
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
@@ -46,6 +58,10 @@ imagePullSecrets: []
|
|||||||
# - name: myRegistryKeySecretName
|
# - name: myRegistryKeySecretName
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
||||||
|
copyAppData:
|
||||||
|
resources: {}
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
class: ""
|
class: ""
|
||||||
@@ -53,6 +69,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 +77,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
|
||||||
@@ -93,7 +112,7 @@ service:
|
|||||||
openaiBaseApiUrl: ""
|
openaiBaseApiUrl: ""
|
||||||
|
|
||||||
# -- Env vars added to the Open WebUI deployment. Most up-to-date environment variables can be found here: https://docs.openwebui.com/getting-started/env-configuration/
|
# -- 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
|
||||||
value: "0p3n-w3bu!"
|
value: "0p3n-w3bu!"
|
||||||
@@ -109,6 +128,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:
|
||||||
@@ -118,6 +156,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.4
|
version: 0.0.6
|
||||||
appVersion: "alpha"
|
appVersion: "alpha"
|
||||||
|
|
||||||
home: https://github.com/open-webui/pipelines
|
home: https://github.com/open-webui/pipelines
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
{{/*
|
||||||
|
Allow the release namespace to be overridden for multi-namespace deployments in combined charts
|
||||||
|
*/}}
|
||||||
|
{{- define "pipelines.namespace" -}}
|
||||||
|
{{- if .Values.namespaceOverride -}}
|
||||||
|
{{- .Values.namespaceOverride -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- .Release.Namespace -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Set the name of the Pipelines resources
|
Set the name of the Pipelines resources
|
||||||
*/}}
|
*/}}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "pipelines.name" . }}
|
name: {{ include "pipelines.name" . }}
|
||||||
|
namespace: {{ include "pipelines.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "pipelines.labels" . | nindent 4 }}
|
{{- include "pipelines.labels" . | nindent 4 }}
|
||||||
{{- with .Values.annotations }}
|
{{- with .Values.annotations }}
|
||||||
@@ -17,6 +18,9 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "pipelines.labels" . | nindent 8 }}
|
{{- include "pipelines.labels" . | nindent 8 }}
|
||||||
|
{{- with .Values.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.podAnnotations }}
|
{{- with .Values.podAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -27,7 +31,10 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken | default false }}
|
||||||
|
{{- if .Values.serviceAccount.enable }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name | default (include "pipelines.name" .) }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
{{- with .Values.image }}
|
{{- with .Values.image }}
|
||||||
@@ -42,7 +49,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /app/backend/data
|
mountPath: /app/pipelines
|
||||||
env:
|
env:
|
||||||
{{- if .Values.extraEnvVars }}
|
{{- if .Values.extraEnvVars }}
|
||||||
{{- toYaml .Values.extraEnvVars | nindent 8 }}
|
{{- toYaml .Values.extraEnvVars | nindent 8 }}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apiVersion: v1
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "pipelines.name" . }}
|
name: {{ include "pipelines.name" . }}
|
||||||
|
namespace: {{ include "pipelines.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "pipelines.selectorLabels" . | nindent 4 }}
|
{{- include "pipelines.selectorLabels" . | nindent 4 }}
|
||||||
{{- with .Values.persistence.annotations }}
|
{{- with .Values.persistence.annotations }}
|
||||||
|
|||||||
13
charts/pipelines/templates/service-account.yaml
Normal file
13
charts/pipelines/templates/service-account.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{{- if .Values.serviceAccount.enable }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.serviceAccount.name | default (include "pipelines.name" .) }}
|
||||||
|
namespace: {{ include "pipelines.namespace" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "pipelines.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -2,6 +2,7 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "pipelines.name" . }}
|
name: {{ include "pipelines.name" . }}
|
||||||
|
namespace: {{ include "pipelines.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "pipelines.labels" . | nindent 4 }}
|
{{- include "pipelines.labels" . | nindent 4 }}
|
||||||
{{- with .Values.service.labels }}
|
{{- with .Values.service.labels }}
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
namespaceOverride: ""
|
||||||
|
|
||||||
# -- Value of cluster domain
|
# -- Value of cluster domain
|
||||||
clusterDomain: cluster.local
|
clusterDomain: cluster.local
|
||||||
|
|
||||||
annotations: {}
|
annotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
podLabels: {}
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/open-webui/pipelines
|
repository: ghcr.io/open-webui/pipelines
|
||||||
@@ -38,6 +40,10 @@ persistence:
|
|||||||
selector: {}
|
selector: {}
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
enable: true
|
||||||
|
automountServiceAccountToken: false
|
||||||
|
|
||||||
# -- Node labels for pod assignment.
|
# -- Node labels for pod assignment.
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
@@ -61,6 +67,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