Skip to content

Commit 61d55b3

Browse files
committed
minor small improvements
1 parent 09e1abd commit 61d55b3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

cmd/kuberoCli/install.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func printInstallSteps() {
147147
6. Install the cert-manager {{(optional)}}::gray
148148
7. Install the monitoring stack {{(optional, but recommended)}}::gray
149149
8. Install the kubero UI {{(optional, but highly recommended)}}::gray
150-
9. Write the kubero CLI config
150+
9. Write the kubero CLI config {{(optional)}}::gray
151151
`)
152152
}
153153

@@ -487,7 +487,7 @@ func createNamespace(namespace string) {
487487

488488
func installKuberoUi() {
489489

490-
ingressInstall := promptLine("9) Install Kubero UI", "[y,n]", "y")
490+
ingressInstall := promptLine("8) Install Kubero UI", "[y,n]", "y")
491491
if ingressInstall != "y" {
492492
return
493493
}
@@ -501,7 +501,8 @@ func installKuberoUi() {
501501

502502
webhookSecret := promptLine("Random string for your webhook secret", "", generateRandomString(20, ""))
503503

504-
sessionKey := promptLine("Random string for your session key", "", generateRandomString(20, ""))
504+
//sessionKey := promptLine("Random string for your session key", "", generateRandomString(20, ""))
505+
sessionKey := generateRandomString(20, "") //DEPRECATED in v3.0.0
505506

506507
if argAdminUser == "" {
507508
argAdminUser = promptLine("Admin User", "", "admin")
@@ -526,7 +527,7 @@ func installKuberoUi() {
526527
"--from-literal=KUBERO_USERS="+userDBencoded,
527528
)
528529

529-
githubConfigure := promptLine("Configure Github", "[y,n]", "y")
530+
githubConfigure := promptLine("Configure Github", "[y,n]", "n")
530531
githubPersonalAccessToken := ""
531532
if githubConfigure == "y" {
532533
githubPersonalAccessToken = promptLine("Github personal access token", "", "")
@@ -990,7 +991,7 @@ func installOLMCertManager() {
990991

991992
func writeCLIConfig() {
992993

993-
ingressInstall := promptLine("10) Write the Kubero CLI config", "[y,n]", "n")
994+
ingressInstall := promptLine("9) Write the Kubero CLI config", "[y,n]", "n")
994995
if ingressInstall != "y" {
995996
return
996997
}

0 commit comments

Comments
 (0)