diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml
index c28ebdd..3fb1153 100644
--- a/charts/open-webui/templates/workload-manager.yaml
+++ b/charts/open-webui/templates/workload-manager.yaml
@@ -47,6 +47,9 @@ spec:
volumeMounts:
- name: data
mountPath: /tmp/app-data
+ {{- with .Values.volumeMounts.initContainer }}
+ {{- toYaml . | nindent 10 }}
+ {{- end }}
enableServiceLinks: false
automountServiceAccountToken: false
{{- with .Values.podSecurityContext }}
@@ -72,6 +75,9 @@ spec:
volumeMounts:
- name: data
mountPath: /app/backend/data
+ {{- with .Values.volumeMounts.container }}
+ {{- toYaml . | nindent 10 }}
+ {{- end }}
env:
{{- if or .Values.ollamaUrls .Values.ollama.enabled }}
- name: "OLLAMA_BASE_URLS"
@@ -119,3 +125,6 @@ spec:
persistentVolumeClaim:
claimName: {{ include "open-webui.name" . }}
{{- end }}
+ {{- with .Values.volumes }}
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml
index dcaaf72..79a29be 100644
--- a/charts/open-webui/values.yaml
+++ b/charts/open-webui/values.yaml
@@ -93,7 +93,7 @@ service:
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/
-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
- name: OPENAI_API_KEY
value: "0p3n-w3bu!"
@@ -109,6 +109,25 @@ extraEnvVars:
# - name: OLLAMA_DEBUG
# value: "1"
+# -- Configure container volume mounts
+# ref:
+volumeMounts:
+ initContainer: []
+ # - name: ""
+ # mountPath: ""
+ container: []
+ # - name: ""
+ # mountPath: ""
+
+# -- Configure pod volumes
+# ref:
+volumes: []
+# - name: ""
+# configMap:
+# name: ""
+# - name: ""
+# emptyDir: {}
+
# -- Configure pod security context
# ref:
podSecurityContext: