add vault auth for encapi #80

Closed
unkinben wants to merge 1 commits from benvin/add-encapi-vault-auth into master
3 changed files with 27 additions and 0 deletions
@@ -0,0 +1,7 @@
bound_service_account_names:
- default
bound_service_account_namespaces:
- encapi
token_ttl: 600
token_max_ttl: 600
audience: vault
@@ -0,0 +1,10 @@
# Allow reading environment variables for encapi
---
rules:
- path: "kv/data/service/encapi/environment"
capabilities:
- read
auth:
k8s/au/syd1:
- encapi
@@ -0,0 +1,10 @@
# Allow reading environment vars for postgres/encapi
---
rules:
- path: "kv/data/service/encapi/postgres-password"
capabilities:
- read
auth:
k8s/au/syd1:
- encapi