Update 2 files

- /authentik/templates/authentik-sealed.yaml
- /authentik/templates/secrets.yaml
This commit is contained in:
2023-05-13 11:43:58 +00:00
parent 01638db1d9
commit daa49b0bfe

View File

@@ -0,0 +1,37 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: vault-authentik
spec:
secretStoreRef:
name: vault-authentik
kind: SecretStore
target:
name: db-pass
data:
- secretKey: dbpass
remoteRef:
key: authentik/database
property: dbpass
- secretKey: secretkey
remoteRef:
key: authentik/database
property: secretkey
---
apiVersion: external-secrets.io/v1beta1
kind: SecretStore
metadata:
name: vault-authentik
spec:
provider:
vault:
server: "http://vault.vault.svc.cluster.local:8200"
path: "authentik"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "external-secrets"