Skip to content

Commit

Permalink
added cluster-admins to administration tab
Browse files Browse the repository at this point in the history
  • Loading branch information
rsun19 committed Jul 9, 2024
1 parent dc5de07 commit c351d28
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 c351d28

Please sign in to comment.