Josh Dolitsky
59dbda915f
Merge pull request #10558 from sabre1041/bearer-token-oci
...
Management of bearer tokens for tag listing
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
Samuel Maftoul
850da38265
Set go version to 1.17 to match CI
...
Signed-off-by: Samuel Maftoul <samuel.maftoul@gmail.com>
3 years ago
guofutan
1a7a73b47b
fix: support empty args with --post-renderer-args
...
Signed-off-by: guofutan <guofutan@tencent.com>
3 years ago
Martin Hickey
dff9ade9d6
Merge pull request #10575 from hickeyma/chore/replace-golint
...
chore (lint): Replace golint with revive
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
44423fb2ca
fix: keep the API: postrender.NewExec and Add NewExecWithArgs
...
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
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
Martin Hickey
9975d62525
Handle Hungarian notation issue
...
Issue with smallCaps combination e.g. kCaFile
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.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
Josh Dolitsky
86a94f2f53
Merge pull request #10578 from sabre1041/oci-tag-evaluation
...
Limits need to call tag API when explicit version specified
3 years ago
Andrew Block
0677a156bc
Limits need to call tag API when explicit version specified
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Martin Hickey
21952fccc4
Merge pull request #10574 from Juneezee/refactor/os.ReadDir
...
refactor: use `os.ReadDir` for lightweight directory reading
3 years ago
Matt Farina
3c498fa961
Merge pull request #10551 from mattfarina/bump-version-v3.8
...
bump version to v3.8.0
3 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>
3 years ago
Matthias Fehr
aa33f4fdd8
Reuse http transport
...
Signed-off-by: Matthias Fehr <matthias@monostream.com>
3 years ago
Andrew Block
c8a2559236
Management of bearer tokens for tag listing
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
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
Matt Farina
c137bfb68b
Merge pull request #10546 from dperaza4dustbit/move_oci_out_experimental
...
Move oci out experimental
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
91a46ad14f
move paths for updated directory location
...
Signed-off-by: Thomas Runyon <runyontr@gmail.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
a27c468c82
Merge pull request #10547 from mattfarina/fix-panic
...
Fix panic with OCI for install, upgrade, and show
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
Scott Rigby
390dacae32
Merge pull request #10527 from scottrigby/oci-deppendency-version-range-support
...
OCI version range support
3 years ago
Scott Rigby
808a2d1908
Change underscore (_) back to plus (+) for Helm
...
Signed-off-by: Scott Rigby <scott@r6by.com>
3 years ago
Scott Rigby
ee382eb169
Remove unneeded assignment
...
Signed-off-by: Scott Rigby <scott@r6by.com>
3 years ago
Scott Rigby
bd754a054c
Bring exact version check logic from IndexFile.Get into registry tag check
...
Signed-off-by: Scott Rigby <scott@r6by.com>
3 years ago
Andrew Block
1a9cb93551
Handling name of OCI file
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
dependabot[bot]
583c4acbcf
chore(deps): bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 0.4.1 to 1.0.0.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v0.4.1...v1.0.0 )
---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Andrew Block
23989f9e24
Updates to chart downloader
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Scott Rigby
ba4020770e
Fix linting
...
Signed-off-by: Scott Rigby <scott@r6by.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
Matt Farina
c7b2a9d487
Fixing issue where OCI handling early causes a bad message
...
Note, there is OCI handling later in the funtion that should
handle the situation instead.
Closes #10534
Signed-off-by: Matt Farina <matt.farina@suse.com>
3 years ago
Scott Rigby
1b3e0bc46a
Update oras-go to v1.1.0
...
Signed-off-by: Scott Rigby <scott@r6by.com>
3 years ago
Andrew Block
9c3b000889
Fixed bad commit
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Andrew Block
828941b273
Readded resolver OCI logic
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Andrew Block
291c17fcc5
Enabled auth and support http registries for OCI
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
3 years ago
Scott Rigby
4c8a3faaa2
Fix import
...
Signed-off-by: Scott Rigby <scott@r6by.com>
3 years ago