Dmitry Chepurovskiy
f96acb4fc8
Adding support merging new custom labels with original release labels during upgrade
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
f1700e86d1
Added unit tests for implemented install/upgrade labels logic
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
6afad6bb61
Added upgrade --install labels argument support
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Dmitry Chepurovskiy
6ef79e432b
Add labels support for install action with secret storage backend
...
Signed-off-by: Dmitry Chepurovskiy <dm3ch@dm3ch.net>
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
2 years ago
Matthew Fisher
2ae4937e42
Merge pull request #10762 from yxxhero/fix_registry_config_issue
...
fix --registry-config issue
3 years ago
Matthew Fisher
e54e24cc90
Merge pull request #10852 from IamMayankThakur/main
...
Fixed helm uninstall not deleting the resource.
3 years ago
Matt Farina
2cd709c4a6
Merge pull request #10106 from presztak/lint_quiet_flag
...
feat(*): add --quiet flag to 'helm lint'
3 years ago
Martin Hickey
c477d697ec
Merge pull request #10458 from SimonAlling/remove-AssertGoldenBytes
...
Remove AssertGoldenBytes test helper
3 years ago
Mayank Thakur
fe00c9296d
Fixed helm uninstall not deleting the resource.
...
* Added `nil` check for returned err.
* Return in case of `err` when deleting the release
Signed-off-by: Mayank Thakur <thakurmayank88@gmail.com>
3 years ago
Graham Reed
82a2a2e85c
Populate Capabilities.HelmVersion during install
...
Signed-off-by: Graham Reed <greed@7deadly.org>
3 years ago
yxxhero
9f199b6517
fix --registry-config issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
3 years ago
Matthew Fisher
e9abdc5efe
Merge pull request #9751 from cndoit18/fix-issue-9747
...
fix(rollback): fix helm rollback doesn't have meta.helm.sh annotations
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
Matt Farina
1ec0aacb88
Merge pull request #10486 from gridai/fix-install-leak
...
Fix install memory/goroutine leak
3 years ago
Piotr Resztak
383086d397
feat(*): add --quiet flag to 'helm lint'
...
Quiet flag reduce the verbosity, such that the only text
that is written to the console is lint warnings/errors
Closes #9994
Signed-off-by: Piotr Resztak <piotr.resztak@gmail.com>
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
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
Andrew Block
1a9cb93551
Handling name of OCI file
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Scott Rigby
4d50526a2b
Move OCI tag semver range logic from OCIGetter to ChartDownloader
...
Signed-off-by: Scott Rigby <scott@r6by.com>
3 years ago
Andrew Block
4f62d3dc1b
Started work on 'helm pull'
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Andrew Block
df98e18eb7
Working oci code without providing versions
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
mengjiao.liu
160da867d0
validate release name during install
...
Signed-off-by: mengjiao.liu <mengjiao.liu@daocloud.io>
3 years ago
Neven Miculinic
5059ae843e
Fix install memory/goroutine leak
...
Signed-off-by: Neven Miculinic <neven.miculinic@gmail.com>
3 years ago
Simon Alling
dd5db7bc40
Remove AssertGoldenBytes test helper
...
The test suite is thereby simplified somewhat.
Signed-off-by: Simon Alling <alling.simon@gmail.com>
3 years ago
Jerome Küttner
9a492f8240
Channel should remain open if there is still a routine that wants to write into it
...
Signed-off-by: Jerome Küttner <j.kuettner@mittwald.de>
3 years ago
Jerome Küttner
ad3d2cc8ef
Fix memory leak in upgrade action
...
fixes helm/helm#10439
Signed-off-by: Jerome Küttner <j.kuettner@mittwald.de>
3 years ago
cndoit18
94dc605968
fix(rollback): fix helm rollback doesn't have meta.helm.sh annotations
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
3 years ago
Matthew Fisher
a8d33e7df4
Merge pull request #9918 from cndoit18/fix-issue-9915
...
fix(install): fix 9915
3 years ago
Timofey Kirillov
7f68bfa1fa
fix: added resource info into the validation error
...
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
3 years ago
Guangwen Feng
9b7a45a384
Fix a golint issue caused by typo
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
3 years ago
Alexey Igrychev
5753f61ae3
docs: fix typo Charts.yaml
...
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
3 years ago
cndoit18
da15d96a68
fix(install): if subcharts are disabled, the CRD for subcharts should not be installed
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
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
Mike Ng
75fe8883cc
Rename newly introduced interface to InterfaceExt
...
Signed-off-by: Mike Ng <ming@redhat.com>
3 years ago
Mike Ng
d51a61f9ab
Introduce a new interface for WaitForDelete() to avoid breaking backwards compatibility
...
Signed-off-by: Mike Ng <ming@redhat.com>
3 years ago
Josh Dolitsky
0121f6a328
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 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>
3 years ago
Matt Farina
0ff53945bf
Fixing issue where helm show all fails to show crds when no readme
...
Closes #10058
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Matt Farina
9443a7ead4
Merge pull request #10033 from avorima/show-crds-command
...
Implement show crds subcommand
3 years ago
John Howard
82a2abf512
Update oras-go to v0.4.0
...
Signed-off-by: John Howard <howardjohn@google.com>
3 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>
3 years ago
Stephane Moser
c62ce12bed
Refactor SIGTERM logic
...
Use context to handle SIGTERM in the cmd/helm instead of pkg/action
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Nicolas De Loof
663c569887
Migrate to oras-go library
...
see https://github.com/deislabs/oras/pull/265
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
3 years ago
Stephane Moser
7bfb2a3602
Improve tests
...
Rename the package time
Redesgin the logic to make a FakeKubeClient wait for a ammount time.
Remove unneed logic in the PrintingKubeClient
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Stephane Moser
2164e3f26c
Rename time dependecy
...
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago