• Davanum Srinivas's avatar
    Allow secure access to apiserver from Admission Controllers · 25d4a708
    Davanum Srinivas authored
    * 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
    25d4a708
Name
Last commit
Last update
..
audit Loading commit data...
authenticator Loading commit data...
metrics Loading commit data...
testing Loading commit data...
OWNERS Loading commit data...
api_installer.go Loading commit data...
api_installer_test.go Loading commit data...
apiserver.go Loading commit data...
apiserver_test.go Loading commit data...
doc.go Loading commit data...
errors.go Loading commit data...
errors_test.go Loading commit data...
handler_impersonation.go Loading commit data...
handler_impersonation_test.go Loading commit data...
handlers.go Loading commit data...
handlers_test.go Loading commit data...
mux.go Loading commit data...
negotiate.go Loading commit data...
negotiate_test.go Loading commit data...
proxy.go Loading commit data...
proxy_test.go Loading commit data...
resthandler.go Loading commit data...
resthandler_test.go Loading commit data...
validator.go Loading commit data...
validator_test.go Loading commit data...
watch.go Loading commit data...
watch_test.go Loading commit data...