Add additionalClusterRoleBindings
to allow setting cluster wide access for a tenant.
#1386
Labels
blocked-needs-validation
Issue need triage and validation
Describe the feature
We have a need to control cluster-scoped RBAC for a Tenant, to allow it cluster-scoped access to things outside of its Tenant. Today we do this by creating native
ClusterRole
andClusterRoleBinding
resources next to thecapsule.clastix.io/v1beta2.Tenant
resource. This works, but we would love a more Capsule-native way of doing this.The concrete need spawned as we want to install the Grafana Alloy Agent in a Capsule Tenant, and allow it to scrape and monitor services, nodes, etc, in the full cluster, while still ensuring its has least-privilege.
It would be great if an additional object was added to the Tenant CR, so this is possible with an
additionalClusterRoleBindings
object alike so:Expected behavior
Allow controlling cluster-scoped RBAC for tenants in a Capsule-native way.
The text was updated successfully, but these errors were encountered: