Difference between revisions of "Kubectl auth can-i"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
[[kubectl auth can-i list pods]] | [[kubectl auth can-i list pods]] | ||
[[kubectl auth can-i list pods --as=system:serviceaccount:fluentbit-system:fluentbit]] | [[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]] | * [[whoami]] | ||
+ | * [[kubectl create clusterrole]] | ||
== See also == | == See also == | ||
Line 14: | Line 16: | ||
* {{Kubernetes RBAC}} | * {{Kubernetes RBAC}} | ||
* {{Kubernetes Authorization}} | * {{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: