When granting the cluster role, the username for the service account is not "pruner", it is "system:serviceaccount:default:pruner"
On Nov 16, 2016, at 11:29 AM, Stéphane Klein <[email protected]> wrote: Hi, oc adm policy add-cluster-role-to-user system:image-pruner pruner oadm --token=`oc sa get-token pruner` prune images --confirm Error from server: User "system:serviceaccount:default:pruner" cannot list all images in the cluster What role I forget to grant to pruner ServiceAccount ? Best regards, Stéphane -- Stéphane Klein <[email protected]> blog: http://stephane-klein.info cv : http://cv.stephane-klein.info Twitter: http://twitter.com/klein_stephane _______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
