mirror of
https://github.com/rancher/steve.git
synced 2025-09-12 04:39:05 +00:00
Finish the AccessSet changes to the main formatter. (#308)
The original PR, steve/pull/158 drifted too far from changes in main, so it's easier to create a new PR: * Bring in and update DefaultSchemaTemplatesForStore * Move from based on `master` to `main` * Update k8s version
This commit is contained in:
committed by
Chad Roberts
parent
de491f4e42
commit
32b464032a
@@ -76,10 +76,11 @@ func DefaultSchemaTemplates(cf *client.Factory,
|
||||
func DefaultSchemaTemplatesForStore(store types.Store,
|
||||
baseSchemas *types.APISchemas,
|
||||
summaryCache *summarycache.SummaryCache,
|
||||
lookup accesscontrol.AccessSetLookup,
|
||||
discovery discovery.DiscoveryInterface) []schema.Template {
|
||||
|
||||
return []schema.Template{
|
||||
common.DefaultTemplateForStore(store, summaryCache),
|
||||
common.DefaultTemplateForStore(store, summaryCache, lookup),
|
||||
apigroups.Template(discovery),
|
||||
{
|
||||
ID: "configmap",
|
||||
|
Reference in New Issue
Block a user