From cb6513b6a3ca4bb7c72fc95e3590e6a22fec4f96 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 5 Jun 2024 12:49:20 +0200 Subject: [PATCH] fix: kubectl run --rm needs --attach --- manifests/bin/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index aba9ce7..d9fedd3 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -60,7 +60,7 @@ kcreatesec gitea-admin \ --from-literal=username="$GITEA_USERNAME" \ --from-literal=password="$GITEA_PASSWORD" -kubectl run --rm --image "$IMAGEAPP" secrets sleep 60 & &> /dev/null +kubectl run --rm --attach --image "$IMAGEAPP" secrets sleep 60 & &> /dev/null sleep 5 kubectl wait --timeout=5m --for=condition=ready pod secrets kcreatesec gitea \