add tiller-port flag

Signed-off-by: Gregory Hill <greg.hill@monax.io>
pull/5590/head
Gregory Hill 6 years ago
parent 9fb19967ba
commit 49ffdd9871
No known key found for this signature in database
GPG Key ID: 54841B20DB63C22B

@ -66,6 +66,7 @@ Environment:
- $HELM_HOST: set an alternative Tiller host. The format is host:port - $HELM_HOST: set an alternative Tiller host. The format is host:port
- $HELM_NO_PLUGINS: disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins. - $HELM_NO_PLUGINS: disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins.
- $TILLER_NAMESPACE: set an alternative Tiller namespace (default "kube-system") - $TILLER_NAMESPACE: set an alternative Tiller namespace (default "kube-system")
- $TILLER_PORT: set an alternative Tiller port (default "44134")
- $KUBECONFIG: set an alternative Kubernetes configuration file (default "~/.kube/config") - $KUBECONFIG: set an alternative Kubernetes configuration file (default "~/.kube/config")
- $HELM_TLS_CA_CERT: path to TLS CA certificate used to verify the Helm client and Tiller server certificates (default "$HELM_HOME/ca.pem") - $HELM_TLS_CA_CERT: path to TLS CA certificate used to verify the Helm client and Tiller server certificates (default "$HELM_HOME/ca.pem")
- $HELM_TLS_CERT: path to TLS client certificate file for authenticating to Tiller (default "$HELM_HOME/cert.pem") - $HELM_TLS_CERT: path to TLS client certificate file for authenticating to Tiller (default "$HELM_HOME/cert.pem")
@ -190,7 +191,7 @@ func setupConnection() error {
return err return err
} }
tillerTunnel, err = portforwarder.New(settings.TillerNamespace, client, config) tillerTunnel, err = portforwarder.NewWithPort(settings.TillerNamespace, settings.TillerPort, client, config)
if err != nil { if err != nil {
return err return err
} }

@ -256,6 +256,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -275,6 +276,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -294,6 +296,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -313,6 +316,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -332,6 +336,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -351,6 +356,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -370,6 +376,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -390,6 +397,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -410,6 +418,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -430,6 +439,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -450,6 +460,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -470,6 +481,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",
@ -490,6 +502,7 @@ func TestTLSFlags(t *testing.T) {
TillerHost: "", TillerHost: "",
TillerConnectionTimeout: 300, TillerConnectionTimeout: 300,
TillerNamespace: "kube-system", TillerNamespace: "kube-system",
TillerPort: 44134,
Home: home, Home: home,
Debug: false, Debug: false,
KubeContext: "", KubeContext: "",

@ -158,6 +158,7 @@ func TestSetupEnv(t *testing.T) {
settings.Home = helmpath.Home("testdata/helmhome") settings.Home = helmpath.Home("testdata/helmhome")
base := filepath.Join(settings.Home.Plugins(), name) base := filepath.Join(settings.Home.Plugins(), name)
settings.Debug = true settings.Debug = true
settings.TillerPort = 44134
defer func() { defer func() {
settings.Debug = false settings.Debug = false
}() }()
@ -179,6 +180,7 @@ func TestSetupEnv(t *testing.T) {
{"HELM_PATH_STARTER", settings.Home.Starters()}, {"HELM_PATH_STARTER", settings.Home.Starters()},
{"TILLER_HOST", settings.TillerHost}, {"TILLER_HOST", settings.TillerHost},
{"TILLER_NAMESPACE", settings.TillerNamespace}, {"TILLER_NAMESPACE", settings.TillerNamespace},
{"TILLER_PORT", string(settings.TillerPort)},
} { } {
if got := os.Getenv(tt.name); got != tt.expect { if got := os.Getenv(tt.name); got != tt.expect {
t.Errorf("Expected $%s=%q, got %q", tt.name, tt.expect, got) t.Errorf("Expected $%s=%q, got %q", tt.name, tt.expect, got)

@ -26,6 +26,7 @@ Environment:
- $HELM_HOST: set an alternative Tiller host. The format is host:port - $HELM_HOST: set an alternative Tiller host. The format is host:port
- $HELM_NO_PLUGINS: disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins. - $HELM_NO_PLUGINS: disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins.
- $TILLER_NAMESPACE: set an alternative Tiller namespace (default "kube-system") - $TILLER_NAMESPACE: set an alternative Tiller namespace (default "kube-system")
- $TILLER_PORT: set an alternative Tiller port (default "44134")
- $KUBECONFIG: set an alternative Kubernetes configuration file (default "~/.kube/config") - $KUBECONFIG: set an alternative Kubernetes configuration file (default "~/.kube/config")
- $HELM_TLS_CA_CERT: path to TLS CA certificate used to verify the Helm client and Tiller server certificates (default "$HELM_HOME/ca.pem") - $HELM_TLS_CA_CERT: path to TLS CA certificate used to verify the Helm client and Tiller server certificates (default "$HELM_HOME/ca.pem")
- $HELM_TLS_CERT: path to TLS client certificate file for authenticating to Tiller (default "$HELM_HOME/cert.pem") - $HELM_TLS_CERT: path to TLS client certificate file for authenticating to Tiller (default "$HELM_HOME/cert.pem")
@ -48,6 +49,7 @@ Environment:
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
@ -79,4 +81,4 @@ Environment:
* [helm verify](helm_verify.md) - verify that a chart at the given path has been signed and is valid * [helm verify](helm_verify.md) - verify that a chart at the given path has been signed and is valid
* [helm version](helm_version.md) - print the client/server version information * [helm version](helm_version.md) - print the client/server version information
###### Auto generated by spf13/cobra on 25-Apr-2019 ###### Auto generated by spf13/cobra on 20-May-2019

@ -36,10 +36,11 @@ helm completion SHELL [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -52,10 +52,11 @@ helm create NAME [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 18-Sep-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -43,10 +43,11 @@ helm delete [flags] RELEASE_NAME [...]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -69,6 +69,7 @@ for this case.
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
@ -78,4 +79,4 @@ for this case.
* [helm dependency list](helm_dependency_list.md) - list the dependencies for the given chart * [helm dependency list](helm_dependency_list.md) - list the dependencies for the given chart
* [helm dependency update](helm_dependency_update.md) - update charts/ based on the contents of requirements.yaml * [helm dependency update](helm_dependency_update.md) - update charts/ based on the contents of requirements.yaml
###### Auto generated by spf13/cobra on 26-Mar-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -14,6 +14,7 @@ If no lock file is found, 'helm dependency build' will mirror the behavior of
the 'helm dependency update' command. This means it will update the on-disk the 'helm dependency update' command. This means it will update the on-disk
dependencies to mirror the requirements.yaml file and generate a lock file. dependencies to mirror the requirements.yaml file and generate a lock file.
``` ```
helm dependency build [flags] CHART helm dependency build [flags] CHART
``` ```
@ -36,10 +37,11 @@ helm dependency build [flags] CHART
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm dependency](helm_dependency.md) - manage a chart's dependencies * [helm dependency](helm_dependency.md) - manage a chart's dependencies
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -34,10 +34,11 @@ helm dependency list [flags] CHART
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm dependency](helm_dependency.md) - manage a chart's dependencies * [helm dependency](helm_dependency.md) - manage a chart's dependencies
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -42,10 +42,11 @@ helm dependency update [flags] CHART
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm dependency](helm_dependency.md) - manage a chart's dependencies * [helm dependency](helm_dependency.md) - manage a chart's dependencies
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -53,10 +53,11 @@ helm fetch [flags] [chart URL | repo/chartname] [...]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -45,6 +45,7 @@ helm get [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO

@ -37,10 +37,11 @@ helm get hooks [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm get](helm_get.md) - download a named release * [helm get](helm_get.md) - download a named release
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -39,10 +39,11 @@ helm get manifest [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm get](helm_get.md) - download a named release * [helm get](helm_get.md) - download a named release
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -35,10 +35,11 @@ helm get notes [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm get](helm_get.md) - download a named release * [helm get](helm_get.md) - download a named release
###### Auto generated by spf13/cobra on 1-Sep-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -37,10 +37,11 @@ helm get values [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm get](helm_get.md) - download a named release * [helm get](helm_get.md) - download a named release
###### Auto generated by spf13/cobra on 7-Sep-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -49,10 +49,11 @@ helm history [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -29,10 +29,11 @@ helm home [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -69,10 +69,11 @@ helm init [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 4-Sep-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -41,6 +41,7 @@ helm inspect [CHART] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
@ -50,4 +51,4 @@ helm inspect [CHART] [flags]
* [helm inspect readme](helm_inspect_readme.md) - shows inspect readme * [helm inspect readme](helm_inspect_readme.md) - shows inspect readme
* [helm inspect values](helm_inspect_values.md) - shows inspect values * [helm inspect values](helm_inspect_values.md) - shows inspect values
###### Auto generated by spf13/cobra on 8-Jan-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -39,10 +39,11 @@ helm inspect chart [CHART] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm inspect](helm_inspect.md) - inspect a chart * [helm inspect](helm_inspect.md) - inspect a chart
###### Auto generated by spf13/cobra on 8-Jan-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -37,10 +37,11 @@ helm inspect readme [CHART] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm inspect](helm_inspect.md) - inspect a chart * [helm inspect](helm_inspect.md) - inspect a chart
###### Auto generated by spf13/cobra on 8-Jan-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -39,10 +39,11 @@ helm inspect values [CHART] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm inspect](helm_inspect.md) - inspect a chart * [helm inspect](helm_inspect.md) - inspect a chart
###### Auto generated by spf13/cobra on 8-Jan-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -124,10 +124,11 @@ helm install [CHART] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 28-Jan-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -39,10 +39,11 @@ helm lint [flags] PATH
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -72,10 +72,11 @@ helm list [flags] [FILTER]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Sep-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -43,10 +43,11 @@ helm package [flags] [CHART_PATH] [...]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -24,6 +24,7 @@ Manage client-side Helm plugins.
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
@ -34,4 +35,4 @@ Manage client-side Helm plugins.
* [helm plugin remove](helm_plugin_remove.md) - remove one or more Helm plugins * [helm plugin remove](helm_plugin_remove.md) - remove one or more Helm plugins
* [helm plugin update](helm_plugin_update.md) - update one or more Helm plugins * [helm plugin update](helm_plugin_update.md) - update one or more Helm plugins
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -32,10 +32,11 @@ helm plugin install [options] <path|url>... [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -26,10 +26,11 @@ helm plugin list [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -26,10 +26,11 @@ helm plugin remove <plugin>... [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -26,10 +26,11 @@ helm plugin update <plugin>... [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -28,6 +28,7 @@ Example usage:
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
@ -39,4 +40,4 @@ Example usage:
* [helm repo remove](helm_repo_remove.md) - remove a chart repository * [helm repo remove](helm_repo_remove.md) - remove a chart repository
* [helm repo update](helm_repo_update.md) - update information of available charts locally from chart repositories * [helm repo update](helm_repo_update.md) - update information of available charts locally from chart repositories
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -32,10 +32,11 @@ helm repo add [flags] [NAME] [URL]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -37,10 +37,11 @@ helm repo index [flags] [DIR]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -26,10 +26,11 @@ helm repo list [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -26,10 +26,11 @@ helm repo remove [flags] [NAME]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -33,10 +33,11 @@ helm repo update [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories
###### Auto generated by spf13/cobra on 15-Nov-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -38,10 +38,11 @@ helm reset [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -47,10 +47,11 @@ helm rollback [flags] [RELEASE] [REVISION]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 5-Feb-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -35,10 +35,11 @@ helm search [keyword] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -42,10 +42,11 @@ helm serve [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -43,10 +43,11 @@ helm status [flags] RELEASE_NAME
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -49,10 +49,11 @@ helm template [flags] CHART
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 1-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -40,10 +40,11 @@ helm test [RELEASE] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 9-Nov-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -112,10 +112,11 @@ helm upgrade [RELEASE] [CHART] [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 5-Feb-2019 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -36,10 +36,11 @@ helm verify [flags] PATH
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 25-Feb-2019 ###### Auto generated by spf13/cobra on 20-May-2019

@ -52,10 +52,11 @@ helm version [flags]
--kubeconfig string absolute path to the kubeconfig file to use --kubeconfig string absolute path to the kubeconfig file to use
--tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
--tiller-namespace string namespace of Tiller (default "kube-system") --tiller-namespace string namespace of Tiller (default "kube-system")
--tiller-port int port of Tiller (default 44134)
``` ```
### SEE ALSO ### SEE ALSO
* [helm](helm.md) - The Helm package manager for Kubernetes. * [helm](helm.md) - The Helm package manager for Kubernetes.
###### Auto generated by spf13/cobra on 10-Aug-2018 ###### Auto generated by spf13/cobra on 11-Apr-2019

@ -56,6 +56,8 @@ type EnvSettings struct {
TillerConnectionTimeout int64 TillerConnectionTimeout int64
// TillerNamespace is the namespace in which Tiller runs. // TillerNamespace is the namespace in which Tiller runs.
TillerNamespace string TillerNamespace string
// TillerPort is the port on which Tiller runs.
TillerPort int
// Home is the local path to the Helm home directory. // Home is the local path to the Helm home directory.
Home helmpath.Home Home helmpath.Home
// Debug indicates whether or not Helm is running in Debug mode. // Debug indicates whether or not Helm is running in Debug mode.
@ -86,6 +88,7 @@ func (s *EnvSettings) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.KubeConfig, "kubeconfig", "", "absolute path to the kubeconfig file to use") fs.StringVar(&s.KubeConfig, "kubeconfig", "", "absolute path to the kubeconfig file to use")
fs.BoolVar(&s.Debug, "debug", false, "enable verbose output") fs.BoolVar(&s.Debug, "debug", false, "enable verbose output")
fs.StringVar(&s.TillerNamespace, "tiller-namespace", "kube-system", "namespace of Tiller") fs.StringVar(&s.TillerNamespace, "tiller-namespace", "kube-system", "namespace of Tiller")
fs.IntVar(&s.TillerPort, "tiller-port", 44134, "port of Tiller")
fs.Int64Var(&s.TillerConnectionTimeout, "tiller-connection-timeout", int64(300), "the duration (in seconds) Helm will wait to establish a connection to tiller") fs.Int64Var(&s.TillerConnectionTimeout, "tiller-connection-timeout", int64(300), "the duration (in seconds) Helm will wait to establish a connection to tiller")
} }
@ -119,6 +122,7 @@ var envMap = map[string]string{
"home": "HELM_HOME", "home": "HELM_HOME",
"host": "HELM_HOST", "host": "HELM_HOST",
"tiller-namespace": "TILLER_NAMESPACE", "tiller-namespace": "TILLER_NAMESPACE",
"tiller-port": "TILLER_PORT",
} }
var tlsEnvMap = map[string]string{ var tlsEnvMap = map[string]string{

@ -36,6 +36,7 @@ func TestEnvSettings(t *testing.T) {
// expected values // expected values
home, host, ns, kcontext, kconfig, plugins string home, host, ns, kcontext, kconfig, plugins string
port int
debug, tlsverify bool debug, tlsverify bool
}{ }{
{ {
@ -44,15 +45,17 @@ func TestEnvSettings(t *testing.T) {
home: DefaultHelmHome, home: DefaultHelmHome,
plugins: helmpath.Home(DefaultHelmHome).Plugins(), plugins: helmpath.Home(DefaultHelmHome).Plugins(),
ns: "kube-system", ns: "kube-system",
port: 44134,
tlsverify: false, tlsverify: false,
}, },
{ {
name: "with flags set", name: "with flags set",
args: []string{"--home", "/foo", "--host=here", "--debug", "--tiller-namespace=myns", "--kubeconfig", "/bar"}, args: []string{"--home", "/foo", "--host=here", "--debug", "--tiller-namespace=myns", "--tiller-port=44225", "--kubeconfig", "/bar"},
home: "/foo", home: "/foo",
plugins: helmpath.Home("/foo").Plugins(), plugins: helmpath.Home("/foo").Plugins(),
host: "here", host: "here",
ns: "myns", ns: "myns",
port: 44225,
kconfig: "/bar", kconfig: "/bar",
debug: true, debug: true,
tlsverify: false, tlsverify: false,
@ -60,33 +63,36 @@ func TestEnvSettings(t *testing.T) {
{ {
name: "with envvars set", name: "with envvars set",
args: []string{}, args: []string{},
envars: map[string]string{"HELM_HOME": "/bar", "HELM_HOST": "there", "HELM_DEBUG": "1", "TILLER_NAMESPACE": "yourns"}, envars: map[string]string{"HELM_HOME": "/bar", "HELM_HOST": "there", "HELM_DEBUG": "1", "TILLER_NAMESPACE": "yourns", "TILLER_PORT": "44225"},
home: "/bar", home: "/bar",
plugins: helmpath.Home("/bar").Plugins(), plugins: helmpath.Home("/bar").Plugins(),
host: "there", host: "there",
ns: "yourns", ns: "yourns",
port: 44225,
debug: true, debug: true,
tlsverify: false, tlsverify: false,
}, },
{ {
name: "with TLS envvars set", name: "with TLS envvars set",
args: []string{}, args: []string{},
envars: map[string]string{"HELM_HOME": "/bar", "HELM_HOST": "there", "HELM_DEBUG": "1", "TILLER_NAMESPACE": "yourns", "HELM_TLS_VERIFY": "1"}, envars: map[string]string{"HELM_HOME": "/bar", "HELM_HOST": "there", "HELM_DEBUG": "1", "TILLER_NAMESPACE": "yourns", "TILLER_PORT": "44225", "HELM_TLS_VERIFY": "1"},
home: "/bar", home: "/bar",
plugins: helmpath.Home("/bar").Plugins(), plugins: helmpath.Home("/bar").Plugins(),
host: "there", host: "there",
ns: "yourns", ns: "yourns",
port: 44225,
debug: true, debug: true,
tlsverify: true, tlsverify: true,
}, },
{ {
name: "with flags and envvars set", name: "with flags and envvars set",
args: []string{"--home", "/foo", "--host=here", "--debug", "--tiller-namespace=myns"}, args: []string{"--home", "/foo", "--host=here", "--debug", "--tiller-namespace=myns"},
envars: map[string]string{"HELM_HOME": "/bar", "HELM_HOST": "there", "HELM_DEBUG": "1", "TILLER_NAMESPACE": "yourns", "HELM_PLUGIN": "glade"}, envars: map[string]string{"HELM_HOME": "/bar", "HELM_HOST": "there", "HELM_DEBUG": "1", "TILLER_NAMESPACE": "yourns", "TILLER_PORT": "44225", "HELM_PLUGIN": "glade"},
home: "/foo", home: "/foo",
plugins: "glade", plugins: "glade",
host: "here", host: "here",
ns: "myns", ns: "myns",
port: 44225,
debug: true, debug: true,
tlsverify: false, tlsverify: false,
}, },
@ -97,6 +103,7 @@ func TestEnvSettings(t *testing.T) {
"HELM_HOME": "", "HELM_HOME": "",
"HELM_HOST": "", "HELM_HOST": "",
"TILLER_NAMESPACE": "", "TILLER_NAMESPACE": "",
"TILLER_PORT": "",
"HELM_PLUGIN": "", "HELM_PLUGIN": "",
"HELM_TLS_HOSTNAME": "", "HELM_TLS_HOSTNAME": "",
"HELM_TLS_CA_CERT": "", "HELM_TLS_CA_CERT": "",
@ -140,6 +147,9 @@ func TestEnvSettings(t *testing.T) {
if settings.TillerNamespace != tt.ns { if settings.TillerNamespace != tt.ns {
t.Errorf("expected tiller-namespace %q, got %q", tt.ns, settings.TillerNamespace) t.Errorf("expected tiller-namespace %q, got %q", tt.ns, settings.TillerNamespace)
} }
if settings.TillerPort != tt.port {
t.Errorf("expected tiller-port %d, got %d", tt.port, settings.TillerPort)
}
if settings.KubeContext != tt.kcontext { if settings.KubeContext != tt.kcontext {
t.Errorf("expected kube-context %q, got %q", tt.kcontext, settings.KubeContext) t.Errorf("expected kube-context %q, got %q", tt.kcontext, settings.KubeContext)
} }

@ -19,7 +19,7 @@ package portforwarder
import ( import (
"fmt" "fmt"
"k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/kubernetes" "k8s.io/client-go/kubernetes"
@ -27,7 +27,6 @@ import (
"k8s.io/client-go/rest" "k8s.io/client-go/rest"
"k8s.io/helm/pkg/kube" "k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/tiller/environment"
) )
var ( var (
@ -36,11 +35,17 @@ var (
// New creates a new and initialized tunnel. // New creates a new and initialized tunnel.
func New(namespace string, client kubernetes.Interface, config *rest.Config) (*kube.Tunnel, error) { func New(namespace string, client kubernetes.Interface, config *rest.Config) (*kube.Tunnel, error) {
const tillerPort = 44134
return NewWithPort(namespace, tillerPort, client, config)
}
// NewWithPort creates a new and initialized tunnel on the specified port.
func NewWithPort(namespace string, port int, client kubernetes.Interface, config *rest.Config) (*kube.Tunnel, error) {
podName, err := GetTillerPodName(client.CoreV1(), namespace) podName, err := GetTillerPodName(client.CoreV1(), namespace)
if err != nil { if err != nil {
return nil, err return nil, err
} }
t := kube.NewTunnel(client.CoreV1().RESTClient(), config, namespace, podName, environment.DefaultTillerPort) t := kube.NewTunnel(client.CoreV1().RESTClient(), config, namespace, podName, port)
return t, t.ForwardPort() return t, t.ForwardPort()
} }

@ -190,6 +190,7 @@ func SetupPluginEnv(settings helm_env.EnvSettings,
"TILLER_HOST": settings.TillerHost, "TILLER_HOST": settings.TillerHost,
"TILLER_NAMESPACE": settings.TillerNamespace, "TILLER_NAMESPACE": settings.TillerNamespace,
"TILLER_PORT": string(settings.TillerPort),
} { } {
os.Setenv(key, val) os.Setenv(key, val)
} }

Loading…
Cancel
Save