1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-01 23:47:50 +00:00

Cleanup around APIRoots

This commit is contained in:
Darren Shepherd
2019-08-14 13:51:13 -07:00
parent 6d2b0f54ca
commit b059dcca00
2 changed files with 24 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ func SchemaFactory(getter proxy.ClientGetter, as *accesscontrol.AccessStore, k8s
counts.Register(baseSchema)
subscribe.Register(baseSchema)
apigroups.Register(baseSchema, k8s.Discovery())
apiroot.Register(baseSchema, []string{"v1"}, nil)
apiroot.Register(baseSchema, []string{"v1"}, []string{"proxy:/apis"})
common.Register(collection, getter)