From e25e9a860844d6cf828fb643b90ff251cd54cb58 Mon Sep 17 00:00:00 2001 From: ab Date: Thu, 3 Jul 2025 11:38:16 +0000 Subject: [PATCH] Update k8s/apps/gitea/deployment.yaml --- k8s/apps/gitea/deployment.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/k8s/apps/gitea/deployment.yaml b/k8s/apps/gitea/deployment.yaml index 90cd3b4..4a7f0c0 100644 --- a/k8s/apps/gitea/deployment.yaml +++ b/k8s/apps/gitea/deployment.yaml @@ -31,16 +31,16 @@ spec: - name: gitea image: 'gitea/gitea:latest' env: - - name: GITEA_REGISTER_MANUAL_CONFIRM + - name: GITEA__service__REGISTER_MANUAL_CONFIRM value: "true" - - name: GITEA_ENABLE_CAPTCHA + - name: GITEA__service__ENABLE_CAPTCHA value: "true" - - name: GITEA_REQUIRE_CAPTCHA_FOR_LOGIN + - name: GITEA__service__REQUIRE_CAPTCHA_FOR_LOGIN value: "true" - - name: GITEA_REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA - value: "true" - - name: GITEA_CAPTCHA_TYPE + - name: GITEA__service__REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA value: "true" + - name: GITEA__service__CAPTCHA_TYPE + value: "recaptcha" envFrom: - secretRef: name: gitea-recapcha-creds @@ -95,5 +95,4 @@ spec: - name: GITEA_RUNNER_NAME value: "k8s-runner" - name: GITEA_RUNNER_LABELS - value: "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04" - + value: "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04" \ No newline at end of file