How to avoid running controller manager POD with root user in OpenShift 4
Issue
- Is there any way to prevent
controller manager
POD be running withroot
user? - Organization policy does not allow use of
root
user within a POD andcontroller manager
POD runs withroot
user.
[user@host ~]$ oc rsh -n openshift-controller-manager <controller-manager-POD_name>
sh-4.2# id
uid=0(root) gid=0(root) groups=0(root)
Environment
- Red Hat OpenShift Container Platform
- 4.2
- 4.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.