Slava, spot on !!!
I don't know why i was under the impression that in 3.7 RBAC been fully implemented and everything on parity, guess i was wrong. Thank you for sharing the PR, it has very useful info there ...how on earth i missed it ;-( Best, Dani On Fri, May 25, 2018 at 8:31 AM, Vyacheslav Semushin <vsemu...@redhat.com> wrote: > 2018-05-24 23:16 GMT+02:00 Daniel Comnea <comnea.d...@gmail.com>: > >> Hi, >> >> Is any alternative to "oc adm policy add-scc-to-user" command in the >> same way there is one for "oc create serviceaccount foo" which can >> be achieved by >> >> apiVersion: v1 >> >> kind: ServiceAccount >> >> metadata: >> >> name: foo-sa >> >> namespace: foo >> >> >> I'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/19349 It also has a link to a Trello card that contains a few > pointers. > > > -- > Slava Semushin | OpenShift >
_______________________________________________ dev mailing list dev@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/dev