• Kubernetes Submit Queue's avatar
    Merge pull request #41912 from jcbsmpsn/rotate-client-certificate · 24d09977
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46726, 41912, 46695, 46034, 46551)
    
    Rotate kubelet client certificate.
    
    Changes the kubelet so it bootstraps off the cert/key specified in the
    config file and uses those to request new cert/key pairs from the
    Certificate Signing Request API, as well as rotating client certificates
    when they approach expiration.
    
    Default behavior is for client certificate rotation to be disabled. If enabled
    using a command line flag, the kubelet exits each time the certificate is
    rotated. I tried to use `GetCertificate` in [tls.Config](https://golang.org/pkg/crypto/tls/#Config) but it is only called
    on the server side of connections. Then I tried `GetClientCertificate`,
    but it is new in 1.8.
    
    **Release note**
    ```release-note
    With --feature-gates=RotateKubeletClientCertificate=true set, the kubelet will
    request a client certificate from the API server during the boot cycle and pause
    waiting for the request to be satisfied. It will continually refresh the certificate
    as the certificates expiration approaches.
    ```
    24d09977
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genslateyaml Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
gke-certificates-controller Loading commit data...
hyperkube Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...