Tomas Pizarro Moreno
952d034ed0
fix: remove deadcode
...
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
(cherry picked from commit e97c436a86 )
4 years ago
Tomas Pizarro Moreno
02028a27a8
fix: helm package tests
...
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
(cherry picked from commit 0963617b9b )
4 years ago
Tomas Pizarro Moreno
bc3d14cbc5
fix: helm package with dependency update for charts with OCI dependencies
...
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
(cherry picked from commit e02aeab0e9 )
4 years ago
Kay Yan
9499df01bb
Fix typo
...
Unset the env var before func return in Unit Test
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
(cherry picked from commit 141f2dd501 )
4 years ago
root
18fa1d739f
add legal name check
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
(cherry picked from commit 679e14cd21 )
4 years ago
Marc Khouzam
e62f5cac1e
feat(comp): Shell completion for OCI
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago
Matt Farina
d493f29c32
bump version to v3.8.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
4 years ago
David Peraza
9661e39dce
Moving uploader and pusher out of action into pkg
...
Signed-off-by: David Peraza <dperaza@redhat.com>
4 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>
4 years ago
David Peraza
9f869c6b21
Removing all the checks for oci experimental flag
...
Signed-off-by: David Peraza <dperaza@redhat.com>
4 years ago
Thomas Runyon
353d74e967
refactor internal/experimental/registry to pkg/registry
...
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
4 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>
4 years ago
Matt Farina
d02f13c1bf
Merge pull request #10424 from davidxia/patch1
...
docs: Clarify use of --set-file
4 years ago
Martin Hickey
39ca699ca7
Merge pull request #9119 from ErmakovDmitriy/master
...
Added flag --list-repo
4 years ago
Matt Farina
d9ffe37d37
Merge pull request #9536 from mengjiao-liu/add-install-validate
...
validate release name during install
4 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>
4 years ago
mengjiao.liu
160da867d0
validate release name during install
...
Signed-off-by: mengjiao.liu <mengjiao.liu@daocloud.io>
4 years ago
Bridget Kromhout
21e1cd6027
Bringing over an edit from the helm-www repo
...
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
4 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>
4 years ago
Matthew Fisher
c6961a9a78
Merge pull request #9794 from j6s/task/missing-dependency-message
...
Add hint to missing dependency message
4 years ago
Josh Dolitsky
889c70b729
Add nolint comments
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 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>
4 years ago
Brandon Cole
fe6f348490
fix a SIGSEGV similar to issue 1347
...
Signed-off-by: Brandon Cole <brandon.cole@datadoghq.com>
4 years ago
Alexey Igrychev
5753f61ae3
docs: fix typo Charts.yaml
...
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
4 years ago
Matt Farina
e6a92c4b62
bump version to 3.7
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 7048ef6b30aa23abdcfcaf523cb4c42dff85add9)
4 years ago
Matt Farina
accf82ba1c
Merge pull request #9180 from Moser-ss/feature-handle-SIGINT
...
Handle SIGTERMs during helm upgrade and helm install
4 years ago
Matt Farina
2062a59566
Merge pull request #9702 from mikeshng/uninstall-wait
...
feat: add optional boolean '--wait' flag to 'uninstall' command.
4 years ago
Josh Dolitsky
caa97158d0
Revert moving registry actions back to pkg/
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
77750962d5
Move registry actions back to pkg/
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Josh Dolitsky
336c7862e5
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Dmitrii Ermakov
144048d5fa
Replace cli flag --list-repo with --list-repo-url
...
Signed-off-by: Dmitrii Ermakov <demonihin@gmail.com>
4 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>
4 years ago
Stephane Moser
101370af3d
Wrap error
...
To make the install comand consistent with upgrade comand when handling errors
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
4 years ago
Josh Dolitsky
0121f6a328
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Mike Ng
655bdcd2fd
feat: add optional boolean '--wait' flag to 'uninstall' command.
...
If set, 'uninstall' command will wait until all the resources are deleted before returning.
It will wait for as long as --timeout
closes #2378
Signed-off-by: Mike Ng <ming@redhat.com>
4 years ago
Matt Farina
9443a7ead4
Merge pull request #10033 from avorima/show-crds-command
...
Implement show crds subcommand
4 years ago
Martin Hickey
991744bd3e
Merge pull request #10024 from hickeyma/feat/fail-on-repo-update
...
feat(repo update): Add flag for failing command if any update of a repo fails
4 years ago
Dmitrii Ermakov
69996fe309
Merge remote-tracking branch 'upstream/main'
...
Signed-off-by: Dmitrii Ermakov <demonihin@gmail.com>
4 years ago
Dmitrii Ermakov
5b101ec504
Reintroduce --list-repo flag in search repo
...
Signed-off-by: Dmitrii Ermakov <demonihin@gmail.com>
4 years ago
Marc Khouzam
e2836ff65b
feat(comp): Add descriptions for repo completion
...
Ref: HIP 0008
When completing a repo name, extra information will be shown.
For example:
$ helm repo remove <TAB>
bitnami -- https://charts.bitnami.com/bitnami
center -- https://repo.chartcenter.io
stable -- https://kubernetes-charts.storage.googleapis.com
$ helm install myrelease <TAB>
./ -- Relative path prefix to local chart
/ -- Absolute path prefix to local chart
bitnami/ -- https://charts.bitnami.com/bitnami
center/ -- https://repo.chartcenter.io
file:// -- Chart local URL prefix
grafana/ -- https://grafana.github.io/helm-charts
https:// http:// -- Chart URL prefix
oteemocharts/ -- https://oteemo.github.io/charts
prometheus-community/ -- https://prometheus-community.github.io/helm-charts
stable/ -- https://charts.helm.sh/stable
$ helm show all <TAB>
bitnami -- https://charts.bitnami.com/bitnami
center -- https://repo.chartcenter.io
stable -- https://kubernetes-charts.storage.googleapis.com
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago
Matthew Fisher
8d8a27ed1f
Merge pull request #9980 from schra/feat/password-stdin
...
feat(helm): add --password-stdin to `helm repo add`
4 years ago
John Howard
82a2abf512
Update oras-go to v0.4.0
...
Signed-off-by: John Howard <howardjohn@google.com>
4 years ago
Mario Valderrama
fae7853c2a
Implement show crds subcommand
...
This subcommand will display manifests under `crds/` if some exist.
This also changes the behaviour of `show all` to include CRDs.
Signed-off-by: Mario Valderrama <woldy401@gmail.com>
4 years ago
André Schröder
2131f4cba8
[fix concern] implement test
...
Signed-off-by: André Schröder <andre.schroedr@gmail.com>
4 years ago
André Schröder
6515ea84e2
[fix concern] use io.ReadAll instead of ioutil.ReadAll
...
Signed-off-by: André Schröder <andre.schroedr@gmail.com>
4 years ago
Martin Hickey
ccb0cf63e4
Add flag for failing if repo update fails
...
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
4 years ago
Stephane Moser
4bc901c95f
Resolve PR comments
...
Fix typos
Remove condition arround time.Sleep
Because a negative or zero duration causes Sleep to return immediately.
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
4 years ago
Josh Dolitsky
f0a528ec05
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
4 years ago
Marc Khouzam
efe2638f87
feat(comp): Move to Cobra's bash completion V2
...
Cobra's bash completion V2 has the following benefits:
- aligned with the completion logic for the other shells
- provides completion descriptions as for the other shells
- uses a 300-line shell script (versus 4K lines for V1)
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago
Marc Khouzam
c6dfb490ab
feat(comp): Add support for powershell completion
...
Cobra provides powershell auto-completion out of the box. This commit
teaches helm how to use it.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
4 years ago