Fix data migration YAML command args

Longhorn-3787

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
Chin-Ya Huang 2022-03-25 09:51:30 +08:00 committed by David Ko
parent dba0d38ff1
commit 19719de0c5

View File

@ -19,7 +19,7 @@ spec:
image: ubuntu:xenial image: ubuntu:xenial
tty: true tty: true
command: [ "/bin/sh" ] command: [ "/bin/sh" ]
args: [ "-c", "cp -r -v /mnt/old /mnt/new" ] args: [ "-c", "cp -r -v /mnt/old/* /mnt/new" ]
volumeMounts: volumeMounts:
- name: old-vol - name: old-vol
mountPath: /mnt/old mountPath: /mnt/old