mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
cluster/update-storage-objects.sh: Fix to ignore deleted objects
This commit is contained in:
@@ -104,7 +104,8 @@ do
|
|||||||
# This happens when the instance has been deleted. We can hence ignore
|
# This happens when the instance has been deleted. We can hence ignore
|
||||||
# this instance.
|
# this instance.
|
||||||
echo "Looks like ${instance} got deleted. Ignoring it"
|
echo "Looks like ${instance} got deleted. Ignoring it"
|
||||||
continue
|
success=1
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
output=$("${KUBECTL}" replace -f "${filename}" --namespace="${namespace}") || true
|
output=$("${KUBECTL}" replace -f "${filename}" --namespace="${namespace}") || true
|
||||||
rm "${filename}"
|
rm "${filename}"
|
||||||
|
Reference in New Issue
Block a user