@ -53,8 +53,11 @@ To dump a manifest containing the Tiller deployment YAML, combine the
`
`
const (
const (
stableRepository = "stable"
stableRepository = "stable"
localRepository = "local"
localRepository = "local"
)
var (
stableRepositoryURL = "https://kubernetes-charts.storage.googleapis.com"
stableRepositoryURL = "https://kubernetes-charts.storage.googleapis.com"
// This is the IPv4 loopback, not localhost, because we have to force IPv4
// This is the IPv4 loopback, not localhost, because we have to force IPv4
// for Dockerized Helm: https://github.com/kubernetes/helm/issues/1410
// for Dockerized Helm: https://github.com/kubernetes/helm/issues/1410
@ -108,6 +111,9 @@ func newInitCmd(out io.Writer) *cobra.Command {
f . StringVar ( & tlsCertFile , "tiller-tls-cert" , "" , "path to TLS certificate file to install with tiller" )
f . StringVar ( & tlsCertFile , "tiller-tls-cert" , "" , "path to TLS certificate file to install with tiller" )
f . StringVar ( & tlsCaCertFile , "tls-ca-cert" , "" , "path to CA root certificate" )
f . StringVar ( & tlsCaCertFile , "tls-ca-cert" , "" , "path to CA root certificate" )
f . StringVar ( & stableRepositoryURL , "stable-repo-url" , stableRepositoryURL , "URL for stable repository" )
f . StringVar ( & localRepositoryURL , "local-repo-url" , localRepositoryURL , "URL for local repository" )
return cmd
return cmd
}
}