Argo/MetaObjects/ext-store.yml

32 lines
634 B
YAML
Raw Normal View History

2022-12-15 13:41:03 +01:00
apiVersion: external-secrets.io/v1alpha1
kind: SecretStore
metadata:
name: vault-backend
namespace: vault
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: vault-example
spec:
secretStoreRef:
name: vault-backend
kind: SecretStore
target:
name: my-thing
data:
- secretKey: foobar
remoteRef:
key: cloudflare-api-token-secret
property: CLOUDFLARE_API_KEY