chore(k8s-wheatley): Use Vault SecretStore
This commit is contained in:
parent
764d642e9f
commit
22ae1a5f7f
6 changed files with 44 additions and 38 deletions
24
k8s-wheatley/external-secrets-operator/secretstore.yaml
Normal file
24
k8s-wheatley/external-secrets-operator/secretstore.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ClusterSecretStore
|
||||
metadata:
|
||||
name: vault-wheatley
|
||||
namespace: external-secrets
|
||||
spec:
|
||||
provider:
|
||||
vault:
|
||||
server: "https://vault.wheatley.in"
|
||||
namespace: "wheatley"
|
||||
path: "kv/k8s_wheatley"
|
||||
version: "v2"
|
||||
auth:
|
||||
appRole:
|
||||
path: approle
|
||||
roleRef:
|
||||
namespace: external-secrets
|
||||
name: vault-wheatley-approle
|
||||
key: approle_id
|
||||
secretRef:
|
||||
namespace: external-secrets
|
||||
name: vault-wheatley-approle
|
||||
key: approle_secret
|
||||
Loading…
Add table
Add a link
Reference in a new issue