Files
kubernetes/pkg/kubectl
Kubernetes Submit Queue 6203b621ba Merge pull request #62244 from CaoShuFeng/raw
Automatic merge from submit-queue (batch tested with PRs 62244, 63685). 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>.

fix "kubectl create --raw"

Before this change:
```
$ kubectl create -f  pod.json --raw=https://172.16.29.130:443/api/v1/namespaces/default/pods  --as=tom --as-group=aaaaa
Error from server (Forbidden): unknown
```

After this change:
```
$ kubectl create -f pod.json --raw=https://172.16.29.130:443/api/v1/namespaces/default/pods  --as=tom --as-group=aaaaa
Error from server (Forbidden): pods is forbidden: User "tom" cannot create pods in the namespace "default"
```

/assign @soltysh 
**Release note**:

```release-note
NONE
```
2018-05-10 16:30:07 -07:00
..
2018-02-16 13:43:01 -08:00
2018-05-08 18:33:50 -04:00
2018-05-08 09:02:34 -04:00
2018-02-16 13:43:01 -08:00
2018-05-08 18:33:50 -04:00
2018-05-04 17:02:20 -04:00
2018-05-10 14:15:12 -04:00
2018-04-04 08:23:21 -04:00
2018-04-04 08:23:21 -04:00
2018-05-04 11:15:35 -04:00