Jeff Knurek
bceca24a91
also don't need the values.yaml in testdata
...
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
(cherry picked from commit 242bd58066
)
5 years ago
Jeff Knurek
3cb66fea6f
remove unrequired files in testdata
...
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
(cherry picked from commit 77957fc764
)
5 years ago
Jeff Knurek
55b7bb941a
revert the removal of strict param in functions for better backwards compatibility
...
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
(cherry picked from commit cd90fb4319
)
5 years ago
Jeff Knurek
f8d18c868c
fix: removed strict template errors from v2 linter
...
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
(cherry picked from commit a979ba8c58
)
5 years ago
Stanton Xu
6ab799f71e
Updated test cases
...
Signed-off-by: Stanton Xu <xjiefeng@gmail.com>
(cherry picked from commit 416c97d221
)
5 years ago
zwwhdls
63e1c9bc7f
[v2]stop with an error immediately if a file or directory with that name already exists ( #7188 )
...
* fix #7182
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix typo
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* add testcase
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
* fix conflict subdirectory when untardir is the clashing directory
Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
6 years ago
Yury Fedorov
dc2f5bcb33
Fix secure installation link in v2 ( #6912 )
...
Signed-off-by: yury <yury@panoply.io>
6 years ago
Matt Farina
ae6a33fc2f
Update language on search usage
...
This is a followup to PR #6780 that implements some discussed
language changes.
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Mateusz Szostok
71fa47f576
fix(repo/search): fix helm repo search command to display proper versions
...
Introduce the `--devel` flag for `helm repo search` command.
`helm repo search` - searches only for stable releases, prerelease versions will be skip
`helm repo search --devel` - searches for releases and prereleases (alpha, beta, and release candidate releases)
`helm repo search --version 1.0.0 - searches for release in version 1.0.0
Signed-off-by: Mateusz Szostok <szostok.mateusz@gmail.com>
6 years ago
Matt Farina
0a9bf4f966
Merge pull request #6754 from karuppiah7890/fix-lint-for-no-package-found-v2
...
fix silent lint ignore for non existing packaged charts
6 years ago
Karuppiah Natarajan
23926365a0
fix silent lint ignore for non existing packaged charts
...
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
6 years ago
Oleg Sidorov
4cddc82c0b
Reverted changes introduced in #6010
...
This commit reverts changes introduced in #6010 due to a massive
regression reported in #6708 . An attempt to fix the problem in
https://github.com/helm/helm/pull/6709 seems to be unreasonably clumzy
and hacky, therefore reverting the offensive change seems to be the most
pragmatic solution.
This reverts commits:
* 70cd32c4ce
.
* 9014bd9c50
.
Signed-off-by: Oleg Sidorov <me@whitebox.io>
6 years ago
Martin Hickey
7ca75251d6
Set output format when install flag on helm upgrade ( #6722 )
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Matthew Fisher
0a2d58457a
fix(cmd): acquire file lock on repository.lock
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Matthew Fisher
91356c81eb
fix style
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
6 years ago
Jeff Knurek
b94608388e
TEST: add option to dump logs during helm test
...
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
6 years ago
Taylor Thomas
4e8063b103
Merge pull request #5177 from adshmh/5150-lint-development-version-flag
...
Allow lint command to parse pre-release charts
6 years ago
Bhargav Nookala
300aa76d8d
Allow customization of API Versions when using Helm Template with --api-versions or -a
...
Signed-off-by: Bhargav Nookala <nooknb@gmail.com>
6 years ago
Ting-Wai
ed8f17a889
Parameterize maximum number of tests pods to run in parallel ( #6078 )
...
Signed-off-by: Ting-Wai To <tingwai@bitgo.com>
6 years ago
Matthew Fisher
a9fcff88b1
Merge pull request #5561 from mumoshu/togglable-tiller-probe-endpoints
...
feat: tiller probing endpoints can be disabled
6 years ago
Matt Farina
1bfe85ebd5
Merge pull request #5069 from adshmh/5044-add-app-version-to-history
...
add AppVersion column to the history command
6 years ago
Matthew Fisher
126ab055ae
Merge pull request #3934 from jstoja/improve_search_regexp_doc
...
Add documentation to helm search --regexp (#3927 )
6 years ago
Matt Farina
a55af70ea8
Merge branch 'master' into 5044-add-app-version-to-history
6 years ago
Matthew Fisher
77a7bbb013
Merge pull request #6462 from keleustes/kube16
...
Helm init compatible with Kubernetes 1.16
6 years ago
Matthew Fisher
f1890b1ffa
Merge pull request #6518 from VilledeMontreal/feat-v2/dynCompDifferentHelms
...
v2: feat(comp) Dynamic completion to use same binary as main call
6 years ago
Yusuke Kuoka
926ec0ef5c
fixup! Merge branch 'master' into togglable-tiller-probe-endpoints
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
6 years ago
Matthew Fisher
17b53fb313
Merge pull request #4084 from adshmh/4082-fix-helm-output-leak-of-template-cmd-unit-tests
...
fixed output leak from template command unit tests
6 years ago
Marc Khouzam
1726142e29
feat(comp) Dynamic completion to use same binary as main call
...
The binary of Helm to use for dynamic completion should be the same
as the actual Helm binary being used. For example, if PATH points
to a version of helm v3, but the user calls a binary named helm2 to
use a renamed v2 version, then dynamic completion should also use helm2.
If not, in this example, the dynamic completion will use the
information returned by helm v3.
This improvement is particularly useful for users that will run both
helm v2 and helm v3 at the same time.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Matthew Fisher
e4f0f73921
Merge pull request #5680 from VilledeMontreal/fix/zshFlagBug
...
v2: fix(completion): --flag=val breaks zsh completion
6 years ago
Taylor Thomas
c8f5738442
Merge pull request #6381 from thomastaylor312/ref/cmd_output
...
Ref/cmd output
6 years ago
Matthew Fisher
17359e3f0d
Merge pull request #6499 from yuxiaobo96/helm-update6
...
fix typos
6 years ago
陈谭军
9d8a84ee3d
fix-up typo ( #6501 )
...
Signed-off-by: chentanjun <2799194073@qq.com>
6 years ago
yuxiaobo
58c004bb89
Improve the quality of annotations
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
6 years ago
Taylor Thomas
3e5b181a30
ref(cmd): Refactors output flag to reuse more code
...
This cuts down on the number of duplicate json/yaml marshaling blocks and
simplifies how to add printing to a function by using simple "container" structs
that know how to massage the data
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
6 years ago
Michael Schaefer
a52d6de9e1
flag for output json or yaml added in install.go, repo_list.go, search.go, status.go and upgrade.go.
...
unit test adapted for output json or yaml in install_test.go and search_test.go.
docs modified for new flag helm_install.md, helm_repo_list.md, helm_search.md and helm_upgrade.md
Signed-off-by: Michael Schaefer <michael.schaefer@sew-eurodrive.de>
6 years ago
Jerome Brette
16cfe346a3
Kubernetes 1.16: Improve upgrade support
...
Tested with versions:
- kubernetes v1.16.0
- kubernetes v1.15.4
- kubernetes v1.14.7
- kubernetes v1.13.11
- kubernetes v1.12.10
Signed-off-by: Jerome Brette <jbrette@gmail.com>
6 years ago
Marc Khouzam
eb838bff3a
Merge branch 'master' into fix/zshFlagBug
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
6 years ago
Jerome Brette
f127b7d73e
Kubernetes 1.16: Migrate Tiller deployment to apps/v1
...
- Convert Tiller Deployment from extensions/v1betax to apps/v1
- Update installation unit tests
- Add support for helm init --upgrade
Signed-off-by: Jerome Brette <jbrette@gmail.com>
6 years ago
Marc Khouzam
3ed073b2e0
v2: Dynamic completion for "helm repo" and "helm plugin" ( #6265 )
...
* feat(helm): Completion for helm repo remove
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
* feat(helm): Complete for helm plugin remove/update
helm repo remove <TAB> (will select from the names of configured repos)
helm plugin remove <TAB> (will select from names of installed plugins)
helm plugin update <TAB> (will select from names of installed plugins)
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
* feat(helm): Completion for helm repo update
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
6 years ago
Anton
540fe23b69
fix BusyBox sed ( #6327 )
...
BusyBox sed works the same way as GNU sed
Signed-off-by: tipok <me@tipok.pro>
6 years ago
Martin Hickey
cbb6c77754
Merge pull request #5978 from mentos1386/patch-1
...
feat(helm:create): allow absolute paths when specifying starter template path [master]
6 years ago
dzzg
4117b38ae6
cleanup: log message typo fix
...
Signed-off-by: dzzg <zhengguang.zhu@daocloud.io>
6 years ago
Tine Jozelj
5b67d6fbd9
feat(helm:create): allow absolute paths
...
If starter template path is an absolute path, it shouldn't
be prefixed with c.home.Starters() but rather be used as is.
Signed-off-by: Tine Jozelj <tine.jozelj@tjo.space>
6 years ago
Oleg Sidorov
70cd32c4ce
Fixed failing tests for helm installer
...
Signed-off-by: Oleg Sidorov <oleg.sidorov@booking.com>
6 years ago
ds-ms
b280fa5a7d
Adding extra debug logs
...
Signed-off-by: ds-ms <desattir@microsoft.com>
Using debug function instead
Signed-off-by: ds-ms <desattir@microsoft.com>
Removing [INFO] from the message
6 years ago
Matt Farina
6c88a429ff
Merge pull request #5890 from naseemkullah/sa
...
[helm create] Add service account to templates
6 years ago
Martin Hickey
3630a5325a
Merge pull request #5678 from pdecat/fix-helm-repo-add-concurrent
...
Fix issues with concurrent `helm repo add` commands
6 years ago
Naseem
a985f34b81
Add sa
...
Signed-off-by: Naseem <naseemkullah@gmail.com>
6 years ago
Deepak Sattiraju
c49ba7da85
feat(helm): adding --name to update single repo
...
Signed-off-by: Deepak Sattiraju <desattir@microsoft.com>
Lint
Signed-off-by: ds-ms <desattir@microsoft.com>
make docs
Signed-off-by: ds-ms <desattir@microsoft.com>
make docs
Signed-off-by: ds-ms <desattir@microsoft.com>
Signed-off-by: Deepak Sattiraju <desattir@microsoft.com>
using args instead of --name
Signed-off-by: ds-ms <desattir@microsoft.com>
Adding [repo_name] to use
Signed-off-by: ds-ms <desattir@microsoft.com>
Adding test
Signed-off-by: ds-ms <desattir@microsoft.com>
Adding positive test case
Signed-off-by: ds-ms <desattir@microsoft.com>
lint
Signed-off-by: ds-ms <desattir@microsoft.com>
Renaming
Signed-off-by: ds-ms <desattir@microsoft.com>
Updating repo_name to REPO_NAME
feat(helm): adding --name to update single repo
Signed-off-by: Deepak Sattiraju <desattir@microsoft.com>
Lint
Signed-off-by: ds-ms <desattir@microsoft.com>
make docs
Signed-off-by: ds-ms <desattir@microsoft.com>
make docs
Signed-off-by: ds-ms <desattir@microsoft.com>
Signed-off-by: Deepak Sattiraju <desattir@microsoft.com>
using args instead of --name
Signed-off-by: ds-ms <desattir@microsoft.com>
Adding [repo_name] to use
Signed-off-by: ds-ms <desattir@microsoft.com>
Adding test
Signed-off-by: ds-ms <desattir@microsoft.com>
Adding positive test case
Signed-off-by: ds-ms <desattir@microsoft.com>
lint
Signed-off-by: ds-ms <desattir@microsoft.com>
Renaming
Signed-off-by: ds-ms <desattir@microsoft.com>
Updating repo_name to REPO_NAME
6 years ago
Marc Khouzam
08650b22d4
Merge branch 'master' into fix/zshFlagBug
...
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
6 years ago