Skip to content

Commit

Permalink
fix: git label and repo (#1957)
Browse files Browse the repository at this point in the history
* fix: git label and repo

* chore: bump chart version
  • Loading branch information
CristhianF7 authored Dec 13, 2023
1 parent d259fb8 commit cab3332
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/launch/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
helmChartName = "kubefirst"
helmChartRepoName = "kubefirst"
helmChartRepoURL = "https://charts.kubefirst.com"
helmChartVersion = "2.3.6-rc64"
helmChartVersion = "2.3.6"
namespace = "kubefirst"
secretName = "kubefirst-initial-secrets"
)
10 changes: 8 additions & 2 deletions internal/progress/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ func DisplayLogHints(estimatedTime int) {
func DisplaySuccessMessage(cluster types.Cluster) successMsg {
cloudCliKubeconfig := ""

gitProviderLabel := "GitHub"

if cluster.GitProvider == "gitlab" {
gitProviderLabel = "GitLab"
}

switch cluster.CloudProvider {
case "aws":
cloudCliKubeconfig = fmt.Sprintf("aws eks update-kubeconfig --name %s --region %s", cluster.ClusterName, cluster.CloudRegion)
Expand Down Expand Up @@ -111,10 +117,10 @@ func DisplaySuccessMessage(cluster types.Cluster) successMsg {
### :bulb: To retrieve root credentials for your Kubefirst platform run:
##### kubefirst ` + cluster.CloudProvider + ` root-credentials
## GitLab
## ` + fmt.Sprintf("`%s `", gitProviderLabel) + `
### Git Owner ` + fmt.Sprintf("`%s`", cluster.GitAuth.Owner) + `
### Repos ` + fmt.Sprintf("`https://%s.com/%s/gitops` \n\n", cluster.GitProvider, cluster.GitAuth.Owner) +
fmt.Sprintf("` https://%s.com/%s/gitops`", cluster.GitProvider, cluster.GitAuth.Owner) + `
fmt.Sprintf("` https://%s.com/%s/metaphor`", cluster.GitProvider, cluster.GitAuth.Owner) + `
## Kubefirst Console
### URL ` + fmt.Sprintf("`https://kubefirst.%s`", cluster.DomainName) + `
## Argo CD
Expand Down

0 comments on commit cab3332

Please sign in to comment.