mirror of
https://github.com/rancher/steve.git
synced 2025-09-06 18:01:04 +00:00
Add dashboard to steve
This commit is contained in:
@@ -33,6 +33,7 @@ func New(cfg *rest.Config, sf schema.Factory, authMiddleware auth.Middleware, ne
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
authMiddleware = auth.ToMiddleware(auth.AuthenticatorFunc(auth.AlwaysAdmin))
|
||||
} else {
|
||||
proxy = k8sproxy.ImpersonatingHandler("/", cfg)
|
||||
}
|
||||
|
Reference in New Issue
Block a user