namespace-configuration-operator
namespace-configuration-operator copied to clipboard
Creating Projects with correct access rights for users
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?
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.