Merge pull request #172 from jyje/issue-150/pipelines-extra-volumes

feat: [pipelines] add volumeMounts and volumes
This commit is contained in:
James W. 2025-02-18 14:03:23 -07:00 committed by GitHub
commit f7642b5df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 28 additions and 2 deletions

View File

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

View File

@ -1,6 +1,6 @@
# pipelines
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square)
Pipelines: UI-Agnostic OpenAI API Plugin Framework
@ -70,6 +70,8 @@ helm upgrade --install open-webui open-webui/pipelines
| serviceAccount.automountServiceAccountToken | bool | `false` | |
| serviceAccount.enable | bool | `true` | |
| tolerations | list | `[]` | Tolerations for pod assignment |
| volumeMounts | list | `[]` | Configure container volume mounts |
| volumes | list | `[]` | Configure pod volumes |
----------------------------------------------

View File

@ -50,6 +50,9 @@ spec:
volumeMounts:
- name: data
mountPath: /app/pipelines
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
env:
{{- if .Values.extraEnvVars }}
{{- toYaml .Values.extraEnvVars | nindent 8 }}
@ -80,3 +83,6 @@ spec:
persistentVolumeClaim:
claimName: {{ include "pipelines.name" . }}
{{- end }}
{{- with .Values.volumes }}
{{- toYaml . | nindent 6 }}
{{- end }}

View File

@ -88,6 +88,24 @@ extraEnvVars:
# - name: LANGFUSE_HOST
# value: https://us.cloud.langfuse.com
# -- Configure container volume mounts
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/>
volumeMounts: []
# - name: ""
# mountPath: ""
# -- Configure pod volumes
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/>
volumes: []
# - name: ""
# configMap:
# name: ""
# - name: ""
# secret:
# name: ""
# - name: ""
# emptyDir: {}
# -- Extra resources to deploy with Open WebUI Pipelines
extraResources:
[]