Hi Everyone,
I want to know if theres any method to see and confirm that we attached SSC to service account before we attach the service account to pod/deployment.
Thanks.
oc get scc <scc name> -o jsonpath="{.users}"
or you could simply describe scc and check the access field
(pylab) vajra@BLRL133366:~$ : oc describe scc privileged
Name: privileged
Priority: <none>
Access:
Users: system:admin
Groups: system:cluster-admins
oc get scc <scc name> -o jsonpath="{.users}"
or you could simply describe scc and check the access field
(pylab) vajra@BLRL133366:~$ : oc describe scc privileged
Name: privileged
Priority: <none>
Access:
Users: system:admin
Groups: system:cluster-admins
You need to check in the clusterbindings, because the binding is the link between an account and a role.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.