mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +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 instance.
|
||||
echo "Looks like ${instance} got deleted. Ignoring it"
|
||||
continue
|
||||
success=1
|
||||
break
|
||||
fi
|
||||
output=$("${KUBECTL}" replace -f "${filename}" --namespace="${namespace}") || true
|
||||
rm "${filename}"
|
||||
|
Reference in New Issue
Block a user