1
0
mirror of https://github.com/rancher/types.git synced 2025-09-08 16:39:00 +00:00

Revert "Token Hashing"

This commit is contained in:
Caleb Bron
2020-03-03 08:57:27 -07:00
committed by GitHub
parent 8eb69b5e3e
commit feb9eeb30f
3 changed files with 2 additions and 12 deletions

View File

@@ -29,7 +29,6 @@ import (
rbacv1 "github.com/rancher/types/apis/rbac.authorization.k8s.io/v1"
storagev1 "github.com/rancher/types/apis/storage.k8s.io/v1"
"github.com/rancher/types/config/dialer"
"github.com/rancher/types/config/systemtokens"
"github.com/rancher/types/peermanager"
"github.com/rancher/types/user"
"github.com/rancher/wrangler-api/pkg/generated/controllers/rbac"
@@ -58,7 +57,6 @@ type ScaledContext struct {
Schemas *types.Schemas
AccessControl types.AccessControl
Dialer dialer.Factory
SystemTokens systemtokens.Interface
UserManager user.Manager
PeerManager peermanager.PeerManager
@@ -91,8 +89,6 @@ func (c *ScaledContext) NewManagementContext() (*ManagementContext, error) {
}
mgmt.Dialer = c.Dialer
mgmt.UserManager = c.UserManager
mgmt.SystemTokens = c.SystemTokens
c.managementContext = mgmt
return mgmt, nil
}
@@ -171,7 +167,6 @@ type ManagementContext struct {
Scheme *runtime.Scheme
Dialer dialer.Factory
UserManager user.Manager
SystemTokens systemtokens.Interface
Management managementv3.Interface
Project projectv3.Interface