fix: gitea admin timeout on init
This commit is contained in:
parent
d61eb9dffd
commit
9370a6707a
@ -51,7 +51,7 @@ kcreatesec gitea-admin \
|
|||||||
--from-literal=password="$GITEA_PASSWORD"
|
--from-literal=password="$GITEA_PASSWORD"
|
||||||
|
|
||||||
kcreatesec gitea \
|
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)"
|
--from-literal=internal_token="$(kgseckey gitea internal_token || openssl rand -hex 32)"
|
||||||
|
|
||||||
kcreatecm gitea \
|
kcreatecm gitea \
|
||||||
@ -63,7 +63,7 @@ kapply common/job.yaml \
|
|||||||
|
|
||||||
kubectl rollout restart statefulset app
|
kubectl rollout restart statefulset app
|
||||||
|
|
||||||
kubectl rollout status sts app
|
kubectl wait --for=condition=complete job
|
||||||
|
|
||||||
kcreatesec runner \
|
kcreatesec runner \
|
||||||
--from-literal=token="$(kgseckey runner token || kubectl exec app-0 -- gitea actions generate-runner-token)"
|
--from-literal=token="$(kgseckey runner token || kubectl exec app-0 -- gitea actions generate-runner-token)"
|
||||||
|
Loading…
Reference in New Issue
Block a user