Commit 78e7cc88 authored by Piotr Szczesniak's avatar Piotr Szczesniak

Merge pull request #13376 from gouyang/fix-upgrade-storage-script

Use "kubectl replace" in update-storage-objects.sh
parents e285af9b 43931164
......@@ -84,7 +84,7 @@ do
echo "Looks like ${instance} got deleted. Ignoring it"
continue
fi
output=$("${KUBECTL}" update -f "${filename}" --namespace="${namespace}") || true
output=$("${KUBECTL}" replace -f "${filename}" --namespace="${namespace}") || true
rm "${filename}"
if [ -n "${output:-}" ]
then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment