diff --git a/pkg/install/v1/install.go b/pkg/install/v1/install.go index e00cb39..80eb2ce 100644 --- a/pkg/install/v1/install.go +++ b/pkg/install/v1/install.go @@ -75,10 +75,9 @@ func Install(kubeconfig string, isDryRun bool) error { _, err = git.PlainInit(gitRepoPath, true) if err != nil { return err - } + } } - fmt.Println("Installing flux") err = installFlux(kubeconfigArgs, kubeclientOptions) if err != nil { @@ -135,11 +134,10 @@ func Install(kubeconfig string, isDryRun bool) error { fmt.Println("") fmt.Println("Awesome. Your gardener installation should be up within 10 minutes.") fmt.Printf("Once it's done you can login as %s.\n", color.BlueString(keConfiguration.Admin.Email)) - fmt.Printf("Go kill some time by eagerly pressing F5 on https://dashboard.%s\n", color.BlueString(keConfiguration.DomainConfig.Domain)) + fmt.Printf("Go kill some time by eagerly pressing F5 on %s%s\n", color.BlueString("https://dashboard."), color.BlueString(keConfiguration.DomainConfig.Domain)) return nil } - func getKeConfig() (*KeConfig, error) { keConfig := new(KeConfig) err := UnmarshalKeConfig(keConfig) diff --git a/pkg/install/v2/install.go b/pkg/install/v2/install.go index 3bda25f..fe713da 100644 --- a/pkg/install/v2/install.go +++ b/pkg/install/v2/install.go @@ -129,7 +129,7 @@ func Install(kubeconfig string, isDryRun bool) error { fmt.Println("") fmt.Println("Awesome. Your gardener installation should be up within 10 minutes.") fmt.Printf("Once it's done you can login as %s.\n", color.BlueString(keConfiguration.Admin.Email)) - fmt.Printf("Go kill some time by eagerly pressing F5 on https://dashboard.%s\n", color.BlueString(keConfiguration.DomainConfig.Domain)) + fmt.Printf("Go kill some time by eagerly pressing F5 on %s%s\n", color.BlueString("https://dashboard."), color.BlueString(keConfiguration.DomainConfig.Domain)) return nil }