use global store

This commit is contained in:
Simen Røstvik 2022-12-18 00:22:14 +01:00
parent 61e0d7bf2c
commit 33144c604d
2 changed files with 4 additions and 36 deletions

View File

@ -1,28 +1,12 @@
apiVersion: external-secrets.io/v1beta1
kind: SecretStore
metadata:
name: ext-authentik-backend
namespace: authentik
spec:
provider:
vault:
server: "http://vault.vault:8200"
path: "kv"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "kube-role"
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ext-authentik
namespace: authentik
spec:
secretStoreRef:
name: ext-authentik-backend
kind: SecretStore
name: secret-store
kind: ClusterSecretStore
target:
name: authentik-secret
data:

View File

@ -1,28 +1,12 @@
apiVersion: external-secrets.io/v1beta1
kind: SecretStore
metadata:
name: ext-cloudflare-backend
namespace: cert-manager
spec:
provider:
vault:
server: "http://vault.vault:8200"
path: "kv"
version: "v2"
auth:
kubernetes:
mountPath: "kubernetes"
role: "kube-role"
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ext-cloudflare
namespace: cert-manager
spec:
secretStoreRef:
name: ext-cloudflare-backend
kind: SecretStore
name: secret-store
kind: ClusterSecretStore
target:
name: cloudflare-api-token
data: