feat(pipelines): add volumeMounts and volumes

- need to bump chart version
This commit is contained in:
jyje 2025-02-18 16:28:58 +09:00
parent d08df9c494
commit 3e16c22e08
No known key found for this signature in database
GPG Key ID: CFEECE847750DA12
3 changed files with 26 additions and 0 deletions

View File

@ -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:
[]