Merge pull request #793 from yamt/noderestriction

Add back NodeRestriction
This commit is contained in:
Darren Shepherd 2019-09-07 12:07:01 -07:00 committed by GitHub
commit 36ca606073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)