Skip to content

remove cluster-admin and add specific role for identity#1

Open
crigertg wants to merge 2 commits intogardener-community:mainfrom
crigertg:add-specific-role-for-identity
Open

remove cluster-admin and add specific role for identity#1
crigertg wants to merge 2 commits intogardener-community:mainfrom
crigertg:add-specific-role-for-identity

Conversation

@crigertg
Copy link

@crigertg crigertg commented Aug 28, 2025

How to categorize this PR?

/area security
/kind enhancement

What this PR does / why we need it:

The identity service (dex) is running with cluster-admin privileges, which is not required. This violates least-privilege best practices and can be an issue for security audits.

The dex docs state which permissions are required for the service to work.

This PR introduces a new role specific for the identity service and assigns only the required permissions. The cluster-admin ClusterRoleBinding is removed.

I've also updated the naming of the resources since garden.sapcloud.io is not used anywhere else (AFAIK).

Which issue(s) this PR fixes:

NONE

@lotharbach lotharbach self-assigned this Aug 28, 2025
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.

2 participants