Merge pull request #34852 from deads2k/fix-webhook

Automatic merge from submit-queue

honor SAR verb

Verbs on non-resource requests were dropped.  This results in always being denied for all the authorizers I know of, so no unintended exposure, but its still ugly. We should probably pick.

@liggitt I would have expected the kubelet work to get stuck on this.
This commit is contained in:
Kubernetes Submit Queue 2016-10-14 21:27:44 -07:00 committed by GitHub
commit d671fcf0c4

View File

@ -40,6 +40,7 @@ func NonResourceAttributesFrom(user user.Info, in authorizationapi.NonResourceAt
User: user,
ResourceRequest: false,
Path: in.Path,
Verb: in.Verb,
}
}