Reputation: 11
I have three namespaces
And I have two users
On "prod-user", if I get namespace "kubectl get ns", I want that it's show only "prod" namespace
On "dev-user", if I get namespace "kubectl get ns", I want that it's show only "dev" and "stage" namespaces,
thanks!
Upvotes: 1
Views: 671
Reputation: 1117
Use Role & RoleBinding to restrict users to specific to allow CRUD operations for a particular namespace. link
Upvotes: 0