Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertificatesDirFromConfigFile ¶
GetCertificatesDirFromConfigFile returns the certificates directory from the kubeadm config file
func GetKubeadmAPIVersion ¶
func GetKubeadmAPIVersion() string
GetKubeadmAPIVersion returns the kubeadm version via `kubeadm version -o short`
func PhasesCreateCerts ¶
func PhasesCreateKubeConfig ¶
Types ¶
type Config ¶
type Config struct { CertificatesDir string `yaml:"certificatesDir"` APIServerCertSANs []string `yaml:"apiServerCertSANs,omitempty"` CRISocket string `yaml:"criSocket,omitempty"` }
func FetchConfigurationFromConfigFile ¶
FetchConfigurationFromConfigFile returns the configurations from the kubeadm config file
Click to show internal directories.
Click to hide internal directories.