mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #793 from yamt/noderestriction
Add back NodeRestriction
This commit is contained in:
commit
36ca606073
@ -179,6 +179,7 @@ func apiServer(ctx context.Context, cfg *config.Control, runtime *config.Control
|
||||
argsMap["requestheader-group-headers"] = "X-Remote-Group"
|
||||
argsMap["requestheader-username-headers"] = "X-Remote-User"
|
||||
argsMap["client-ca-file"] = runtime.ClientCA
|
||||
argsMap["enable-admission-plugins"] = "NodeRestriction"
|
||||
argsMap["anonymous-auth"] = "false"
|
||||
|
||||
args := config.GetArgsList(argsMap, cfg.ExtraAPIArgs)
|
||||
|
Loading…
Reference in New Issue
Block a user