Fix copy command

This commit is contained in:
2022-03-21 16:14:44 +03:00
parent 68b5db014b
commit 516b6ac0d3
3 changed files with 4 additions and 7 deletions

View File

@ -27,11 +27,7 @@ spec:
initContainers:
- name: copy
image: "{{ .Values.migrations.image.registry }}/{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag | default "latest" }}"
command:
- cp
- -R
- '*'
- /shared/data
command: ["/bin/sh", "-c", "cp -R /{{ .Values.migrations.image.path }}/* /shared-data/"]
workingDir: /data
volumeMounts:
- name: data