1230 Commits
Author SHA1 Message Date
Matt Butcher 62d6e4076b Change default repositories for Helm v2 (#8901)
* switch to new repository URLs

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* added warning each time old repository is noticed

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2020-10-19 14:44:16 -06:00
Matt Farina 01dc62ecfd Moving Tiller to new location
The tiller primary location is now GitHub Container Registry.
It is also replicatated to GCR, Docker Hub, and Quay.

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-10-14 09:35:55 -04:00
Jeff Knurek 242bd58066 also don't need the values.yaml in testdata
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
2020-08-11 15:56:58 +02:00
Jeff Knurek 77957fc764 remove unrequired files in testdata
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
2020-08-11 15:48:07 +02:00
Jeff Knurek cd90fb4319 revert the removal of strict param in functions for better backwards compatibility
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
2020-08-07 13:04:13 +02:00
Jeff Knurek a979ba8c58 fix: removed strict template errors from v2 linter
Signed-off-by: Jeff Knurek <knurek.stuff@gmail.com>
2020-07-26 16:00:15 +02:00
Martin Hickey 0499fb5987 Merge pull request #8310 from stantonxu/dev-v2
Add Warning when installing or upgrading a deprecated chart - replacing PR #8262
2020-06-26 09:01:27 +01:00
Matt Farina a03d3e34ac Adding init flad to skip adding repos
The stable charts repository is nearing the end of its life. Once
that has happened those who attempt to run helm init will get an
error. This flag provides a means to still use Helm v2 after the
stable charts repository is gone.

A secondary situation is that Helm v2 can be used in environmnets
without a network connection.

Closes #7868

Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-06-25 12:39:01 -04:00
Stanton Xu 416c97d221 Updated test cases
Signed-off-by: Stanton Xu <xjiefeng@gmail.com>
2020-06-19 17:23:39 -07:00
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>
2020-01-23 14:31:04 +00:00
Yury Fedorov dc2f5bcb33 Fix secure installation link in v2 (#6912)
Signed-off-by: yury <yury@panoply.io>
2020-01-09 10:53:55 +00:00
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>
2019-10-30 13:37:47 -04:00
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>
2019-10-25 00:24:57 +02:00
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
2019-10-23 17:27:30 -04:00
Karuppiah Natarajan 23926365a0 fix silent lint ignore for non existing packaged charts
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>
2019-10-23 09:23:40 +05:30
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>
2019-10-22 22:26:38 +02:00
Martin Hickey 7ca75251d6 Set output format when install flag on helm upgrade (#6722)
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2019-10-21 18:00:37 +01:00
Matthew Fisher 0a2d58457a fix(cmd): acquire file lock on repository.lock
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-17 14:51:32 -07:00
Matthew Fisher 91356c81eb fix style
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-10-08 14:08:49 -07:00
Jeff Knurek b94608388e TEST: add option to dump logs during helm test
Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
2019-10-08 13:30:45 -07:00
Taylor Thomas 4e8063b103 Merge pull request #5177 from adshmh/5150-lint-development-version-flag
Allow lint command to parse pre-release charts
2019-10-04 17:57:31 -06:00
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>
2019-10-04 11:20:48 -07:00
Ting-Wai ed8f17a889 Parameterize maximum number of tests pods to run in parallel (#6078)
Signed-off-by: Ting-Wai To <tingwai@bitgo.com>
2019-10-04 10:50:19 +01:00
Matthew Fisher a9fcff88b1 Merge pull request #5561 from mumoshu/togglable-tiller-probe-endpoints
feat: tiller probing endpoints can be disabled
2019-10-03 11:25:15 -07:00
Matt Farina 1bfe85ebd5 Merge pull request #5069 from adshmh/5044-add-app-version-to-history
add AppVersion column to the history command
2019-10-03 13:41:29 -04:00
Matthew Fisher 126ab055ae Merge pull request #3934 from jstoja/improve_search_regexp_doc
Add documentation to helm search --regexp (#3927)
2019-10-03 10:18:15 -07:00
Matt Farina a55af70ea8 Merge branch 'master' into 5044-add-app-version-to-history 2019-10-03 13:09:10 -04:00
Matthew Fisher 77a7bbb013 Merge pull request #6462 from keleustes/kube16
Helm init compatible with Kubernetes 1.16
2019-10-01 12:09:18 -07:00
Matthew Fisher f1890b1ffa Merge pull request #6518 from VilledeMontreal/feat-v2/dynCompDifferentHelms
v2: feat(comp) Dynamic completion to use same binary as main call
2019-10-01 09:08:09 -07:00
Yusuke Kuoka 926ec0ef5c fixup! Merge branch 'master' into togglable-tiller-probe-endpoints
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2019-10-01 09:00:45 +09:00
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
2019-09-30 13:53:09 -07:00
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>
2019-09-27 17:37:46 -04:00
Matthew Fisher e4f0f73921 Merge pull request #5680 from VilledeMontreal/fix/zshFlagBug
v2: fix(completion): --flag=val breaks zsh completion
2019-09-26 10:47:15 -07:00
Taylor Thomas c8f5738442 Merge pull request #6381 from thomastaylor312/ref/cmd_output
Ref/cmd output
2019-09-25 10:10:25 -06:00
Matthew Fisher 17359e3f0d Merge pull request #6499 from yuxiaobo96/helm-update6
fix typos
2019-09-25 07:47:38 -07:00
陈谭军 9d8a84ee3d fix-up typo (#6501)
Signed-off-by: chentanjun <2799194073@qq.com>
2019-09-25 14:10:51 +01:00
yuxiaobo 58c004bb89 Improve the quality of annotations
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-09-25 15:33:30 +08:00
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>
2019-09-24 15:50:50 -06:00
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>
2019-09-24 16:36:31 +02:00
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>
2019-09-20 16:58:49 +00:00
Marc Khouzam eb838bff3a Merge branch 'master' into fix/zshFlagBug
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2019-09-20 09:21:25 -04:00
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>
2019-09-20 13:10:57 +00:00
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>
2019-09-03 15:01:47 +01:00
Anton 540fe23b69 fix BusyBox sed (#6327)
BusyBox sed works the same way as GNU sed

Signed-off-by: tipok <me@tipok.pro>
2019-09-02 18:20:36 +01:00
Martin Hickey cbb6c77754 Merge pull request #5978 from mentos1386/patch-1
feat(helm:create): allow absolute paths when specifying starter template path [master]
2019-08-07 12:39:18 +01:00
dzzg 4117b38ae6 cleanup: log message typo fix
Signed-off-by: dzzg <zhengguang.zhu@daocloud.io>
2019-08-02 02:09:32 +00:00
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>
2019-07-16 14:47:20 +02:00
Oleg Sidorov 70cd32c4ce Fixed failing tests for helm installer
Signed-off-by: Oleg Sidorov <oleg.sidorov@booking.com>
2019-07-11 18:26:00 +02:00
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
2019-06-26 13:15:39 +05:30
Matt Farina 6c88a429ff Merge pull request #5890 from naseemkullah/sa
[helm create] Add service account to templates
2019-06-17 10:03:07 -04:00