Kubernetes Security Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Service Account Operations

Service Account Operations

RBAC Operations

RBAC Operations

Authorization Check

kubectl --as=system:serviceaccount:<namespace>:<serviceaccount-name> -n <namespace> auth can-i use <resource-name>
kubectl --as=system:serviceaccount:blue:blue-serviceaccount -n blue auth can-i use podsecuritypolicy/example