Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Remove automatic addition of stable repo (#321)
Browse files Browse the repository at this point in the history
* Remove adding stable repo by default
  • Loading branch information
timfpark authored Nov 2, 2020
1 parent 0071386 commit bedf1a5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@ func Install(path string) (err error) {
logger.Info(emoji.Sprintf(":mag: Using %s: %s", tool, path))
}

// By default, Helm 2 used to have the "stable" repo. This is assumed
// to exist in Fabrikate as a non-http repo.
// See timeline/deprecation schedule: https://github.com/helm/charts
logger.Info(emoji.Sprintf(":point_right: Adding stable repository"))
if output, err := exec.Command("helm", "repo", "add", "stable", "https://kubernetes-charts.storage.googleapis.com").CombinedOutput(); err != nil {
logger.Error(emoji.Sprintf(":no_entry_sign: %s: %s", err, output))
return err
}

rootInit := func(startingPath string, environments []string, c core.Component) (component core.Component, err error) {
return c.InstallRoot(startingPath, environments)
}
Expand Down Expand Up @@ -85,7 +76,7 @@ func Install(path string) (err error) {
var installCmd = &cobra.Command{
Use: "install",
Short: "Installs all of the remote components specified in the current deployment tree locally",
Long: `Installs all of the remote components specified in the current deployment tree locally, iterating the
Long: `Installs all of the remote components specified in the current deployment tree locally, iterating the
component subtree from the current directory to do so. Required to be executed before generate (if needed), such
that Fabrikate has all of the dependencies locally to use to generate the resource manifests.`,
RunE: func(cmd *cobra.Command, args []string) (err error) {
Expand Down

0 comments on commit bedf1a5

Please sign in to comment.