Skip to content

Commit be69ccc

Browse files
authored
Merge pull request kubernetes#94016 from mrueg/oyaml
kubeadm: Separate argument key/value in log msg
2 parents 54d7adc + f289a3d commit be69ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/util/config/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (ue *unretriableError) Error() string {
6363
// FetchInitConfigurationFromCluster fetches configuration from a ConfigMap in the cluster
6464
func FetchInitConfigurationFromCluster(client clientset.Interface, w io.Writer, logPrefix string, newControlPlane, skipComponentConfigs bool) (*kubeadmapi.InitConfiguration, error) {
6565
fmt.Fprintf(w, "[%s] Reading configuration from the cluster...\n", logPrefix)
66-
fmt.Fprintf(w, "[%s] FYI: You can look at this config file with 'kubectl -n %s get cm %s -oyaml'\n", logPrefix, metav1.NamespaceSystem, constants.KubeadmConfigConfigMap)
66+
fmt.Fprintf(w, "[%s] FYI: You can look at this config file with 'kubectl -n %s get cm %s -o yaml'\n", logPrefix, metav1.NamespaceSystem, constants.KubeadmConfigConfigMap)
6767

6868
// Fetch the actual config from cluster
6969
cfg, err := getInitConfigurationFromCluster(constants.KubernetesDir, client, newControlPlane, skipComponentConfigs)

0 commit comments

Comments
 (0)