diff --git a/cmd/kubeadm/app/cmd/upgrade/common.go b/cmd/kubeadm/app/cmd/upgrade/common.go index f154a9bae42..eec3652021e 100644 --- a/cmd/kubeadm/app/cmd/upgrade/common.go +++ b/cmd/kubeadm/app/cmd/upgrade/common.go @@ -61,7 +61,7 @@ func isKubeadmConfigPresent(docmap kubeadmapi.DocumentMap) bool { // loadConfig loads configuration from a file and/or the cluster. InitConfiguration, ClusterConfiguration and (optionally) component configs // are loaded. This function allows the component configs to be loaded from a file that contains only them. If the file contains any kubeadm types -// in it (API group "kubeadm.kubernetes.io" present), then the supplied file is treaded as a legacy reconfiguration style "--config" use and the +// in it (API group "kubeadm.k8s.io" present), then the supplied file is treaded as a legacy reconfiguration style "--config" use and the // returned bool value is set to true (the only case to be done so). func loadConfig(cfgPath string, client clientset.Interface, skipComponentConfigs bool, printer output.Printer) (*kubeadmapi.InitConfiguration, bool, error) { // Used for info logs here @@ -86,7 +86,7 @@ func loadConfig(cfgPath string, client clientset.Interface, skipComponentConfigs return nil, false, err } - // If there are kubeadm types (API group kubeadm.kubernetes.io) present, we need to keep the existing behavior + // If there are kubeadm types (API group kubeadm.k8s.io) present, we need to keep the existing behavior // here. Basically, we have to load all of the configs from the file and none from the cluster. Configs that are // missing from the file will be automatically regenerated by kubeadm even if they are present in the cluster. // The resulting configs overwrite the existing cluster ones at the end of a successful upgrade apply operation.