Skip to content

feat: Add RBAC aggregation labels to FeatureStore ClusterRoles#6205

Open
ntkathole wants to merge 1 commit intofeast-dev:masterfrom
ntkathole:feast_admin
Open

feat: Add RBAC aggregation labels to FeatureStore ClusterRoles#6205
ntkathole wants to merge 1 commit intofeast-dev:masterfrom
ntkathole:feast_admin

Conversation

@ntkathole
Copy link
Copy Markdown
Member

@ntkathole ntkathole commented Mar 31, 2026

What this PR does / why we need it:

The Feast operator ships two ClusterRoles for end users (featurestore-editor-role and featurestore-viewer-role), but these roles are not automatically available to users who already have the standard Kubernetes admin, edit, or view roles in a namespace.

This means that a namespace admin who should be able to manage FeatureStore CRDs cannot do so until a cluster administrator manually creates a separate RoleBinding to one of the Feast-specific ClusterRoles. This creates an extra manual step and is inconsistent with how most operators expose their CRD permissions.

This PR adds standard Kubernetes RBAC aggregation labels to the existing FeatureStore ClusterRoles:

featurestore-editor-role:

rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"

featurestore-viewer-role:

rbac.authorization.k8s.io/aggregate-to-view: "true"

These labels cause Kubernetes to automatically aggregate the permissions into the built-in admin, edit, and view ClusterRoles (Kubernetes docs)


Open with Devin

Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
@ntkathole ntkathole self-assigned this Mar 31, 2026
@ntkathole ntkathole requested a review from a team as a code owner March 31, 2026 16:46
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant