diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index fd314cc..79f6704 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -51,7 +51,7 @@ kcreatesec gitea-admin \ --from-literal=password="$GITEA_PASSWORD" kcreatesec gitea \ - --from-literal=secret_key="$(kgseckey gitea secret_key || openssl rand -hex 32)" \ + --from-literal=secret_key="$(kgseckey gitea secret_key || openssl rand -hex 32)" \ --from-literal=internal_token="$(kgseckey gitea internal_token || openssl rand -hex 32)" kcreatecm gitea \ @@ -63,7 +63,7 @@ kapply common/job.yaml \ kubectl rollout restart statefulset app -kubectl rollout status sts app +kubectl wait --for=condition=complete job kcreatesec runner \ --from-literal=token="$(kgseckey runner token || kubectl exec app-0 -- gitea actions generate-runner-token)"