Commit Graph

7 Commits (904b02075623d762c9a8f5580dfbb7c58f6dd743)

Author SHA1 Message Date
xilabao d3d33aa834 remove warning infomation when use '*' 2017-04-18 16:10:21 +08:00
Mike Danese a05c3c0efd autogenerated 2017-04-14 10:40:57 -07:00
Kubernetes Submit Queue d2733394ca Merge pull request #42144 from xilabao/add-resource-validate
Automatic merge from submit-queue

add validate to resource in can-i

```
#kubectl auth can-i get xxx
the server doesn't have a resource type "xxx"
```
2017-04-13 11:43:05 -07:00
xilabao 53f2c2753f add a warning to the resource check 2017-04-03 09:43:31 +08:00
Cao Shufeng 70a2643fdf fix return value of "kubectl auth cani --quiet"
Before this change:
$ kubectl auth can-i get pod
no
$ kubectl auth can-i get pod --quiet
$ echo $?
0

After this change:
$ kubectl auth can-i get pod
no
$ kubectl auth can-i get pod --quiet
$ echo $?
1
2017-03-31 07:40:48 -04:00
xilabao 1833602bf8 add can-i example 2017-03-30 09:39:03 +08:00
deads2k 5b4a611fd7 add kubectl can-i to see if you can perform an action 2017-02-23 09:12:35 -05:00