Argo/MetaObjects/cloudflare-keys.yml
Simen Røstvik a44d5f666d
Renovate
2022-12-15 14:22:45 +01:00

33 lines
710 B
YAML

apiVersion: external-secrets.io/v1alpha1
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/v1alpha1
kind: ExternalSecret
metadata:
name: ext-cloudflare
namespace: cert-manager
spec:
secretStoreRef:
name: ext-cloudflare-backend
kind: SecretStore
target:
name: cloudflare-api-token
data:
- secretKey: CLOUDFLARE_API_KEY
remoteRef:
key: cloudflare-api-token-secret
property: CLOUDFLARE_API_KEY