-
With the admin user create a role
pod-reader.yaml
oc create -f pod-reader.yaml -n bit-play
-
Create the binding for the
user1
oc create -f pod-reader-binding.yaml -n bit-play
-
Show that can only see the pods nothing else.
-
Add the standard view binding.
oc adm policy add-role-to-user view user1 -n bit-play
-
Show that can view everything on the namespace.