mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
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:
commit
d671fcf0c4
@ -40,6 +40,7 @@ func NonResourceAttributesFrom(user user.Info, in authorizationapi.NonResourceAt
|
|||||||
User: user,
|
User: user,
|
||||||
ResourceRequest: false,
|
ResourceRequest: false,
|
||||||
Path: in.Path,
|
Path: in.Path,
|
||||||
|
Verb: in.Verb,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user