Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/kubeadm 594 etcd TLS on init/upgrade #57415

Merged

Commits on Feb 23, 2018

  1. Secure etcd API /w TLS on kubeadm init [kubeadm/kubernetes#594]

    - Generate Server and Peer cert for etcd
    - Generate Client cert for apiserver
    - Add flags / hostMounts for etcd static pod
    - Add flags / hostMounts for apiserver static pod
    
    - Generate certs on upgrade of static-pods for etcd/kube-apiserver
    - Modify logic for appending etcd flags to staticpod to be safer for external etcd
    stealthybox committed Feb 23, 2018
    Copy the full SHA
    bb689eb View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2018

  1. Change SANs for etcd serving and peer certs

    - Place etcd server and peer certs & keys into pki subdir
    - Move certs.altName functions to pkiutil + add appendSANstoAltNames()
        Share the append logic for the getAltName functions as suggested by
        @jamiehannaford.
        Move functions/tests to certs/pkiutil as suggested by @luxas.
    
        Update Bazel BUILD deps
    
    - Warn when an APIServerCertSANs or EtcdCertSANs entry is unusable
    - Add MasterConfiguration.EtcdPeerCertSANs
    - Move EtcdServerCertSANs and EtcdPeerCertSANs under MasterConfiguration.Etcd
    stealthybox committed Feb 24, 2018
    Copy the full SHA
    f5e11a0 View commit details
    Browse the repository at this point in the history
  2. Fix typos

    - Fix typos in tests for upgrade phase
    - Rename loadCertificateAuthorithy() --> loadCertificateAuthority()
    - Disambiguate apiKubeletClientCert & apiEtcdClientCert
    - Parameterize hard-coded certs_test config + log tempCertsDir
    stealthybox committed Feb 24, 2018
    Copy the full SHA
    f61430d View commit details
    Browse the repository at this point in the history
  3. Update autogenerated docs

    stealthybox committed Feb 24, 2018
    Copy the full SHA
    509e9af View commit details
    Browse the repository at this point in the history