1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-31 15:11:31 +00:00

Add apigroups

This commit is contained in:
Darren Shepherd
2019-08-14 13:13:26 -07:00
parent de50acc048
commit 59a6ee577e
3 changed files with 77 additions and 2 deletions

View File

@@ -56,7 +56,8 @@ func Run(ctx context.Context, cfg Config) error {
}
sf := resources.SchemaFactory(cf,
accesscontrol.NewAccessStore(rbac.Rbac().V1()))
accesscontrol.NewAccessStore(rbac.Rbac().V1()),
k8s)
schema.Register(ctx,
k8s.Discovery(),