Matthew Fisher
2ae4937e42
Merge pull request #10762 from yxxhero/fix_registry_config_issue
...
fix --registry-config issue
4 years ago
Matthew Fisher
e54e24cc90
Merge pull request #10852 from IamMayankThakur/main
...
Fixed helm uninstall not deleting the resource.
4 years ago
Matt Farina
1db28a2311
bump version to v3.9.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 7ceeda6c58 )
4 years ago
Matt Farina
2cd709c4a6
Merge pull request #10106 from presztak/lint_quiet_flag
...
feat(*): add --quiet flag to 'helm lint'
4 years ago
Andrew Seigner
bd7c97f786
Bump k8s packages from 0.23.6 to 0.24.0
...
This required modifying the `kube.Factory` interface to conform to
changes in k8s' `cmdutil.Factory` interface:
fe3772890f
Signed-off-by: Andrew Seigner <andrew@sig.gy>
4 years ago
Martin Hickey
8d3f9a475d
Merge pull request #10767 from marquiz/fixes/unit-test
...
repo: fix repo merge unit test
4 years ago
Martin Hickey
c477d697ec
Merge pull request #10458 from SimonAlling/remove-AssertGoldenBytes
...
Remove AssertGoldenBytes test helper
4 years ago
Martin Hickey
f1b1958e68
Merge pull request #10085 from werf/fix_no_deployed_releases_on_history_limit_hit
...
"... has no deployed releases" error when release history contains only failed releases and history limit reached
4 years ago
Martin Hickey
511df9e710
Merge pull request #10201 from SgtCoDFish/signerrcheck
...
Add more error checks during the signing process
4 years ago
Matthew Fisher
49819b4ef7
Merge pull request #10861 from bacongobbler/gobuild
...
replace +build with go:build
4 years ago
Martin Hickey
a368bde6c8
Merge pull request #10850 from greed42/install-helm-version
...
Populate Capabilities.HelmVersion during install
4 years ago
Matthew Fisher
2878cc8079
replace +build with go:build
...
go:build is the new conditional compilation directive used to specify build constraints. It was introduced in Go 1.17. It is meant to replace the old +build directives.
Now that go.mod points to Go 1.17 we no longer need to support both
build flags.
Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
4 years ago
Matt Farina
4d2e21e860
Merge pull request #10832 from true-north-engineering/main
...
Fixing downloader plugin error handling
4 years ago
Matt Farina
3fdb7cac01
Merge pull request #10110 from zegerius/main
...
Fix value precedence
4 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>
4 years ago
Graham Reed
82a2a2e85c
Populate Capabilities.HelmVersion during install
...
Signed-off-by: Graham Reed <greed@7deadly.org>
4 years ago
yxxhero
eb5f128f9e
Merge branch 'main' into fix_registry_config_issue
4 years ago
Zoran Krleza
06c39c8079
Fixing downloader plugin error handling
...
Signed-off-by: Zoran Krleza <zoran.krleza@true-north.hr>
4 years ago
Timofey Kirillov
da8e7d2532
fix: "... has no deployed releases" error when release history contains only failed releases and history limit reached
...
Fixed old releases rotation procedure to not require a deployed release to exists.
An error will arise when there are no successfully deployed release yet, but releases history limit has been reached. In such situation helm will refuse to upgrade release anymore with "... has no deployed releases" error.
Furthermore, release rotation procedure already expecting lastDeployedRelease to be either nil, or not nil. So it is assumed that deployed release may exist or may not and these both outcomes were already expected as a valid situation rather than a failure.
Reworked storage_test.go TestStorageRemoveLeastRecentWithError test case: use mocked driver and test release creation procedure does not shadows errors from the underneath release rotation procedure.
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
4 years ago
Scott Rigby
634b18295a
Merge pull request #10568 from monostream/feature/fix-connection-leak
...
HTTPGetter: Reuse http transport
4 years ago
Markus Lehtonen
7a08426869
repo: fix repo merge unit test
...
Enable asserts that accidentally excluded from normal test flow.
Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>
4 years ago
yxxhero
9f199b6517
fix --registry-config issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
4 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
4 years ago
Matthias Fehr
cab1fc87d4
Dont modify provided transport
...
Signed-off-by: Matthias Fehr <matthias@monostream.com>
4 years ago
Matthias Fehr
7d22040e66
Pass http getter as pointer in tests
...
Signed-off-by: Matthias Fehr <matthias@monostream.com>
4 years ago
Matthias Fehr
2acda0cc5b
Add docs block
...
Signed-off-by: Matthias Fehr <matthias@monostream.com>
4 years ago
Matthias Fehr
45367ca9bf
Add transport option and tests
...
Signed-off-by: Matthias Fehr <matthias@monostream.com>
4 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>
4 years ago
stephanECD
0361dc8568
Add IngressClass to manifests to be (un)installed
...
Signed-off-by: StephanECD <87023735+stephanECD@users.noreply.github.com>
4 years ago
Martin Hickey
df7c1c39bc
Merge pull request #10514 from tanguofu/main
...
fea(#10511 ): add --post-renderer-args to support assign args to PostR…
4 years ago
Matt Farina
1ec0aacb88
Merge pull request #10486 from gridai/fix-install-leak
...
Fix install memory/goroutine leak
4 years ago
Josh Dolitsky
59dbda915f
Merge pull request #10558 from sabre1041/bearer-token-oci
...
Management of bearer tokens for tag listing
4 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>
4 years ago
guofutan
d12170b3f2
fix: change postRendererArgs to Slice Type and use args...
...
Signed-off-by: guofutan <guofutan@tencent.com>
4 years ago
guofutan
44423fb2ca
fix: keep the API: postrender.NewExec and Add NewExecWithArgs
...
Signed-off-by: guofutan <guofutan@tencent.com>
4 years ago
guofutan
1aab7eb3a1
fix: keep the API: postrender.NewExec and Add NewExecWithArgs
...
Signed-off-by: guofutan <guofutan@tencent.com>
4 years ago
guofutan
46222c5c00
fea( #10511 ): add --post-renderer-args to support assign args to PostRenderer exec
...
Signed-off-by: guofutan <guofutan@tencent.com>
4 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>
4 years ago
Martin Hickey
9975d62525
Handle Hungarian notation issue
...
Issue with smallCaps combination e.g. kCaFile
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
4 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>
4 years ago
Josh Dolitsky
86a94f2f53
Merge pull request #10578 from sabre1041/oci-tag-evaluation
...
Limits need to call tag API when explicit version specified
4 years ago
Andrew Block
0677a156bc
Limits need to call tag API when explicit version specified
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
4 years ago
Martin Hickey
21952fccc4
Merge pull request #10574 from Juneezee/refactor/os.ReadDir
...
refactor: use `os.ReadDir` for lightweight directory reading
4 years ago
Eng Zer Jun
e12f3570b5
refactor: use `os.ReadDir` for lightweight directory reading
...
`os.ReadDir` was added in Go 1.16 as part of the deprecation of `ioutil`
package. It is a more efficient implementation than `ioutil.ReadDir` as
stated here https://pkg.go.dev/io/ioutil#ReadDir .
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
4 years ago
Matthias Fehr
aa33f4fdd8
Reuse http transport
...
Signed-off-by: Matthias Fehr <matthias@monostream.com>
4 years ago
Andrew Block
c8a2559236
Management of bearer tokens for tag listing
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
4 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 )
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