Add cephrgw-operator k8s auth role + dashboard-credentials read policy
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful

The cephrgw-operator reads its Ceph dashboard credentials from Vault via VSO
and needs a Kubernetes auth role bound to its ServiceAccount plus a policy
granting read on the KV path.

- Add config/auth_kubernetes_role/k8s/au/syd1/cephrgw-operator.yaml binding
  ServiceAccount cephrgw-operator in namespace cephrgw-system (audience vault).
- Add policies/kv/service/cephrgw/dashboard-credentials/read.yaml granting
  read on kv/data/service/cephrgw/dashboard-credentials to that role via the
  k8s/au/syd1 auth mount.
This commit is contained in:
benvin
2026-07-18 16:12:42 +10:00
parent 193c17d1bc
commit 3624450baa
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,7 @@
bound_service_account_names:
- cephrgw-operator
bound_service_account_namespaces:
- cephrgw-system
token_ttl: 600
token_max_ttl: 600
audience: vault
@@ -0,0 +1,10 @@
# Allow the cephrgw-operator to read its Ceph dashboard credentials
---
rules:
- path: "kv/data/service/cephrgw/dashboard-credentials"
capabilities:
- read
auth:
k8s/au/syd1:
- cephrgw-operator