fix: make copy-app-data resource quotas configurable

This commit is contained in:
maxupp 2024-11-21 16:51:29 +01:00 committed by GitHub
parent 48ab03c9d6
commit abc23d2ad4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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