diff --git a/config/auth_kubernetes_role/k8s/au/syd1/cephrgw-operator.yaml b/config/auth_kubernetes_role/k8s/au/syd1/cephrgw-operator.yaml new file mode 100644 index 0000000..4a5d822 --- /dev/null +++ b/config/auth_kubernetes_role/k8s/au/syd1/cephrgw-operator.yaml @@ -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 diff --git a/policies/kv/service/cephrgw/dashboard-credentials/read.yaml b/policies/kv/service/cephrgw/dashboard-credentials/read.yaml new file mode 100644 index 0000000..bac0710 --- /dev/null +++ b/policies/kv/service/cephrgw/dashboard-credentials/read.yaml @@ -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