0b300cbe42
To make an impersonation request, first make a TokenCredentialRequest to get a certificate. That cert will either be issued by the Kube API server's CA or by a new CA specific to the impersonator. Either way, you can then make a request to the impersonator and present that client cert for auth and the impersonator will accept it and make the impesonation call on your behalf. The impersonator http handler now borrows some Kube library code to handle request processing. This will allow us to more closely mimic the behavior of a real API server, e.g. the client cert auth will work exactly like the real API server. Signed-off-by: Monis Khan <mok@vmware.com> |
||
---|---|---|
.. | ||
apiservice_updater_test.go | ||
apiservice_updater.go | ||
certs_expirer_test.go | ||
certs_expirer.go | ||
certs_manager_test.go | ||
certs_manager.go | ||
certs_observer_test.go | ||
certs_observer.go | ||
doc.go | ||
update_api_service_test.go | ||
update_api_service.go |