Fixing the error in registering /v1 api
This commit is contained in:
@@ -91,7 +91,9 @@ var userResources = []string{"svc"}
|
||||
func newRESTMapper(externalVersions []unversioned.GroupVersion) meta.RESTMapper {
|
||||
// the list of kinds that are scoped at the root of the api hierarchy
|
||||
// if a kind is not enumerated here, it is assumed to have a namespace scope
|
||||
rootScoped := sets.NewString()
|
||||
rootScoped := sets.NewString(
|
||||
"Namespace",
|
||||
)
|
||||
|
||||
// these kinds should be excluded from the list of resources
|
||||
ignoredKinds := sets.NewString(
|
||||
|
Reference in New Issue
Block a user