From abc23d2ad464f391e4563b8dbcfc54366c49e98c Mon Sep 17 00:00:00 2001 From: maxupp Date: Thu, 21 Nov 2024 16:51:29 +0100 Subject: [PATCH 1/2] fix: make copy-app-data resource quotas configurable --- charts/open-webui/templates/workload-manager.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml index af5ff9f..d8d41f8 100644 --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -41,6 +41,9 @@ spec: {{- end }} command: ['sh', '-c', 'cp -R -n /app/backend/data/* /tmp/app-data/'] {{- with .Values.containerSecurityContext }} + {{- with .Values.copy-app-data.resources }} + resources: {{- toYaml . | nindent 10 }} + {{- end }} securityContext: {{- toYaml . | nindent 10 }} {{- end }} From afe30f15cb072e3abf160ac6a96069150d4939e7 Mon Sep 17 00:00:00 2001 From: maxupp Date: Thu, 21 Nov 2024 17:01:51 +0100 Subject: [PATCH 2/2] Update Chart.yaml version --- charts/open-webui/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index 48d16fc..11d7962 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: open-webui -version: 4.0.0 +version: 4.0.1 appVersion: 0.4.0 home: https://www.openwebui.com/ icon: >-