* switch to new repository URLs
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
* added warning each time old repository is noticed
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
f.BoolVar(&i.skipRepos,"skip-repos",false,"Skip adding the stable and local repositories")
f.BoolVar(&i.skipRepos,"skip-repos",false,"Skip adding the stable and local repositories")
f.BoolVar(&i.wait,"wait",false,"Block until Tiller is running and ready to receive requests")
f.BoolVar(&i.wait,"wait",false,"Block until Tiller is running and ready to receive requests")
f.BoolVar(&i.useDeprecatedRepo,"use-deprecated-stable-repository",false,"Use the old (googleapis) repository URL even though that URL is being shutdown.")
// TODO: replace TLS flags with pkg/helm/environment.AddFlagsTLS() in Helm 3
// TODO: replace TLS flags with pkg/helm/environment.AddFlagsTLS() in Helm 3
//
//
// NOTE (bacongobbler): we can't do this in Helm 2 because the flag names differ, and `helm init --tls-ca-cert`
// NOTE (bacongobbler): we can't do this in Helm 2 because the flag names differ, and `helm init --tls-ca-cert`
@ -265,6 +269,11 @@ func (i *initCmd) run() error {
returnfmt.Errorf("error initializing: %s",err)
returnfmt.Errorf("error initializing: %s",err)
}
}
}else{
}else{
// If this is set, override user config, default config, and set it to the old