[auth]Change example in can-i to apps instead of extensions

This commit is contained in:
Troy Connor 2019-12-13 13:36:48 -05:00
parent b1177f4755
commit 314b6cb32b
No known key found for this signature in database
GPG Key ID: 97E3BD011FA14CF8

View File

@ -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 '*' '*'