Merge pull request #31491 from dims/fixes-issue-13598

Automatic merge from submit-queue

Allow secure access to apiserver from Admission Controllers

* Allow options.InsecurePort to be set to 0 to switch off insecure access
* In NewSelfClient, Set the TLSClientConfig to the cert and key files
  if InsecurePort is switched off
* Mint a bearer token that allows the client(s) created in NewSelfClient
  to talk to the api server
* Add a new authenticator that checks for this specific bearer token

Fixes #13598
This commit is contained in:
Kubernetes Submit Queue
2016-09-21 21:31:56 -07:00
committed by GitHub
10 changed files with 166 additions and 30 deletions

View File

@@ -506,6 +506,7 @@ tcp-services
terminated-pod-gc-threshold
test-flags
test-timeout
tls-ca-file
tls-cert-file
tls-private-key-file
to-version