Skip to content

Grant calico-manager read access to UISettings for ui-apis#4676

Merged
caseydavenport merged 1 commit intotigera:masterfrom
caseydavenport:casey-uisettings-rbac
Apr 14, 2026
Merged

Grant calico-manager read access to UISettings for ui-apis#4676
caseydavenport merged 1 commit intotigera:masterfrom
caseydavenport:casey-uisettings-rbac

Conversation

@caseydavenport
Copy link
Copy Markdown
Member

ui-apis now serves UISettings and UISettingsGroups reads on behalf of users via Voltron. The calico-manager SA (which runs the ui-apis sidecar) needs broad read access to these resources so it can fetch them, then enforce per-group RBAC via SubjectAccessReviews before returning results to the user.

This adds get/list/watch on uisettings, uisettingsgroups, and uisettingsgroups/data to the calico-manager ClusterRole. The duplicate uisettingsgroups list-only rule is folded into the new rule.

Related: https://github.com/tigera/calico-private/pull/11457

None

ui-apis now serves UISettings reads on behalf of users via Voltron. It needs
get/list/watch on uisettings, uisettingsgroups, and uisettingsgroups/data to
fetch resources, then performs SubjectAccessReviews to enforce per-group RBAC
before returning results.
Comment thread pkg/render/manager.go
@caseydavenport caseydavenport merged commit a3f6e74 into tigera:master Apr 14, 2026
9 checks passed
@caseydavenport caseydavenport deleted the casey-uisettings-rbac branch April 14, 2026 15:39
caseydavenport added a commit to caseydavenport/operator that referenced this pull request Apr 16, 2026
…a#4676)

ui-apis now serves UISettings reads on behalf of users via Voltron. It needs
get/list/watch on uisettings, uisettingsgroups, and uisettingsgroups/data to
fetch resources, then performs SubjectAccessReviews to enforce per-group RBAC
before returning results.
caseydavenport added a commit to caseydavenport/operator that referenced this pull request Apr 16, 2026
…a#4676)

ui-apis now serves UISettings reads on behalf of users via Voltron. It needs
get/list/watch on uisettings, uisettingsgroups, and uisettingsgroups/data to
fetch resources, then performs SubjectAccessReviews to enforce per-group RBAC
before returning results.
caseydavenport added a commit that referenced this pull request Apr 16, 2026
#4701)

ui-apis now serves UISettings reads on behalf of users via Voltron. It needs
get/list/watch on uisettings, uisettingsgroups, and uisettingsgroups/data to
fetch resources, then performs SubjectAccessReviews to enforce per-group RBAC
before returning results.
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.

3 participants