mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #86261 from troy0820/auth/kubectl-can-i-example
[auth]Change example in can-i to apps instead of extensions
This commit is contained in:
commit
3c951b1bb6
@ -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