This commit is contained in:
2023-07-25 09:26:42 -05:00
parent f6ab77153a
commit 752efb3e8a
4 changed files with 22 additions and 56 deletions

View File

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