|
|
|
@ -47,8 +47,6 @@ type EnvSettings struct {
|
|
|
|
|
Debug bool
|
|
|
|
|
// KubeContext is the name of the kubeconfig context.
|
|
|
|
|
KubeContext string
|
|
|
|
|
// KubeConfig is the name of the kubeconfig file.
|
|
|
|
|
KubeConfig string
|
|
|
|
|
// TLSCaCertFile is the path to TLS CA certificate file for Helm to verify the Tiller server certificate
|
|
|
|
|
TLSCaCertFile string
|
|
|
|
|
// TLSCertFile is the path to Helm TLS client certificate file for authenticating to Tiller
|
|
|
|
@ -66,7 +64,6 @@ func (s *EnvSettings) AddFlags(fs *pflag.FlagSet) {
|
|
|
|
|
fs.StringVar((*string)(&s.Home), "home", DefaultHelmHome, "location of your Helm config. Overrides $HELM_HOME")
|
|
|
|
|
fs.StringVar(&s.TillerHost, "host", "", "address of Tiller. Overrides $HELM_HOST")
|
|
|
|
|
fs.StringVar(&s.KubeContext, "kube-context", "", "name of the kubeconfig context to use")
|
|
|
|
|
fs.StringVar(&s.KubeConfig, "kubeconfig", "", "path to kubeconfig file. Overrides $KUBECONFIG")
|
|
|
|
|
fs.BoolVar(&s.Debug, "debug", false, "enable verbose output")
|
|
|
|
|
fs.StringVar(&s.TillerNamespace, "tiller-namespace", "kube-system", "namespace of Tiller")
|
|
|
|
|
fs.StringVar(&s.TLSCaCertFile, "tls-ca-cert", "", "path to TLS CA certificate file for Helm to verify Tiller server certificate")
|
|
|
|
@ -106,7 +103,6 @@ var envMap = map[string]string{
|
|
|
|
|
"debug": "HELM_DEBUG",
|
|
|
|
|
"home": "HELM_HOME",
|
|
|
|
|
"host": "HELM_HOST",
|
|
|
|
|
"kubeconfig": "KUBECONFIG",
|
|
|
|
|
"tiller-namespace": "TILLER_NAMESPACE",
|
|
|
|
|
"tls-ca-cert": "HELM_TLS_CA_CERT",
|
|
|
|
|
"tls-cert": "HELM_TLS_CERT",
|
|
|
|
|