Skip to content

Commit

Permalink
Merge pull request #60 from wunderio/feature/optional-repository
Browse files Browse the repository at this point in the history
optional repository for chart validation command
  • Loading branch information
Rade333 authored Mar 26, 2024
2 parents a856f51 + dcbad1b commit 923e922
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/ciReleaseValidate.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ var ciReleaseValidateCmd = &cobra.Command{
siltaConfig = common.PrependChartConfigOverrides(chartOverrideFile, siltaConfig)
}

if len(chartRepository) == 0 {
chartRepository = "https://storage.googleapis.com/charts.wdr.io"
}

// Chart value overrides

// Allow pinning a specific chart version
Expand Down Expand Up @@ -227,7 +223,7 @@ func init() {
ciReleaseValidateCmd.Flags().String("cluster-type", "", "Cluster type (i.e. gke, aws, aks, other)")
ciReleaseValidateCmd.Flags().String("chart-version", "", "Deploy a specific chart version")
ciReleaseValidateCmd.Flags().String("chart-name", "", "Chart name")
ciReleaseValidateCmd.Flags().String("chart-repository", "", "Chart repository")
ciReleaseValidateCmd.Flags().String("chart-repository", "https://storage.googleapis.com/charts.wdr.io", "Chart repository")
ciReleaseValidateCmd.Flags().String("silta-config", "", "Silta release helm chart values")

ciReleaseValidateCmd.MarkFlagRequired("release-name")
Expand Down

0 comments on commit 923e922

Please sign in to comment.