diff --git a/cmd/cluster/clusterCreate.go b/cmd/cluster/clusterCreate.go index d2e60216..1e3935e6 100644 --- a/cmd/cluster/clusterCreate.go +++ b/cmd/cluster/clusterCreate.go @@ -99,9 +99,9 @@ func NewCmdClusterCreate() *cobra.Command { fmt.Printf("kubectl config use-context %s\n", fmt.Sprintf("%s-%s", k3d.DefaultObjectNamePrefix, cluster.Name)) } else if !updateCurrentContext { if runtime.GOOS == "windows" { - fmt.Printf("$env:KUBECONFIG=(%s get kubeconfig %s)\n", os.Args[0], cluster.Name) + fmt.Printf("$env:KUBECONFIG=(%s kubeconfig get %s)\n", os.Args[0], cluster.Name) } else { - fmt.Printf("export KUBECONFIG=$(%s get kubeconfig %s)\n", os.Args[0], cluster.Name) + fmt.Printf("export KUBECONFIG=$(%s kubeconfig get %s)\n", os.Args[0], cluster.Name) } } fmt.Println("kubectl cluster-info")