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 ```
13 KiB
13 KiB