Преглед изворни кода

add instructions for custom registry

Alexander Belanger пре 5 година
родитељ
комит
d52ec4cb3b
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      cli/cmd/connect/registry.go

+ 4 - 2
cli/cmd/connect/registry.go

@@ -20,13 +20,15 @@ func Registry(
 	}
 
 	// query for helm repo name
-	repoURL, err := utils.PromptPlaintext(fmt.Sprintf(`Provide the image registry URL: `))
+	repoURL, err := utils.PromptPlaintext(fmt.Sprintf(`Provide the image registry URL (include the protocol). For example, https://my-custom-registry.getporter.dev.
+Image registry URL: `))
 
 	if err != nil {
 		return 0, err
 	}
 
-	username, err := utils.PromptPlaintext(fmt.Sprintf(`Username: `))
+	username, err := utils.PromptPlaintext(fmt.Sprintf(`Provide the username/password for authentication (press enter if no authenicaiton is required).
+Username: `))
 
 	if err != nil {
 		return 0, err