From 4393116422dc0e5fab4d90e0238f6385a11602d7 Mon Sep 17 00:00:00 2001 From: Guohua Ouyang Date: Mon, 31 Aug 2015 15:14:27 +0800 Subject: [PATCH] Use "kubectl replace" in update-storage-objects.sh Signed-off-by: Guohua Ouyang --- cluster/update-storage-objects.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/update-storage-objects.sh b/cluster/update-storage-objects.sh index 239127e4fef..e4c0c830452 100755 --- a/cluster/update-storage-objects.sh +++ b/cluster/update-storage-objects.sh @@ -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