Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + var KubeadmCertAPIServer = KubeadmCert + var KubeadmCertEtcdAPIClient = KubeadmCert + var KubeadmCertEtcdCA = KubeadmCert + var KubeadmCertEtcdHealthcheck = KubeadmCert + var KubeadmCertEtcdPeer = KubeadmCert + var KubeadmCertEtcdServer = KubeadmCert + var KubeadmCertFrontProxyCA = KubeadmCert + var KubeadmCertFrontProxyClient = KubeadmCert + var KubeadmCertKubeletClient = KubeadmCert + var KubeadmCertRootCA = KubeadmCert + func CreateCACertAndKeyFiles(certSpec *KubeadmCert, cfg *kubeadmapi.InitConfiguration) error + func CreateCSR(certSpec *KubeadmCert, cfg *kubeadmapi.InitConfiguration, path string) error + func CreateCertAndKeyFilesWithCA(certSpec *KubeadmCert, caCertSpec *KubeadmCert, ...) error + func CreatePKIAssets(cfg *kubeadmapi.InitConfiguration) error + func CreateServiceAccountKeyAndPublicKeyFiles(certsDir string) error + func LoadCertificateAuthority(pkiDir string, baseName string) (*x509.Certificate, crypto.Signer, error) + func NewCSR(certSpec *KubeadmCert, cfg *kubeadmapi.InitConfiguration) (*x509.CertificateRequest, crypto.Signer, error) + func SharedCertificateExists(cfg *kubeadmapi.ClusterConfiguration) (bool, error) + func UsingExternalCA(cfg *kubeadmapi.ClusterConfiguration) (bool, error) + func UsingExternalFrontProxyCA(cfg *kubeadmapi.ClusterConfiguration) (bool, error) + type CertificateMap map[string]*KubeadmCert + func (m CertificateMap) CertTree() (CertificateTree, error) + type CertificateTree map[*KubeadmCert]Certificates + func (t CertificateTree) CreateTree(ic *kubeadmapi.InitConfiguration) error + type Certificates []*KubeadmCert + func GetCertsWithoutEtcd() Certificates + func GetDefaultCertList() Certificates + func (c Certificates) AsMap() CertificateMap + type KubeadmCert struct + BaseName string + CAName string + LongName string + Name string + func (k *KubeadmCert) CreateAsCA(ic *kubeadmapi.InitConfiguration) (*x509.Certificate, crypto.Signer, error) + func (k *KubeadmCert) CreateFromCA(ic *kubeadmapi.InitConfiguration, caCert *x509.Certificate, ...) error + func (k *KubeadmCert) GetConfig(ic *kubeadmapi.InitConfiguration) (*certutil.Config, error)