namespace-configuration-operator icon indicating copy to clipboard operation
namespace-configuration-operator copied to clipboard

Creating Projects with correct access rights for users

Open utherp0 opened this issue 2 years ago • 1 comments

Adding a 'project' object as part of a user-config CR, project gets created, user has no access - how do I add the 'oc adm policy add-role-to-user admin (user) (created-project)? Am I missing something simple?

utherp0 avatar Apr 17 '23 09:04 utherp0

sorry for the late response. yes you need to explicitly add role bindings to the correct principals to give access to the new project/namespace. The new role bindings are manifests that can be templated with this same operator. This is a common practice.

raffaelespazzoli avatar Jan 08 '24 12:01 raffaelespazzoli