2022-05-07 23:49:16 +07:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
2022-02-26 10:37:25 +07:00
|
|
|
kind: ClusterSecretStore
|
|
|
|
metadata:
|
|
|
|
name: vault
|
|
|
|
spec:
|
|
|
|
provider:
|
|
|
|
vault:
|
|
|
|
server: http://vault.vault:8200
|
|
|
|
path: secret
|
|
|
|
auth:
|
|
|
|
tokenSecretRef:
|
2022-05-12 12:11:27 +07:00
|
|
|
name: vault-unseal-keys
|
2022-02-26 10:37:25 +07:00
|
|
|
namespace: vault
|
2022-05-12 12:11:27 +07:00
|
|
|
key: vault-root
|
2022-02-26 10:37:25 +07:00
|
|
|
# TODO switch to kubernetes auth
|
|
|
|
# kubernetes:
|
|
|
|
# mountPath: "kubernetes"
|
|
|
|
# role: "demo"
|
|
|
|
# serviceAccountRef:
|
|
|
|
# name: "my-sa"
|
|
|
|
# namespace: "secret-admin"
|
|
|
|
# secretRef:
|
|
|
|
# name: "my-secret"
|
|
|
|
# namespace: "secret-admin"
|
|
|
|
# key: "vault"
|