25 lines
536 B
YAML
25 lines
536 B
YAML
|
---
|
||
|
apiVersion: external-secrets.io/v1beta1
|
||
|
kind: ExternalSecret
|
||
|
metadata:
|
||
|
name: authentik-redis
|
||
|
namespace: security
|
||
|
spec:
|
||
|
secretStoreRef:
|
||
|
kind: ClusterSecretStore
|
||
|
name: onepassword-connect
|
||
|
target:
|
||
|
name: authentik-redis-secret
|
||
|
creationPolicy: Owner
|
||
|
template:
|
||
|
engineVersion: v2
|
||
|
data:
|
||
|
AUTHENTIK_REDIS_PASSWORD: "{{ .authentik_redis_password }}"
|
||
|
dataFrom:
|
||
|
- extract:
|
||
|
key: Authentik
|
||
|
rewrite:
|
||
|
- regexp:
|
||
|
source: "(.*)"
|
||
|
target: "authentik_$1"
|