This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/archive/security/authentik/redis/externalsecret.yaml

24 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"