// NewUploadConfigPhase returns a new upload-config phase. func NewUploadConfigPhase() workflow.Phase { … } func getUploadConfigPhaseFlags() []string { … } // runUploadKubeadmConfig uploads the kubeadm configuration to a ConfigMap. func runUploadKubeadmConfig(c workflow.RunData) error { … } // runUploadKubeletConfig uploads the kubelet configuration to a ConfigMap. func runUploadKubeletConfig(c workflow.RunData) error { … } func getUploadConfigData(c workflow.RunData) (*kubeadmapi.InitConfiguration, clientset.Interface, bool, error) { … }