Kubernetes Submit Queue
fa20f87f1f
Merge pull request #59579 from fbac/kubectl-cani-exitcode
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Add exit code 1 on not allowed to kubectl auth can-i
What this PR does / why we need it:
kubectl auth can-i verb resource always returns 0 status, even if the user can't <verb> <resource>
With this commit, kubectl will return exit code 1 when a verb is not allowed. It doesn't affect quiet option.
Release note:
```release-note
Fix kubectl auth can-i exit code. It will return 1 if the user is not allowed and 0 if it's allowed.
```
2018-06-05 07:01:06 -07:00
..
2018-03-21 12:44:37 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-23 12:32:01 -07:00
2018-06-05 07:01:06 -07:00
2018-05-25 22:18:10 +02:00
2018-01-18 15:29:27 -08:00
2018-06-04 16:47:24 -04:00
2018-02-23 09:33:14 +08:00
2018-04-19 13:20:13 +02:00
2018-04-23 22:45:24 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-03-07 11:27:56 -08:00
2018-04-19 13:20:13 +02:00
2018-03-07 11:27:56 -08:00
2018-05-02 19:44:32 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-16 07:07:05 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-28 11:08:58 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-06-04 12:26:12 -07:00
2018-04-13 08:21:28 -04:00
2018-02-08 21:12:03 -08:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-02 19:44:32 -07:00
2018-03-07 17:43:47 +08:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-03-29 17:01:32 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-29 12:00:37 -04:00
2018-05-29 12:00:37 -04:00
2018-05-12 02:01:09 -04:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-03-23 15:38:20 +02:00
2018-04-19 13:20:13 +02:00
2018-05-04 12:41:09 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-07 16:52:20 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-06 16:37:19 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-03-07 17:43:47 +08:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-29 12:00:37 -04:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-02-07 21:45:02 -08:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-03-29 17:01:30 -07:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-04-19 13:20:13 +02:00
2018-05-02 19:44:32 -07:00