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

25 lines
536 B
YAML
Raw Normal View History

2023-10-06 15:40:53 -05:00
---
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"