Commit graph

928 commits

Author SHA1 Message Date
James Munnelly
829fe51f1e
Add link to securing helm docs in 'helm init' text 2018-02-28 16:00:35 +00:00
Justin Scott
420be49522
Merge pull request #3475 from jascott1/3394_reset
fix(helm): update helm reset --force tip for clarity
2018-02-27 15:21:09 -08:00
Matthew Fisher
bf77961cf4
Merge pull request #3383 from PureWhiteWu/refactor/error
refactor prettyError, closes #3381
2018-02-27 20:37:28 +00:00
Matthew Fisher
e13eba128f
Merge pull request #3508 from adshmh/fix-set-app-version-unit-test-implicit-dependency
fix the implicit dependency of TestSetAppVersion test on previous tests
2018-02-27 19:45:07 +00:00
Matthew Fisher
44fe4ce2a6
Merge pull request #3519 from liamawhite/master
Fix linting bug with charts containing more than one hyphen
2018-02-27 18:25:20 +00:00
Matthew Fisher
de678ca51e
Merge pull request #3532 from joonix/mute_warning
Mute upgrade --install default namespace warning
2018-02-27 18:23:03 +00:00
Matthew Fisher
5e2362e008
Merge pull request #3543 from adshmh/fix-left-over-repotest-dirs-from-tests
Clean up temporary "helm-repotest-*" directories left behind by tests under cmd/helm
2018-02-27 16:55:46 +00:00
Matthew Fisher
17c2272490
Merge pull request #3482 from powerhome/bugfix/keepalive-mismatch
Tiller should only enforce what we expect from Helm
2018-02-26 11:53:29 -08:00
Arash Deshmeh
55cc23cb01 fix(helm): fix the bug in tests under cmd/helm that leaves behind temporary directories named "repo-test-*" during build.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-02-20 11:45:46 -05:00
Johnny Bergström
0d758cfd41 Mute upgrade --install default namespace warning
Initialize empty selection like in the install command to prevent:
WARNING: Namespace doesn't match with previous
2018-02-19 17:03:58 +01:00
Liam White
abd33764e8 Fix linting bug with charts containing more than one hyphen 2018-02-16 10:56:57 +00:00
Arash Deshmeh
c78af5483c fix(helm): fix the implicit dependency of TestSetAppVersion test on previous tests, due to helm home,
by explicitly creating a temporary helm directory for the test.

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-02-14 10:42:39 -05:00
Arash Deshmeh
a9ba3aa897 fix(helm): fix the bug in test code 'cmd/helm/create_test.go' that leaves behind temp directories during build
The build process no longer leaves behind 'helm-create-*' temp directories.

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-02-13 11:32:48 -05:00
Sunny
cff4ea416e
feat(helm): add --template flag to helm version
`helm version --template` prints the client and server version info in
the provided template format.
2018-02-11 19:04:11 +05:30
Justin Scott
084a2bb945 fix(helm): update helm reset --force tip for clarity
Updates helm reset error message to clarify that --force will not remove releases.

Closes #3394
2018-02-09 10:55:49 -08:00
Ben Langfeld
3b22ecd53b Keepalive config should be independent of TLS 2018-02-09 11:11:05 -02:00
Ben Langfeld
588f7a8443 Tiller should only enforce what we expect from Helm
https://github.com/kubernetes/helm/pull/3183 added a keepalive to the Helm client of 30s period, while Tiller was never configured to permit this, keeping the default minimum keepalive period of 5 minutes, disconnecting any clients which ping more regularly than this.

This commit enforces a minimum that is lower than what Helm is configured for, preventing these disconnections, and thus fixes #3409.
2018-02-09 10:31:19 -02:00
Arash Deshmeh
244b1b1528 fix(helm): fix the build-time golint warning on 'cmd/helm/install.go'
When building helm, golint no longer generates the following warning:

cmd/helm/install.go:502:9⚠️ if block ends with a return statement, so drop this else and outdent its block (golint)

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-02-08 16:23:13 -05:00
Matthew Fisher
3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
Revert "feat(helm): adding kubeconfig flag"
2018-02-08 10:47:15 -08:00
Matthew Fisher
f13c4d28b5 Revert "feat(helm): adding kubeconfig flag"
This reverts commit 371ff8f26d.
2018-01-25 23:32:42 -08:00
Matthew Fisher
4947e5aaf8 fix helm init --upgrade logic 2018-01-25 23:16:44 -08:00
Pure White
0ddfbaafb6
refactor prettyError, closes #3381 2018-01-24 23:41:56 +08:00
Kazuki Suda
7b5a837b04 helm template: display the default value of --kube-version in help message
This commit improves to display the default value of --kube-version in
help message of `helm template` command.

```
--kube-version string    kubernetes version used as Capabilities.KubeVersion.Major/Minor (default "1.9")
```
2018-01-20 07:50:38 +09:00
Matt Farina
c359ea66ed
Merge pull request #3350 from mattfarina/fix/3349
fix(capabilities): Adding GitVersion to default set
2018-01-19 10:18:20 -05:00
Alex Johnson
b29d25ef0b Added a --wait flag for helm init which pings the Tiller server and ensures that it is ready to receive requests
Fixes #2114

Signed-off-by: Alex Johnson <ajohnson@bombora.com>
2018-01-18 15:40:26 -08:00
Reinhard Nägele
d819ca2b94 Add AppVersion to initial chart 2018-01-18 20:24:12 +01:00
Matt Farina
d5a865b5f4
fix(capabilities): Adding GitVersion to default set
Prior to this, using the semver template functions with the full
version, which is represented in the GitVersion, was not possible
for helm template and lint commands because the property was not
populated by default. This update adds default handling.

Closes #3349
2018-01-16 13:02:30 -05:00
Adam Reese
e9203b826b
fix(helm): filter helm list to print latest release (#3335)
`helm list` should only list latest release

fixes #3208
2018-01-11 16:24:44 -08:00
rocky-nupt
a6381e83a7 feat(helm): Add --col-width to helm list and helm history (#2836)
* feat(helm): Add --full-output to helm list and helm history

The default maximum length of the output table is 60 chars.
When the length is greater than 60, the content will be omitted.
This patch adds -f and --full-output to helm list and helm history
which can display full information of releases on the screen.

Closes #2828

* a

* feat(helm): Add --full-output to helm list and helm history

The default maximum length of the output table is 60 chars.
When the length is greater than 60, the content will be omitted.
This patch adds -f and --full-output to helm list and helm history
which can display full information of releases on the screen.

Closes #2828
2018-01-09 20:54:01 -08:00
Florian Zysset
fa06dd176d helm init --upgrade will downgrade (#2805)
* Don't downgrade tiller with helm init --upgrade unless --force-upgrade is specified
Fix tests after merging master

* Reformatting with gofmt
2018-01-09 12:46:07 -08:00
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support (#3234) 2018-01-05 12:30:26 -08:00
Matthew Fisher
1e373043b7
Merge pull request #3233 from pietromenna/symbolic-link-on-helm-init
fix(helm): Init not creating local-index symlink on Windows
2017-12-29 10:33:44 -08:00
Matthew Fisher
5decaa244e
Merge pull request #2754 from rbwsam/feat/get_kube_ver
feat(*): add k8s version to version debug cmd
2017-12-28 15:37:29 -08:00
Julian
ca415ab8db feat(helm): support namespace and additional values in lint (#2972)
* Add "--namespace" to helm lint

Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.

See #2036

* Align lintCmd struct

* Add "--set" and "--values" to helm lint

Keep lint syntax as close as possible to "helm install" resp. "helm
upgrade", so that one only needs to change the command.

Closes #2495,#2036

* Reuse strict parameter, when rendering during lint

We want to see the rendering fail, if we missed a value, so we reuse
"--strict".

See #2495,#2036

* Fix lint unit test

See #2495,#2036

* Update docs
2017-12-13 14:43:12 -08:00
Pietro Menna
9129188fad
fix(helm): Init not creating local-index symlink on Windows
os.Symlink required additional permissions on Windows, and init is not currently identifying the failed creation.

Related to #2071
2017-12-13 20:39:23 -02:00
Matt Farina
9d4b9ca208
feat(status): Optional output as JSON and YAML 2017-12-12 12:51:05 -05:00
Sam Leavens
558dcf3cd4 Only show k8s version if asking for server version 2017-12-06 21:50:50 +01:00
Matthew Fisher
618094ccd2 fix TLS default path
Without this change, running `helm list --tls` without setting $HELM_HOME causes helm to look for TLS certificates under /.
2017-12-01 12:54:51 -08:00
Taylor Thomas
44e5cecdca fix(tiller): Forces close of idle gRPC connections
Possibly fixes #3121. This forces idle connections to drop after 10 minutes
2017-11-28 16:48:13 -08:00
Adam Reese
e93b77166d
Merge pull request #3025 from beeradb/fakeclient-releasestatus
Improvements to FakeClient: support all CRUD operations
2017-11-28 12:51:36 -08:00
Arash Deshmeh
9e869700c0 fix(helm): add --app-version flag to 'helm package'
When 'helm package --app-version foo' is run, this will
set the AppVersion field to 'foo' in the packaged chart.

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-11-24 14:41:33 -05:00
Igor Vuk
d81780032a Fix a typo in install.go, update helm_install.md 2017-11-23 19:06:37 +01:00
Matthew Fisher
cad89240f3
Merge pull request #3187 from hoesler/fix/chart_downloader
fix(helm): resolve relative chart paths
2017-11-23 07:48:09 -08:00
Christoph Hösler
af9190f956 feature: let FindChartInRepoURL return absolute chart URLs 2017-11-22 18:32:05 +01:00
Morgan Parry
b74c21a7b2 fix(helm): Fixed semantic version constraints on 'search' command (#3116)
Closes #3115
2017-11-22 09:39:02 -07:00
Christoph Hösler
2106766ab8 fix: rename variable due to linter warning 2017-11-22 13:46:47 +01:00
Christoph Hösler
57daa56b81 Update installDesc 2017-11-22 13:17:18 +01:00
Christoph Hösler
09313ad26c fix(helm): resolve relative chart paths 2017-11-22 12:51:06 +01:00
Rajat Jindal
7f13e13a71 support output-dir when running 'helm template' (#3144)
* support output-dir when running 'helm template'

* add --output-dir to documentation

* when writing to file, dont add additional document

* trigger another ci build. make test-unit works for me

* dont write blank files

* return err instead of panic
2017-11-21 12:10:27 -07:00
Michelle Noorali
5884124294 ref(docs): update plugin install documentation 2017-11-20 10:12:13 -05:00