From b280a390642da205d2cb5bb75faf6085e2570a78 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 22 May 2024 18:30:19 +0200 Subject: [PATCH] fix: kubectl-wait timeout too short --- 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 4634df0..fb8a6bc 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -63,7 +63,7 @@ kapply common/job.yaml \ kubectl rollout restart statefulset app -kubectl wait --for=condition=complete job/createadminuser +kubectl wait --timeout=5m --for=condition=complete job/createadminuser kcreatesec runner \ --from-literal=token="$(kgseckey runner token || kubectl exec app-0 -- gitea actions generate-runner-token)"