Difference between revisions of "Kubectl auth can-i"
Jump to navigation
Jump to search
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://www.mankier.com/1/kubectl-auth-can-i | ||
+ | |||
+ | [[kubectl auth can-i create deployments]] --namespace dev | ||
+ | [[kubectl auth can-i list pods]] | ||
+ | [[kubectl auth can-i list pods --as=system:serviceaccount:fluentbit-system:fluentbit]] | ||
+ | [[kubectl auth can-i list secrets]] | ||
== Related == | == Related == | ||
* <code>[[kubectl auth reconcile]]</code> | * <code>[[kubectl auth reconcile]]</code> | ||
+ | * [[whoami]] | ||
+ | * [[kubectl create clusterrole]] | ||
== See also == | == See also == | ||
* {{kubectl auth}} | * {{kubectl auth}} | ||
* {{Kubernetes RBAC}} | * {{Kubernetes RBAC}} | ||
− | * {{ | + | * {{Kubernetes Authorization}} |
+ | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 11:16, 31 October 2023
kubectl auth can-i create deployments --namespace dev kubectl auth can-i list pods kubectl auth can-i list pods --as=system:serviceaccount:fluentbit-system:fluentbit kubectl auth can-i list secrets
Related[edit]
See also[edit]
kubectl auth [ can-i | reconcile ]
- Kubernetes RBAC
kubectl auth, kubectl auth can-i, kubectl auth reconcile
kubectl create [ role | clusterrole | clusterrolebinding
|rolebinding | serviceaccount ], groups:
, Kubernetes RBAC good practices,kube2iam
, K8s Cluster roles,rbac.authorization.k8s.io
,system:
- Kubernetes Authorization,
kubectl auth can-i
Advertising: