Update values.yaml

Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten 2023-12-03 17:03:22 +01:00 committed by GitHub
parent a2e8c51412
commit b8e0cf0014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -105,8 +105,6 @@ workload:
dirs=$(ls -A "$newdatadir" | grep -v "data")
if [ -n "$dirs" ]; then
echo "New data dir is empty. Migrating data one level up"
mv $olddatadir/* $newdatadir || echo "Failed to move data" && exit 1
# Remove the data/data dir
rm -rf $olddatadir
cp -rf $olddatadir/* $newdatadir || echo "Failed to move data" && exit 1
echo "Data migration complete"
fi