1
0
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:
Eric Promislow
2025-01-07 12:20:26 -08:00
committed by Chad Roberts
parent de491f4e42
commit 32b464032a
4 changed files with 415 additions and 16 deletions

View File

@@ -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",