Martin Hickey
ee3f270e1e
Merge pull request #10453 from SimonAlling/remove-runTestActionCmd
...
Remove runTestActionCmd and use runTestCmd instead
3 years ago
Matthew Fisher
f34005b00e
Merge pull request #10590 from guyboltonking/gbk-fix-lockfile-suffix
...
Correctly handle repository data file paths that contain a component with the same suffix as the data file
3 years ago
Matthew Fisher
175278e88f
Merge pull request #10461 from sabre1041/dependency-update-upgrade
...
Honor --dependency-update flag in upgrade command
3 years ago
Matt Farina
87826fb5c9
Merge pull request #10609 from tompizmor/fix-package-with-oci-deps
...
fix: helm package with dependency update for charts with OCI dependencies
3 years ago
Matt Farina
7cd8586e84
Merge pull request #10462 from yank1/feature/add-legal-name-check
...
add legal repo name check
3 years ago
Eng Zer Jun
2e3e22a003
test: use `T.TempDir` to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Martin Hickey
df7c1c39bc
Merge pull request #10514 from tanguofu/main
...
fea(#10511 ): add --post-renderer-args to support assign args to PostR…
3 years ago
Tomas Pizarro Moreno
e97c436a86
fix: remove deadcode
...
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
3 years ago
Tomas Pizarro Moreno
0963617b9b
fix: helm package tests
...
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
3 years ago
Tomas Pizarro Moreno
e02aeab0e9
fix: helm package with dependency update for charts with OCI dependencies
...
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
3 years ago
guofutan
1a7a73b47b
fix: support empty args with --post-renderer-args
...
Signed-off-by: guofutan <guofutan@tencent.com>
3 years ago
guofutan
04e79e936d
fix: fix args name in postrender/exec_test.go and error if order in postRendererArgsSlice
...
Signed-off-by: guofutan <guofutan@tencent.com>
3 years ago
guofutan
d12170b3f2
fix: change postRendererArgs to Slice Type and use args...
...
Signed-off-by: guofutan <guofutan@tencent.com>
3 years ago
guofutan
1aab7eb3a1
fix: keep the API: postrender.NewExec and Add NewExecWithArgs
...
Signed-off-by: guofutan <guofutan@tencent.com>
3 years ago
guofutan
46222c5c00
fea( #10511 ): add --post-renderer-args to support assign args to PostRenderer exec
...
Signed-off-by: guofutan <guofutan@tencent.com>
3 years ago
Martin Hickey
f0fd37d2c5
Replace golint with revive
...
golint which is used as one of the sublinters in golangci-lint is deprecated.
It is replaced with revive which is a drop-in replacement.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
Co-authored-by: Martin Mulholland <mmulholl@redhat.com>
3 years ago
Guy Bolton King
8b1c28427f
Make repo_add.go only replace the last suffix in the path when generating a lockfile
...
Signed-off-by: Guy Bolton King <guy@waftex.com>
3 years ago
Guy Bolton King
4367fe0c1e
Make repo_add_test.go fail by inserted .yaml into path
...
Signed-off-by: Guy Bolton King <guy@waftex.com>
3 years ago
Guy Bolton King
ad6b4fe210
Add extra directories to path used in repo_add_test.go
...
Signed-off-by: Guy Bolton King <guy@waftex.com>
3 years ago
Marc Khouzam
c7e1f9b046
feat(comp): Shell completion for OCI
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Matt Farina
0c8320b685
bump version to v3.8.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit d493f29c32
)
3 years ago
David Peraza
9661e39dce
Moving uploader and pusher out of action into pkg
...
Signed-off-by: David Peraza <dperaza@redhat.com>
3 years ago
David Peraza
7cab1a09e3
Move all the remainder module out of experimental.
...
All the experimental modules were moved to pkg/action
Signed-off-by: David Peraza <dperaza@redhat.com>
3 years ago
David Peraza
9f869c6b21
Removing all the checks for oci experimental flag
...
Signed-off-by: David Peraza <dperaza@redhat.com>
3 years ago
Thomas Runyon
353d74e967
refactor internal/experimental/registry to pkg/registry
...
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
3 years ago
Matt Farina
548ec55cf9
Fix panic with OCI for install, upgrade, and show
...
When range support for OCI went in via #10527 it created a situation
where some lookups for a chart could cause a panic. This change
makes sure the registry client is available to lookup OCI charts
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Matt Farina
d02f13c1bf
Merge pull request #10424 from davidxia/patch1
...
docs: Clarify use of --set-file
3 years ago
Martin Hickey
39ca699ca7
Merge pull request #9119 from ErmakovDmitriy/master
...
Added flag --list-repo
3 years ago
Matt Farina
d9ffe37d37
Merge pull request #9536 from mengjiao-liu/add-install-validate
...
validate release name during install
3 years ago
Marc Khouzam
b8d3535991
feat(comp): Allow fuzzy matching during completion
...
We had made the assumption that when doing shell completion, we only
needed choices that had for *prefix* what the user had typed.
However, the zsh and fish shells have a more advanced matching system
which first matches on prefix, but if no match is found, then does
more advanced matching attempts, such as sub-strings; fish even matches
on descriptions of completions.
For example,
helm status nginx<tab>
would match releases such as
ingress-nginx
ingress-nginx-release
as long as no release had a prefix of "nginx".
Such fuzzy matching can make completion even more useful for users in
cases where identical prefixes are common.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
mengjiao.liu
160da867d0
validate release name during install
...
Signed-off-by: mengjiao.liu <mengjiao.liu@daocloud.io>
3 years ago
Kay Yan
141f2dd501
Fix typo
...
Unset the env var before func return in Unit Test
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
3 years ago
root
679e14cd21
add legal name check
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
3 years ago
Andrew Block
797a8cd524
Honor --dependency-update flag in upgrade command
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Simon Alling
0f15b01dfb
Remove runTestActionCmd and use runTestCmd instead
...
`runTestCmd` is identical to `runTestActionCmd` except that it
* runs the command multiple times if the `repeat` property is greater
than zero,
* calls its storage `storage` instead of `store`,
* fails if the `Create` method returns an error, and
* logs a "running cmd" message.
This is most easily demonstrated by copying the functions to their own
files and diffing the files with this command:
git diff --no-index --ignore-space-change --color-words=. runTestActionCmd.go runTestCmd.go
Also, `runTestCmd` is used 32 times; `runTestActionCmd` only 1.
Signed-off-by: Simon Alling <alling.simon@gmail.com>
3 years ago
Bridget Kromhout
21e1cd6027
Bringing over an edit from the helm-www repo
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
3 years ago
David Xia
13d86143f8
docs: Clarify use of --set-file
...
and fix non-idiomatic English.
replaces https://github.com/helm/helm-www/pull/1239
Signed-off-by: David Xia <dxia@spotify.com>
3 years ago
Matthew Fisher
c6961a9a78
Merge pull request #9794 from j6s/task/missing-dependency-message
...
Add hint to missing dependency message
3 years ago
Josh Dolitsky
889c70b729
Add nolint comments
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Martin Hickey
ea1b1f5a07
Use buffered channel for signal notification
...
Refer to https://pkg.go.dev/os/signal#Notify for more details.
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
3 years ago
Brandon Cole
fe6f348490
fix a SIGSEGV similar to issue 1347
...
Signed-off-by: Brandon Cole <brandon.cole@datadoghq.com>
3 years ago
Alexey Igrychev
5753f61ae3
docs: fix typo Charts.yaml
...
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
3 years ago
Matt Farina
e6a92c4b62
bump version to 3.7
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 7048ef6b30aa23abdcfcaf523cb4c42dff85add9)
3 years ago
Matt Farina
accf82ba1c
Merge pull request #9180 from Moser-ss/feature-handle-SIGINT
...
Handle SIGTERMs during helm upgrade and helm install
3 years ago
Matt Farina
2062a59566
Merge pull request #9702 from mikeshng/uninstall-wait
...
feat: add optional boolean '--wait' flag to 'uninstall' command.
3 years ago
Josh Dolitsky
caa97158d0
Revert moving registry actions back to pkg/
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
77750962d5
Move registry actions back to pkg/
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
336c7862e5
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Dmitrii Ermakov
144048d5fa
Replace cli flag --list-repo with --list-repo-url
...
Signed-off-by: Dmitrii Ermakov <demonihin@gmail.com>
3 years ago
Ed Carrel
bc1fefa9f3
Fix HELM_DRIVER docs for sql option
...
Option that works is `sql`, not `postgres`.
Probably not a commonly used value, since no one has caught this until now.
Signed-off-by: Ed Carrel <edward@carrel.org>
3 years ago