fix(nextcloud): #35 Include namespace in cp

This commit is contained in:
Tibo De Peuter 2024-05-03 18:33:46 +02:00
parent f5982bb7df
commit 87f5e39040
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -67,7 +67,7 @@ k3s kubectl exec "${database_container}" --namespace "${namespace}" -- env $(cat
# Files backup
for file in 'config' 'themes'; do
printf "Copying %s\n" "${file}"
k3s kubectl cp "${base_container}":"/var/www/html/${file}" "${destination}"
k3s kubectl --namespace "${namespace}" cp "${base_container}":"/var/www/html/${file}" "${destination}"
done
# Turn off maintenance mode