fix: kubectl wait needs resource name

This commit is contained in:
ange 2024-05-22 18:28:31 +02:00
parent 9370a6707a
commit 5c620af282
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -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)"