Update data_migration.yaml

Fixes #5484

(cherry picked from commit 92fd5b54ed)
This commit is contained in:
Viktor Hedefalk 2023-03-04 16:34:50 +01:00 committed by David Ko
parent 6aa0c28f0e
commit 662fbbaabe

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
@ -31,4 +31,4 @@ spec:
claimName: data-source-pvc # change to data source pvc claimName: data-source-pvc # change to data source pvc
- name: new-vol - name: new-vol
persistentVolumeClaim: persistentVolumeClaim:
claimName: data-target-pvc # change to data target pvc claimName: data-target-pvc # change to data target pvc