From 2d3cb9dc1a54af2ed82707741d495ee57be76dbc Mon Sep 17 00:00:00 2001 From: John Dietz Date: Mon, 23 Oct 2023 19:01:06 -0400 Subject: [PATCH] rc55 plus improved launch up env vars --- internal/launch/cmd.go | 20 ++++++++++++++------ internal/launch/constants.go | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/internal/launch/cmd.go b/internal/launch/cmd.go index cedc56e81..df523be15 100644 --- a/internal/launch/cmd.go +++ b/internal/launch/cmd.go @@ -362,19 +362,27 @@ func Up(additionalHelmFlags []string, inCluster bool, useTelemetry bool) { "--set", "console.ingress.createTraefikRoute=true", "--set", + "kubefirst-api.env[0].name=IS_CLUSTER_ZERO", + "--set", + "kubefirst-api.env[0].value='true'", + "--set", fmt.Sprintf("global.kubefirstVersion=%s", configs.K1Version), "--set", - "kubefirst-api.installMethod=kubefirst-launch", + "global.cloudProvider=k3d", "--set", - "kubefirst-api.env[0].name=IS_CLUSTER_ZERO", + "global.clusterType=bootstrap", "--set", - "kubefirst-api.env[0].value='true'", + "global.domainName=kubefirst.dev", + "--set", + "global.installMethod=kubefirst-launch", + "--set", + "global.kubefirstClient=cli", "--set", - fmt.Sprintf("kubefirst-api.kubefirstTeam=%s", kubefirstTeam), + fmt.Sprintf("global.kubefirstTeam=%s", kubefirstTeam), "--set", - fmt.Sprintf("kubefirst-api.kubefirstTeamInfo=%s", kubefirstTeamInfo), + fmt.Sprintf("global.kubefirstTeamInfo=%s", kubefirstTeamInfo), "--set", - fmt.Sprintf("kubefirst-api.useTelemetry=%s", strconv.FormatBool(useTelemetry)), + fmt.Sprintf("global.useTelemetry=%s", strconv.FormatBool(useTelemetry)), } if len(additionalHelmFlags) > 0 { diff --git a/internal/launch/constants.go b/internal/launch/constants.go index cb56e6fa3..57c6df404 100644 --- a/internal/launch/constants.go +++ b/internal/launch/constants.go @@ -11,7 +11,7 @@ const ( helmChartName = "kubefirst" helmChartRepoName = "kubefirst" helmChartRepoURL = "https://charts.kubefirst.com" - helmChartVersion = "2.3.0-rc46" + helmChartVersion = "2.3.0-rc55" namespace = "kubefirst" secretName = "kubefirst-initial-secrets" )