From 314b6cb32bb9de4358e2125419182a325dce85de Mon Sep 17 00:00:00 2001 From: Troy Connor Date: Fri, 13 Dec 2019 13:36:48 -0500 Subject: [PATCH] [auth]Change example in can-i to apps instead of extensions --- pkg/kubectl/cmd/auth/cani.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/auth/cani.go b/pkg/kubectl/cmd/auth/cani.go index 4b45408e5cb..c08d989331a 100644 --- a/pkg/kubectl/cmd/auth/cani.go +++ b/pkg/kubectl/cmd/auth/cani.go @@ -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 '*' '*'