Skip to content

fix: add kube-system to the managedresource allowed list#1216

Closed
nwnt wants to merge 1 commit into
Azure:mainfrom
nwnt:add-kube-system-service-accounts-allowed-list
Closed

fix: add kube-system to the managedresource allowed list#1216
nwnt wants to merge 1 commit into
Azure:mainfrom
nwnt:add-kube-system-service-accounts-allowed-list

Conversation

@nwnt

@nwnt nwnt commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

Description of your changes

Fixes: the issue where kube-system service couldn't perform edit actions on managed resources.

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

Signed-off-by: Nont <nont@duck.com>
(
"system:serviceaccounts:openshift-infra" in request.userInfo.groups
"system:serviceaccounts:openshift-infra" in request.userInfo.groups ||
"system:serviceaccounts:kube-system" in request.userInfo.groups

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

instead of exempt all kube-system group, we should exempt "namespace-controller" instead

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants