diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml index bdbc497..18a42de 100644 --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -41,12 +41,12 @@ spec: {{- end }} command: ['sh', '-c', 'cp -R -n /app/backend/data/* /tmp/app-data/'] {{- with .Values.containerSecurityContext }} - {{- with .Values.copyAppData.resources }} - resources: {{- toYaml . | nindent 10 }} - {{- end }} securityContext: {{- toYaml . | nindent 10 }} {{- end }} + {{- with .Values.copyAppData.resources }} + resources: {{- toYaml . | nindent 10 }} + {{- end }} volumeMounts: - name: data mountPath: /tmp/app-data diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 7681935..61aa7f3 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -56,6 +56,10 @@ imagePullSecrets: [] # - name: myRegistryKeySecretName resources: {} + +copyAppData: + resources: {} + ingress: enabled: false class: ""