Merge pull request #109 from maxupp/patch-1

fix: make copy-app-data resource quotas configurable
This commit is contained in:
James W. 2024-11-24 12:58:48 -07:00 committed by GitHub
commit 2b83759321
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 4.0.0
version: 4.0.1
appVersion: 0.4.2
home: https://www.openwebui.com/
icon: >-

View File

@ -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 }}