Skip to content

Commit

Permalink
Merge pull request opendatahub-io#2988 from rsun19/tile-admin-fix
Browse files Browse the repository at this point in the history
added cluster-admins to administration tab
  • Loading branch information
openshift-merge-bot[bot] authored Jul 10, 2024
2 parents 3463fd7 + c351d28 commit 8a4261f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/utils/adminUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const getAdminUserList = async (fastify: KubeFastifyInstance): Promise<st
const adminGroupsList = adminGroups
.split(',')
.filter((groupName) => groupName && !groupName.startsWith('system:')); // Handle edge-cases and ignore k8s defaults
adminGroupsList.push('cluster-admins');
return getGroupUserList(fastify, adminGroupsList);
};

Expand Down

0 comments on commit 8a4261f

Please sign in to comment.