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/kubernetes/apps/security/authentik/redis/externalsecret.yaml
2023-10-06 20:40:53 +00:00

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"