Kubectl auth

From NovaOrdis Knowledge Base
Revision as of 06:12, 3 September 2020 by Ovidiu (talk | contribs) (Created page with "=Internal= * kubectl =Overview= <code>kubectl auth</code> inspects authorization. It can check whether an action is allowed with: <syntaxhighlight lan...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

kubectl auth inspects authorization.

It can check whether an action is allowed with:

kubectl auth can-i <verb> <type> <name>


It could also reconcile rules for RBAC Role, RoleBinding, ClusterRole, and ClusterRole binding objects.

Usage Examples