I have a kubernetes cluster i which we have 4 Namespaces and those are shared, i wanted to give access to 2 different teams with Azure RBAC
Team 1 : NS1,NS2
Team 2 : NS3,NS4
Team1 members should not see other team Namespaces, for that i have tried to create group and assigned below role on namespace level, role assignment is success but when trying to fetch throwing an error with unauthorised access, also from portal also Name spaces not visible
Role assignment : New-AzRoleAssignment -ObjectId “Group Object id” ` -RoleDefinitionName “Azure Kubernetes Service RBAC Reader” -Scope “$clusterid/namespaces/NS1”
Note : we are using azure RBAC