UPSTREAM: <drop>: admission namespace isAccessReview, remove post 1.7 rebase
@@ -206,6 +206,9 @@ var accessReviewResources = map[unversioned.GroupResource]bool{
unversioned.GroupResource{Group: "", Resource: "localresourceaccessreviews"}: true,
unversioned.GroupResource{Group: "", Resource: "selfsubjectrulesreviews"}: true,
unversioned.GroupResource{Group: "", Resource: "subjectrulesreviews"}: true,
+ unversioned.GroupResource{Group: "authorization.k8s.io", Resource: "subjectaccessreviews"}: true,
+ unversioned.GroupResource{Group: "authorization.k8s.io", Resource: "selfsubjectaccessreviews"}: true,
+ unversioned.GroupResource{Group: "authorization.k8s.io", Resource: "localsubjectaccessreviews"}: true,
}
func isAccessReview(a admission.Attributes) bool {
