Skip to content

Commit 3c951b1

Browse files
authored
Merge pull request kubernetes#86261 from troy0820/auth/kubectl-can-i-example
[auth]Change example in can-i to apps instead of extensions
2 parents 756eef1 + 314b6cb commit 3c951b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubectl/cmd/auth/cani.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var (
7676
kubectl auth can-i create pods --all-namespaces
7777
7878
# Check to see if I can list deployments in my current namespace
79-
kubectl auth can-i list deployments.extensions
79+
kubectl auth can-i list deployments.apps
8080
8181
# Check to see if I can do everything in my current namespace ("*" means all)
8282
kubectl auth can-i '*' '*'

0 commit comments

Comments
 (0)