mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
[auth]Change example in can-i to apps instead of extensions
This commit is contained in:
parent
b1177f4755
commit
314b6cb32b
@ -76,7 +76,7 @@ var (
|
||||
kubectl auth can-i create pods --all-namespaces
|
||||
|
||||
# Check to see if I can list deployments in my current namespace
|
||||
kubectl auth can-i list deployments.extensions
|
||||
kubectl auth can-i list deployments.apps
|
||||
|
||||
# Check to see if I can do everything in my current namespace ("*" means all)
|
||||
kubectl auth can-i '*' '*'
|
||||
|
Loading…
Reference in New Issue
Block a user