Skip to content

Commit

Permalink
Merge pull request #57 from wunderio/feature/optional-repository
Browse files Browse the repository at this point in the history
Do not force chart repository
  • Loading branch information
Rade333 authored Mar 19, 2024
2 parents 469406f + 9e22ece commit 1cda376
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/ciReleaseDeploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 1cda376

Please sign in to comment.