cancel
Showing results for 
Search instead for 
Did you mean: 
  • 337 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
  • 249 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
  • 250 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
  • 21 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

 

 

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