Added Gitea captcha
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s

This commit is contained in:
2026-06-18 02:30:49 +01:00
parent c5919259f6
commit 9508a8483c
+10 -29
View File
@@ -13,6 +13,10 @@ spec:
data: data:
token: |- token: |-
{{ .password }} {{ .password }}
GITEA__service__CF_TURNSTILE_SITEKEY: |-
{{ .CF_TURNSTILE_SITEKEY }}
GITEA__service__CF_TURNSTILE_SECRET: |-
{{ .CF_TURNSTILE_SECRET }}
data: data:
- secretKey: password - secretKey: password
sourceRef: sourceRef:
@@ -22,42 +26,19 @@ spec:
remoteRef: remoteRef:
key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064 key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064
property: login.password property: login.password
- secretKey: CF_TURNSTILE_SITEKEY
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: gitea-recapcha-creds
spec:
refreshInterval: 1m
target:
name: gitea-recapcha-creds
deletionPolicy: Delete
template:
type: Opaque
data:
GITEA__service__HCAPTCHA_SITEKEY: |-
{{ .HCAPTCHA_SITEKEY }}
GITEA__service__HCAPTCHA_SECRET: |-
{{ .HCAPTCHA_SECRET }}
GITEA__service__CF_TURNSTILE_SITEKEY: |-
{{ .CF_TURNSTILE_SITEKEY }}
GITEA__service__CF_TURNSTILE_SECRET: |-
{{ .CF_TURNSTILE_SECRET }}
data:
- secretKey: HCAPTCHA_SITEKEY
sourceRef: sourceRef:
storeRef: storeRef:
name: vaultwarden-login name: vaultwarden-login
kind: ClusterSecretStore kind: ClusterSecretStore
remoteRef: remoteRef:
key: 89c8d8d2-6b53-42c5-805f-38a341ef163e key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064
property: login.username property: fields[0].value
- secretKey: HCAPTCHA_SECRET - secretKey: CF_TURNSTILE_SECRET
sourceRef: sourceRef:
storeRef: storeRef:
name: vaultwarden-login name: vaultwarden-login
kind: ClusterSecretStore kind: ClusterSecretStore
remoteRef: remoteRef:
key: 89c8d8d2-6b53-42c5-805f-38a341ef163e key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064
property: login.password property: fields[1].value