Add experimental API support to kubectl
This commit is contained in:
@@ -97,7 +97,7 @@ func init() {
|
||||
"PodProxyOptions",
|
||||
"Daemon")
|
||||
|
||||
mapper := api.NewDefaultRESTMapper(versions, InterfacesFor, importPrefix, ignoredKinds, rootScoped)
|
||||
mapper := api.NewDefaultRESTMapper("api", versions, InterfacesFor, importPrefix, ignoredKinds, rootScoped)
|
||||
// setup aliases for groups of resources
|
||||
mapper.AddResourceAlias("all", userResources...)
|
||||
RESTMapper = mapper
|
||||
|
Reference in New Issue
Block a user