Skip to content

Commit

Permalink
remove oapi
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed Jan 14, 2019
1 parent 2f67e56 commit 4960846
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 325 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var LegacyAPIGroupPrefixes = sets.NewString(genericapiserver.DefaultLegacyAPIPre
func OpenshiftRequestInfoResolver() apirequest.RequestInfoResolver {
// Default API request info factory
requestInfoFactory := &apirequest.RequestInfoFactory{
APIPrefixes: sets.NewString("api", "osapi", "oapi", "apis"),
GrouplessAPIPrefixes: sets.NewString("api", "osapi", "oapi"),
APIPrefixes: sets.NewString("api", "apis"),
GrouplessAPIPrefixes: sets.NewString("api"),
}
personalSARRequestInfoResolver := oauthorizer.NewPersonalSARRequestInfoResolver(requestInfoFactory)
projectRequestInfoResolver := oauthorizer.NewProjectRequestInfoResolver(personalSARRequestInfoResolver)
Expand Down
136 changes: 0 additions & 136 deletions pkg/cmd/openshift-apiserver/openshiftapiserver/legacy.go

This file was deleted.

Loading

0 comments on commit 4960846

Please sign in to comment.