mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #13376 from gouyang/fix-upgrade-storage-script
Use "kubectl replace" in update-storage-objects.sh
This commit is contained in:
commit
78e7cc88fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user