Merge pull request #114 from 0xmeyer/fix-copy-app-data-value

fix resources for copy-app-data init container
This commit is contained in:
James W. 2024-12-01 18:22:07 -07:00 committed by GitHub
commit f70f12a720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -56,6 +56,10 @@ imagePullSecrets: []
# - name: myRegistryKeySecretName
resources: {}
copyAppData:
resources: {}
ingress:
enabled: false
class: ""