From 5c620af282eba2da6b98fca26260ad538a158fd7 Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 22 May 2024 18:28:31 +0200 Subject: [PATCH] fix: kubectl wait needs resource name --- 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 79f6704..4634df0 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 +kubectl wait --for=condition=complete job/createadminuser kcreatesec runner \ --from-literal=token="$(kgseckey runner token || kubectl exec app-0 -- gitea actions generate-runner-token)"