cancel
Showing results for 
Search instead for 
Did you mean: 
  • 1,139 Views

Theres a way to check the scc that we attached to service account user ?

Jump to solution

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.

Labels (3)
1 Solution

Accepted Solutions
Vajravelu
Cadet
Cadet
  • 1,051 Views

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

View solution in original post

2 Replies
Vajravelu
Cadet
Cadet
  • 1,052 Views

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

cipid2001_linux
Mission Specialist
Mission Specialist
  • 823 Views

You need to check in the clusterbindings, because the binding is the link between an account and a role.  

cipid2001_linux_0-1714318615798.png

 

 

Join the discussion
You must log in to join this conversation.