...
Code Block |
---|
kubectl get psp kubectl get roles --all-namespaces kubectl get clusterroles #check access $ kubectl auth can-i use psp/privileged Warning: resource 'podsecuritypolicies' is not namespace scoped in group 'policy' yes $ kubectl auth can-i use psp/privileged --as-group=system:authenticated --as=any-user Warning: resource 'podsecuritypolicies' is not namespace scoped in group 'policy' no |
...