Allow rolebinding/clusterrolebinding with explicit bind permission check

This commit is contained in:
Jordan Liggitt
2017-01-09 09:36:17 -05:00
parent 6057a2ca76
commit a2670d3b9d
10 changed files with 159 additions and 8 deletions

View File

@@ -252,7 +252,7 @@ func (c completedConfig) New() (*Master, error) {
certificatesrest.RESTStorageProvider{},
extensionsrest.RESTStorageProvider{ResourceInterface: thirdparty.NewThirdPartyResourceServer(s, c.StorageFactory)},
policyrest.RESTStorageProvider{},
rbacrest.RESTStorageProvider{},
rbacrest.RESTStorageProvider{Authorizer: c.GenericConfig.Authorizer},
storagerest.RESTStorageProvider{},
}
m.InstallAPIs(c.Config.APIResourceConfigSource, restOptionsFactory, restStorageProviders...)