strato-infra/flux/cluster/core/external-secrets/vault-secret-store.yaml

19 lines
475 B
YAML
Raw Normal View History

2022-05-23 00:02:30 +02:00
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
name: vault
namespace: external-secrets
spec:
provider:
vault:
2022-05-23 00:09:14 +02:00
server: "https://vault.asraphiel.dev"
2022-05-23 00:02:30 +02:00
path: "k8s"
version: "v2"
auth:
# points to a secret that contains a vault token
# https://www.vaultproject.io/docs/auth/token
tokenSecretRef:
name: "vault-secret"
2022-05-23 12:02:51 +02:00
namespace: external-secrets
key: "vault-token"