From 9e22ece60090135285bc905155650ddecc3ad33c Mon Sep 17 00:00:00 2001 From: Janis Bebritis Date: Tue, 12 Mar 2024 12:03:56 +0200 Subject: [PATCH] Do not force chart repository --- cmd/ciReleaseDeploy.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/ciReleaseDeploy.go b/cmd/ciReleaseDeploy.go index 9d1074a..9457dd0 100644 --- a/cmd/ciReleaseDeploy.go +++ b/cmd/ciReleaseDeploy.go @@ -105,10 +105,6 @@ var ciReleaseDeployCmd = &cobra.Command{ deploymentTimeoutSeconds = int(deploymentTimeoutDuration.Seconds()) } - if len(chartRepository) == 0 { - chartRepository = "https://storage.googleapis.com/charts.wdr.io" - } - // Chart value overrides // Override Database credentials if specified @@ -664,7 +660,7 @@ func init() { ciReleaseDeployCmd.Flags().String("gitauth-password", "", "Gitauth server password") ciReleaseDeployCmd.Flags().String("cluster-domain", "", "Base domain for cluster urls (i.e. dev.example.com)") ciReleaseDeployCmd.Flags().String("chart-name", "", "Chart name") - ciReleaseDeployCmd.Flags().String("chart-repository", "", "Chart repository") + ciReleaseDeployCmd.Flags().String("chart-repository", "https://storage.googleapis.com/charts.wdr.io", "Chart repository") ciReleaseDeployCmd.Flags().String("silta-config", "", "Silta release helm chart values") ciReleaseDeployCmd.Flags().String("helm-flags", "", "Extra flags for helm release") ciReleaseDeployCmd.Flags().String("deployment-timeout", "", "Helm deployment timeout")