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 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 kind: ExternalSecret
metadata: metadata:
name: ext-authentik name: ext-authentik
namespace: authentik namespace: authentik
spec: spec:
secretStoreRef: secretStoreRef:
name: ext-authentik-backend name: secret-store
kind: SecretStore kind: ClusterSecretStore
target: target:
name: authentik-secret name: authentik-secret
data: data:

View File

@ -1,28 +1,12 @@
apiVersion: external-secrets.io/v1beta1 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 kind: ExternalSecret
metadata: metadata:
name: ext-cloudflare name: ext-cloudflare
namespace: cert-manager namespace: cert-manager
spec: spec:
secretStoreRef: secretStoreRef:
name: ext-cloudflare-backend name: secret-store
kind: SecretStore kind: ClusterSecretStore
target: target:
name: cloudflare-api-token name: cloudflare-api-token
data: data: