mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 13:29:45 +00:00
Add back NodeRestriction
It has been removed as a part of #764 for no obvious reasons. Fix #791
This commit is contained in:
@@ -178,6 +178,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)
|
||||
|
||||
Reference in New Issue
Block a user