chore: add rancher role

- add kubernetes role for rancher
- add policy to enable access to bootstrap-password
This commit is contained in:
Ben Vincent 2026-01-30 19:43:06 +11:00
parent cb1b383035
commit 33af7010fb
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,6 @@
bound_service_account_names:
- rancher
bound_service_account_namespaces:
- default
token_ttl: 60
audience: vault

View File

@ -0,0 +1,10 @@
# Allow reading ExternalDNS TSIG keys
---
rules:
- path: "kv/data/service/kubernetes/au/syd1/rancher/bootstrap-password"
capabilities:
- read
auth:
k8s/au/syd1:
- rancher