Warning: User 'username' not found
Issue
- When you add a role to new user you added, the following warning message is shown.
# oc adm policy add-role-to-user edit newuser
Warning: User 'newuser' not found
role "edit" added: "newuser"
- Even though a warning message is shown, the role has been added and work well. Why warning message is shown ?
Environment
- OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.