2018-05-24 23:16 GMT+02:00 Daniel Comnea <comnea dani gmail com>:Hi,Is any alternative to "oc adm policy add-scc-to-user" comman
d in the same way there is one for "oc create serviceaccount foo" which can be achieved by
namespace: fooI'd like to be able to put all the info in a file rather than run oc cmd sequentially.No, there was no alternative except editing SCC via oc edit/oc patch/etc.Since 3.10 it became possible to use ClusterRole and ClusterRoleBindings for such things. See related PR for details: https://github.com/openshift/
origin/pull/19349It also has a link to a Trello card that contains a few pointers.
--Slava Semushin | OpenShift