Matthew Fisher
c52707fb26
import client auth plugins
7 years ago
Gijs Kunze
458ba8ce37
Removes unnecessary if block
7 years ago
Brian
58e4b6ac61
Merge pull request #3782 from fibonacci1729/master
...
stream releases when listing
7 years ago
Arash Deshmeh
ea7c3fefc8
fix(helm) refactor release_testing unit tests to utilize runReleaseCases
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
e0056a9e41
fix(helm): fix output leak from unit tests of helm create command
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
John Koleszar
1e03f1bce5
Fix tiller deployment on RBAC clusters
...
Adds automountServiceAccountToken when a serviceAccount is specified.
Prior to this, tiller falls back to contacting the KUBERNETES_SERVICE on
localhost:8080 rather than respecting the cluster IP in the
KUBERNETES_SERVICE_{HOST,PORT} environment variables.
Fixes #3460 , fixes #3467 .
7 years ago
Ryan Hartje
343acc5a60
return a non 0 exit code when lint fails due to missing Chart.yaml
7 years ago
fibonacci1729
2dd9b34d28
stream releases when listing
7 years ago
Matthew Fisher
793cda8aa0
Merge pull request #3730 from helgi/feature/gh-3682
...
Create index.yaml if missing when running repo index --merge
7 years ago
Matthew Fisher
282984e75f
Merge pull request #3716 from lestrrat/master
...
Add actionable message in the error
7 years ago
Helgi Þorbjörnsson
141e015590
Create index.yaml if missing when running repo index --merge
...
Fixes #3682
7 years ago
Arturo Contreras
a615f80c92
Adding --set-string flag to force string values.
7 years ago
Eyal Ben Moshe
b6335b7dfe
Authentication support for remote charts repositories ( #3206 )
...
Authentication support for remote charts repositories.
7 years ago
Adam Reese
19c73207b2
Merge pull request #3717 from adamreese/fix/history-output
...
fix(helm): fix helm history unit tests
7 years ago
Andrii Soldatenko
08f450404b
Fixed typo
7 years ago
Adam Reese
34b6d12ebe
fix(helm): fix helm history unit tests
...
fixes #3652
7 years ago
Matthew Fisher
87f66af061
Merge pull request #3652 from rajatjindal/history-format
...
add support for output format in json or yaml
7 years ago
Daisuke Maki
afed555572
Add actionable message in the error
...
See #3697
7 years ago
Matthew Fisher
87c64e7987
fix `helm get manifest` context deadline exceeded error
7 years ago
Michelle Noorali
fbb692707e
Merge pull request #3688 from adshmh/fix-duplication-of-test-code-on-helm-search
...
Fix helm search command error on index search failures
7 years ago
Matthew Fisher
8d5f215e1c
Merge pull request #3705 from adshmh/fix-duplication-of-test-code-on-helm-dependency
...
Refactor tests on helm dependency list command to remove duplication
7 years ago
Matthew Fisher
c4c165e820
Merge pull request #3699 from adshmh/fix-duplication-of-test-code-on-helm-repo-add
...
Refactor tests of repo-add command to remove duplication
7 years ago
Arash Deshmeh
74bf7584a0
fix(helm): refactor tests on helm dependency list command to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
b66c10df10
fix(helm): remove duplication in tests of repo-add command
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Matthew Fisher
6de9ebccbc
fix windows path issues on `helm template -x`
7 years ago
Arash Deshmeh
1e4770248c
fix(helm): refactor search command tests to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
4b145622a2
fix(helm): search command returns error on index search failures (specifically on regular expression errors)
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
a930eb7ff4
feat: add --set and --values options to 'helm package'
...
When 'helm package --set stringsArray' is run, this will set/override values
in the packaged chart. 'helm package --values valueFiles' uses one or more
value files to achieve the same.
Closes #3141
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Rajat Jindal
333341425a
update documentation as per review feedback
7 years ago
Florian Zysset
3625241025
feat(helm): inspect readme
7 years ago
Matthew Fisher
5ddf2f36c5
Merge pull request #3507 from adshmh/fix-left-over-helm-home-dirs-from-unit-tests
...
Fix the unit tests to avoid leaving behind 'helm_home*' temporary directories during build
7 years ago
Arash Deshmeh
23b570fabd
fix(helm): refactor helm version command tests to remove duplication
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Matthew Fisher
d08778fcb4
Merge pull request #3662 from adshmh/fix-duplication-of-test-code-on-helm-status
...
Refactor helm status command tests to remove duplication
7 years ago
Arash Deshmeh
e25df2ae76
fix(helm) refactor helm status command tests to use releaseCase struct and the corresponding function runReleaseCases. Fixes #3659
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Rajat Jindal
c93ff32f52
make table explicitly default
7 years ago
Arash Deshmeh
cdd9a85676
fix(helm): remove duplicate code from cmd/helm/history_test.go. Closes #3649
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Rajat Jindal
46ed802750
add support for output format in json or yaml
7 years ago
Taylor Thomas
38335161d9
Merge pull request #3638 from adshmh/fix-duplication-of-test-code-on-helm-list
...
Remove duplicate test code from cmd/helm/list_test.go
7 years ago
Taylor Thomas
cb12dbba97
Merge pull request #3595 from Stelminator/relative-home-path-part1
...
Relative home path part1
7 years ago
Matthew Fisher
a66a39a171
fix helm init --wait
7 years ago
Arash Deshmeh
75ccc353eb
fix(helm): remove duplicate test code from cmd/helm/list_test. Closes #3637
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Taylor Thomas
9bd03fd571
Merge pull request #3615 from mparry/fix-search-crash
...
fix(helm): Don't crash in search if upper case chars are encountered
7 years ago
Arash Deshmeh
da989dc275
fix(helm): fix the bug in test code 'cmd/helm/init_test.go' and 'cmd/helm/repo_update_test.go'
...
that leave behind temporary helm home directories during build.
With this fix, the build process no longer leaves behind 'helm_home-*' temp directories.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Morgan Parry
d848990122
fix(helm): Don't crash in search if upper case chars are encountered.
...
Closes #3088
7 years ago
Yaroslav Molochko
2f252e9524
Add --replicas option for HA fixes #2334
7 years ago
Christopher A. Stelma
dc7e465705
pass home down through createLink
7 years ago
Ryan Payton
81e09ff14c
updating DownloadIndexFile function call to pass in HELM_HOME
7 years ago
James Munnelly
829fe51f1e
Add link to securing helm docs in 'helm init' text
7 years ago
Justin Scott
420be49522
Merge pull request #3475 from jascott1/3394_reset
...
fix(helm): update helm reset --force tip for clarity
7 years ago
Matthew Fisher
bf77961cf4
Merge pull request #3383 from PureWhiteWu/refactor/error
...
refactor prettyError, closes #3381
7 years ago
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
7 years ago
Matthew Fisher
44fe4ce2a6
Merge pull request #3519 from liamawhite/master
...
Fix linting bug with charts containing more than one hyphen
7 years ago
Matthew Fisher
de678ca51e
Merge pull request #3532 from joonix/mute_warning
...
Mute upgrade --install default namespace warning
7 years ago
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
7 years ago
Matthew Fisher
17c2272490
Merge pull request #3482 from powerhome/bugfix/keepalive-mismatch
...
Tiller should only enforce what we expect from Helm
7 years ago
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>
7 years ago
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
7 years ago
Liam White
abd33764e8
Fix linting bug with charts containing more than one hyphen
7 years ago
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>
7 years ago
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>
7 years ago
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.
7 years ago
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
7 years ago
Ben Langfeld
3b22ecd53b
Keepalive config should be independent of TLS
7 years ago
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 .
7 years ago
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>
7 years ago
Matthew Fisher
3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
...
Revert "feat(helm): adding kubeconfig flag"
7 years ago
Matthew Fisher
f13c4d28b5
Revert "feat(helm): adding kubeconfig flag"
...
This reverts commit 371ff8f26d
.
7 years ago
Matthew Fisher
4947e5aaf8
fix helm init --upgrade logic
7 years ago
Pure White
0ddfbaafb6
refactor prettyError, closes #3381
7 years ago
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")
```
7 years ago
Matt Farina
c359ea66ed
Merge pull request #3350 from mattfarina/fix/3349
...
fix(capabilities): Adding GitVersion to default set
7 years ago
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>
7 years ago
Reinhard Nägele
d819ca2b94
Add AppVersion to initial chart
7 years ago
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
7 years ago
Adam Reese
e9203b826b
fix(helm): filter helm list to print latest release ( #3335 )
...
`helm list` should only list latest release
fixes #3208
7 years ago
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
7 years ago
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
7 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
7 years ago
Matthew Fisher
1e373043b7
Merge pull request #3233 from pietromenna/symbolic-link-on-helm-init
...
fix(helm): Init not creating local-index symlink on Windows
7 years ago
Matthew Fisher
5decaa244e
Merge pull request #2754 from rbwsam/feat/get_kube_ver
...
feat(*): add k8s version to version debug cmd
7 years ago
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
7 years ago
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
7 years ago
Matt Farina
9d4b9ca208
feat(status): Optional output as JSON and YAML
7 years ago
Sam Leavens
558dcf3cd4
Only show k8s version if asking for server version
7 years ago
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 /.
7 years ago
Taylor Thomas
44e5cecdca
fix(tiller): Forces close of idle gRPC connections
...
Possibly fixes #3121 . This forces idle connections to drop after 10 minutes
7 years ago
Adam Reese
e93b77166d
Merge pull request #3025 from beeradb/fakeclient-releasestatus
...
Improvements to FakeClient: support all CRUD operations
7 years ago
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>
7 years ago
Igor Vuk
d81780032a
Fix a typo in install.go, update helm_install.md
7 years ago
Matthew Fisher
cad89240f3
Merge pull request #3187 from hoesler/fix/chart_downloader
...
fix(helm): resolve relative chart paths
7 years ago
Christoph Hösler
af9190f956
feature: let FindChartInRepoURL return absolute chart URLs
7 years ago
Morgan Parry
b74c21a7b2
fix(helm): Fixed semantic version constraints on 'search' command ( #3116 )
...
Closes #3115
7 years ago
Christoph Hösler
2106766ab8
fix: rename variable due to linter warning
7 years ago
Christoph Hösler
57daa56b81
Update installDesc
7 years ago
Christoph Hösler
09313ad26c
fix(helm): resolve relative chart paths
7 years ago
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
7 years ago
Michelle Noorali
5884124294
ref(docs): update plugin install documentation
7 years ago
Matt Butcher
e8e6ac5d77
Fix/missing ssl params ( #3152 )
...
* fix(helm): add TLS params back
During a recent refactor, several TLS flags stopped being processed for
a few of the commands. This fixes those commands, and documents how to
set up TLS.
* fix(tiller): add stricter certificate verification
The older version of Tiller allowed a weaker set of certificate checks
than we intended. This version requires a client certificate, and then
requires that that certificate be signed by a known CA. This works
around the situation where a user could provide a self-signed
certificate.
7 years ago
Taylor Thomas
f6bff5da94
Merge pull request #3052 from Lookyan/master
...
Add previous namespace mismatch warning
7 years ago
Alexander Lukyanchenko
6f6d46de06
Fix err checking
7 years ago