Matthew Fisher
5946457ce9
Merge pull request #9675 from ndeloof/main
...
Migrate to oras-go library
3 years ago
longkai
2deb641efd
fix(typo): fix typo of storage doc
...
Signed-off-by: longkai <im.longkai@gmail.com>
3 years ago
Valentin Flaux
3daaea0a1c
feat(pkg/engine): expose subcharts scope in parent
...
Expose the scope (.Values, .Charts, .Releases etc.) of subcharts to the parent scope.
Signed-off-by: Valentin Flaux <vflaux@oui.sncf>
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
4026190e7b
Revert change in PrintingKubeClient
...
Signed-off-by: Stephane Moser <moser.sts@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
Josh Dolitsky
594ec40709
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Marc Khouzam
6a3daaa7aa
fix(tests): Remove unnecessary test
...
Testing that a bad completion directive was being replaced by the
default one was actually testing Cobra's behaviour. This is unnecessary
especially since that behaviour changed in the 1.2.0 release. Helm
tests should focus on testing Helm's behaviour.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Marc Khouzam
95b80ed80b
chore(deps): Update to Cobra 1.2.1
...
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Josh Dolitsky
30a8ce5986
Reverse DependingChart test logic, add debug logs
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
241f23d72a
Better NewOCIPusher test, add ORAS link
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
d296ddf026
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
ea41e790a5
Merge pull request #9763 from sathieu/patch-1
...
Ensure RawPath match Path when resolving reference
3 years ago
jayonlau
fc5473f762
Clean up extra spaces
...
Clean up extra spaces, although these errors are not important, they affect the code specification.
Signed-off-by: jayonlau <jayonlau@gmail.com>
3 years ago
Martin Hickey
433b90c4b6
Merge pull request #9929 from goodfirstissue/main
...
refactor: use os instead of ioutil's ReadDir
3 years ago
Josh Dolitsky
4bb28b78d9
Merge pull request #9925 from bloodorangeio/github-actions
...
Add build-pr github actions workflow
3 years ago
Marc Khouzam
6951cd5076
feat(cmd): Allow to specify which repos to update
...
This is a port to helm v3 of #5182 .
A little more flexible than the v2 version, it allows to specify a list
of repositories that should be updated.
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
3 years ago
Josh Dolitsky
28f44b8269
Revert "Use official golangci-lint action"
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
07a25a26f6
Use official golangci-lint action
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
b16091a01a
verify golangci-lint sha256 checksum
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Kally Fox
f9b1445b63
refactor: use os instead of ioutil's ReadDir
...
Signed-off-by: Kally Fox <kallydev@gmail.com>
3 years ago
Josh Dolitsky
8202ccd699
Remove LoginResult/LogoutResult types
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
7605db034d
Use setup-go v2
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
2f63045f25
Add build-pr github actions workflow
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
593eac8876
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
21251378b4
Merge pull request #9870 from mattfarina/fix-9859
...
Set Helm as manager for managedFields
3 years ago
Matt Farina
8855488272
Merge pull request #9736 from cndoit18/fix-issue-9348
...
fix(dep update): helm dep update is not respecting the "version" stip…
3 years ago
Adam Reese
53263c6fb7
feat(linter): check for nested resource-policy annotations
...
The 'helm.sh/resource-policy' annotation is only supported on top level
objects. The annotation is ignored if given on a nested object within a
list.
Ref #9829
Signed-off-by: Adam Reese <adam@reese.io>
3 years ago
Adam Reese
862e2b255c
Merge pull request #9916 from adamreese/fix/golangci-timout
...
fix(ci-lint): increase timeout for golangci-lint
3 years ago
Adam Reese
d1da9e757e
fix(ci-lint): increase timeout for golangci-lint
...
Signed-off-by: Adam Reese <adam@reese.io>
3 years ago
小龙同学
cf0c6fed51
fix(doc): fix kube client interface doc. ( #9882 )
...
- add missing interface methods doc.
- fix some wrong english grammar.
Signed-off-by: longkai <im.longkai@gmail.com>
3 years ago
Stephane Moser
c6c4157c43
Move locks from global var to the structs
...
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Stephane Moser
660183d659
Add test for atomic upgrade and install when it is interrupted
...
Add tests when the install release is Interrupted and the flag Wait or Atomic is set
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Stephane Moser
2fa339b25d
Add test for Upgrade Release Interrupted
...
Implement timer in the fake.go and printer.go to simulate the wait period
Add test Upgrade Release when it is interruped with SIGINT
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Stephane Moser
3434053d38
Hande SIGINT in install command
...
Replicate the same logic in that was implementd in the upgrade action to handle SIGINT
Rename mutexes to isolate the variables
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Stephane Moser
d7833eb2b0
Refactor logic
...
Use mutex to lock the action to report the upstream function
Wrap logic to report to upstream function in the function reportToPerformUpgrade
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Stephane Moser
027cea48bf
Handle SIGTERM
...
Change the logic to release Upgrade to handle SIGTERMs
Extract logic to 2 goroutine so it is possible to handle SIGTERMS and the release flow
Fix go style
Signed-off-by: Stephane Moser <moser.sts@gmail.com>
3 years ago
Josh Dolitsky
4884ca0059
revert change related to reading prov file
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
ec84339d44
return errors directly, less lines of code
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
fc98f2e6a3
add checkOCI helper method
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
a38f56c692
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
eb99434597
Merge pull request #9871 from mattfarina/logging-for-creds
...
Fix the url being set by WithURL on the getters
3 years ago
Josh Dolitsky
230e37ca52
remove hardcoded oci strings, add constant/util
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Matt Farina
385fcae1ba
Adding test for user/pass without repo on Helm install
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Josh Dolitsky
bfa5036a1a
consolidate registry source files
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
4d948b4a06
return err directly from pusher.Push
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
faf7fc5efd
use version.GetUserAgent
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
31588e7908
do not re-use err
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago
Josh Dolitsky
1809cc0509
Merge branch 'main' of github.com:helm/helm into hip-6
...
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
3 years ago