Added Gitea captcha
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user