ruicao
b4cfb5f2f3
Typo fix: indentifies -> identifies
7 years ago
Arash Deshmeh
d8c4cbb0e0
feat(helm): Added the ability to handle custom description to client side for install, upgrade, rollback, and delete commands. Updated the documentation according to the changes.
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
mattjmcnaughton
2b04523baf
Fix inaccurate comment in `tiller`
...
When reading through `cmd/tiller/tiller.go`, I noticed a comment around
`rootServer` mentions the usage of an `init` function. However, there is
no `init` function in this package. Update the comment to be more
accurate.
7 years ago
Matthew Fisher
d77642f4a5
Merge pull request #4104 from yenicapotediaz/master
...
removed --install option from --namespace to solve inconsistency with the `helm lint` documentation
7 years ago
Johnny Bergström
43b19dccbe
Add helm template --is-upgrade
...
Useful for toggling .Release.IsInstall / .Release.IsUpgrade which
in turn may cause templates to render differently.
7 years ago
Yeni Capote Diaz
4f36bbf2bd
removed --install option from --namespace.
7 years ago
Jonathan Hall
4e08a023dd
Suppress 'unauthenticated users' warning when --tiller-tls-verify present
...
And clarify the warning to indicate exactly how to correct the problem.
7 years ago
Doug Winter
32bd9d82e8
Support values files on remote servers with self-signed certs / client cert authentication ( #4003 )
...
* support tls for values file access
- uses --ca-file / --cert-file / --key-file
* also for upgrade command
7 years ago
Matt Butcher
0699ec4248
feat(tiller): support CRD installation ( #3982 )
...
This adds support for installing CRDs well before any other resource
kinds are installed.
This PR introduces a new hook, `crd-install`, that fires before
manifests are even validated. It is used to install a CRD before any
other part of a chart is installed.
Currently, this hook is _only implemented for install_. That means we
currently cannot add new CRDs during `helm upgrade`, nor can they
be rolled back. This is the safest configuration, as the update/rollback
cycle gets very challenging when CRDs are added and removed.
7 years ago
Matthew Fisher
4d1a401a9f
Revert "Fix tiller deployment on RBAC clusters"
7 years ago
Marat Garafutdinov
7a65f7479a
add --col-width to `helm search` ( #3949 )
...
* add customizeable --col-width
* make docs. whitespacing
7 years ago
Fabian Ruff
ed39f16ee5
Fix --tiller-namespace flag for plugins
...
This fixes using `--tiller-namespace $namespace` flag (without the equal sign) for helm plugins.
7 years ago
AdamDang
bcf5688e9a
Update install.go
7 years ago
Sean Eagan
49c3d50e4e
feat(list): Optional output as JSON and YAML
...
The choice of interface `--output (json|yaml)` is to match that of the
status command, except that -o is not available as it is already used
by --offset.
WIP #1534
7 years ago
Michelle Noorali
1ee1706870
Merge pull request #3900 from adshmh/3886-support-removal-of-multiple-repos-from-cli
...
support removing multiple repositories using repo remove command
7 years ago
Michelle Noorali
539041e439
Merge pull request #3903 from derekbassett/helm-ls-modification-rebase
...
Add App Version to the helm ls command.
7 years ago
AdamDang
fac7caf5d2
Correct the returned message in reset_test.go
...
Correct the returned message
7 years ago
Matthew Fisher
7b8aae4667
Revert "feat: add --set and --values options to 'helm package'"
...
This reverts commit a930eb7ff4
.
7 years ago
Derek Bassett
0209ac32dd
Add App Version to the helm ls command.
7 years ago
Arash Deshmeh
223c89e6aa
feat(helm): support removing multiple repositories with repo remove command
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Arash Deshmeh
75682ed584
fix(helm): resolve linter's warning on template command unit tests
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Nikhil Manchanda
30f236b75c
Merge pull request #3877 from chancez/enhance_helm_template_handling
...
Update helm template -x to support children chart manifests in more cases
7 years ago
Chance Zibolski
fb1dd48b5a
test helm template -x with non-existent manifest
7 years ago
Chance Zibolski
b9adc356e8
Correctly use subtests in helm template tests
...
The testing.T in the subtest wasn't being used, so subtests were
effectively not being used. Additionally, in case subtests run in
parallel, we assign tt := tt to fix closure captures on range variables,
since the variables produced by a range are re-used between iterations.
7 years ago
Chance Zibolski
ced20f6f4e
Disambigutate chartPaths variables in helm template tests
7 years ago
Chance Zibolski
62a58e8362
test helm template -x against subcharts stored as tgz's
7 years ago
Chance Zibolski
62f85322ef
Update helm template -x to support children chart manifests in more cases
...
The previous code validated the manifests exist within the file system,
which only works when a chart is unpacked, meaning children charts
stored as tgz's in the parent chart's `charts/` directory don't exist as
individual files in the filesystem, causing validation to file.
Instead, we validate against the paths within the chart itself rather
than the filesystem, handling both chart.tgz's and charts that are
unpacked as directories in the chart/ directory.
7 years ago
Taylor Thomas
24bde5900b
Merge pull request #3853 from adshmh/refactor-reset-unit-tests-to-remove-duplication
...
refactor reset command unit tests to remove duplication
7 years ago
Matthew Fisher
15e9f54144
Merge pull request #3808 from adshmh/refactor-release-testing-unit-tests-to-utilize-runReleaseCases
...
refactor release_testing unit tests to utilize runReleaseCases
7 years ago
Matthew Fisher
8981575082
Merge pull request #3715 from bacongobbler/fix-get-manifest
...
fix `helm get manifest` context deadline exceeded error
7 years ago
Arash Deshmeh
826781a1a3
fix(helm) refactor reset command unit tests to remove duplication in test code
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
7 years ago
Taylor Thomas
b718b1c870
fix(package): Adds missing `set-string` flag and parameter
...
A recent PR (#3471 ) wasn't up to date with the latest master changes.
This fixes the issue and adds the right number of parameters to the
`vals` function call.
7 years ago
Matthew Fisher
d078caa0d0
Merge pull request #3471 from adshmh/add-set-and-values-options-to-helm-package
...
feat: add --set and --values options to 'helm package'
7 years ago
Taylor Thomas
6a649134e0
Merge pull request #3783 from RyanHartje/fail_lint_when_chart_yaml_missing
...
return a non 0 exit code when lint fails due to missing Chart.yaml
7 years ago
Michelle Noorali
e922a873bc
ref(cmd/upgrade): update reuse-values flag descrip
...
helps clarify behavior. See #3655
7 years ago
Matthew Fisher
a8023979ec
Merge pull request #3830 from michelleN/prettyError
...
ref(cmd/helm): show grpc error msg from prettyError
7 years ago
Michelle Noorali
499636d70c
ref(cmd/helm): show grpc error msg from prettyError
7 years ago
Ryan Hartje
9b20d91e42
using existing mechanism to flag for failures
7 years ago
Taylor Thomas
3ba2a00982
Merge pull request #3784 from jkoleszar/tiller-rbac
...
Fix tiller deployment on RBAC clusters
7 years ago
Taylor Thomas
9654c616c2
Merge pull request #3813 from usabilla/merge-values
...
Removes unnecessary if block
7 years ago
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
ryane
8bb4984f94
update docstrings on Deployment, Service, and Secret
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
ryane
61e88cbc41
don't wrap helm init -o/--dry-run output in List
...
Manifests in yaml are separated by `---`. In json, manifests are separated by
newlines (see
https://github.com/kubernetes/kubernetes/blob/master/hack/testdata/multi-resource-json.json )
7 years ago
ryane
af80059b45
fix(helm): add service, secret manifests in `init -o`
...
When `helm init -o yaml|json` is run, the service and optional secret manifests
will be included in the output. The manifests are included in a Kubernetes
[List](https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#List ) object.
This also includes some refactoring and consolidates how manifests are output in
`--dry-run` and removes some unnecessary marshaling between Kubernetes objects
and strings.
Fixes #3145
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