From 1db9c9bb87fece4d33932790a55adc0c7b084924 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Wed, 5 Jun 2024 20:15:31 +0200 Subject: [PATCH] remove patching running instances --- packs/dispatch/init.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packs/dispatch/init.sh b/packs/dispatch/init.sh index c77aab4..91ff8f2 100755 --- a/packs/dispatch/init.sh +++ b/packs/dispatch/init.sh @@ -46,14 +46,5 @@ while true; do sleep 1 done -sleep 2 - -# patch kuberoes resource with the new image -kubectl patch --type=merge kuberoapps.application.kubero.dev ${APP} -p "{\"spec\":{\"image\":{\"repository\":\"${REPOSITORY}\",\"tag\":\"${TAG}\"}}}" -if [ $? -ne 0 ]; then - echo "$(date) Failed to patch kubero app resource" - exit 1 -fi - -echo "$(date) Successfully patched kubero app resource" +echo "$(date) Successfully build docker image" exit 0 \ No newline at end of file