1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-10 20:00:23 +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

@@ -206,7 +206,7 @@ func setup(ctx context.Context, server *Server) error {
store := metricsStore.NewMetricsStore(errStore)
// end store setup code
for _, template := range resources.DefaultSchemaTemplatesForStore(store, server.BaseSchemas, summaryCache, server.controllers.K8s.Discovery()) {
for _, template := range resources.DefaultSchemaTemplatesForStore(store, server.BaseSchemas, summaryCache, asl, server.controllers.K8s.Discovery()) {
sf.AddTemplate(template)
}