Combining Role Bindings with Namespaces

In this lesson, first, we will combine Role Bindings with Namespaces and then create a user-specific Namespace.

The Solution

The new request demanding more freedom provides an excellent opportunity to combine Namespaces with Role Bindings.

We can create a dev Namespace and allow a selected group of users to do almost anything in it. That should give developers enough freedom within the dev Namespace while avoiding the risks of negatively impacting the resources running in others.

Looking into the Definition

Let’s take a look at the auth/rb-dev.yml definition.

Get hands-on with 1200+ tech skills courses.