Zoran Regvart
156e562f38
chore(oci): migrate to ORAS Golang library v2
...
Updates from `oras.land/oras-go` to `oras.land/oras-go/v2`. The main
user facing change is that the `--plain-http` parameter is now required
even when accessing OCI registries running on `localhost`.
I'm new to this codebase and some tests needed to be adjusted to match
the new dependency, please look over the test changes to see if there
are any issues with those.
Fixes #11821
Signed-off-by: Zoran Regvart <zoran@regvart.com>
2 years ago
Robert Sirchia
21568dee29
Merge pull request #13425 from MathieuCesbron/main
...
Fix typo "re-use" to "reuse"
2 years ago
Matt Farina
2aba8a1fcd
Merge pull request #13424 from wangjingcun/main
...
fix: fix label name
2 years ago
mathieu cesbron
fc17fc75e2
Fix typo "re-use" to "reuse"
...
Signed-off-by: mathieu cesbron <mathieu.rudy.cesbron@gmail.com>
2 years ago
wangjingcun
e4062e7e00
fix: fix label name
...
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2 years ago
Taylor Jasko
6f2f7d4781
Updating subchart load error to be more descriptive
...
In the event some malformed folders/files make its way into the
`charts/` directory meant for subcharts, it is possible one may see an
error message like the below:
```
Error: error unpacking foo in app: Chart.yaml file is missing
```
This error is not very descriptive, as it doesn't reference where on
disk `Chart.yaml` is missing. In the event this happens, this error is
being updated to include that `Chart.yaml` is missing for the `foo`
subchart.
Without this updated error messaging, one would need to look into Helm's
codebase to troubleshoot what exactly is wrong.
Signed-off-by: Taylor Jasko <taylor@taylorjasko.com>
2 years ago
Robert Sirchia
106e2f98e3
Merge pull request #13418 from alex-kattathra-johnson/issue-13417
...
Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
2 years ago
Alex Johnson
9fd943b481
Add tests to `helm/pkg/kube/client_test.go` to cover `wait.go`
...
Signed-off-by: Alex Johnson <alex.kattathra.johnson@gmail.com>
2 years ago
Zach Burgess
0cc78c6ac3
Fix typo in pkg/lint/rules/chartfile_test.go
...
Signed-off-by: Zach Burgess <zachburg@google.com>
2 years ago
Suleiman Dibirov
f4f4a6b81f
fix(hooks): correct hooks delete order
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
2 years ago
Tianle Xu
a51ea6ec73
Allow tests to run on loong64
...
Signed-off-by: Tianle Xu <xtl@xtlsoft.top>
2 years ago
Andrew Block
717529a7e5
Merge pull request #13376 from helm/fix_oci_push_timestamp
...
fix: Use chart archive modifed time for OCI push
2 years ago
Robert Sirchia
5ae91e11ae
Merge pull request #13034 from mattclegg/issue-9507
...
ISSUE-9507: ADD `application/gzip,application/octet-stream` accept header
2 years ago
George Jenkins
85499b2fdc
Merge pull request #13400 from wangjingcun/main
...
chore: fix some function names in comment
2 years ago
wangjingcun
de9e138ec1
chore: fix some function names in comment
...
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2 years ago
Robert Sirchia
7e6b34d7dd
removing duplicate empty test
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Robert Sirchia
16a4e37f20
fixing unit test as per Matt
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Robert Sirchia
a205af755e
adding more unit test
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Robert Sirchia
999b85145a
adding test coverage for ready.go
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Matt Farina
8f59c8e807
Merge pull request #9713 from andreaskaris/issue9710
...
fix(helm): Retry Conflict error for createResource, deleteResource
2 years ago
Andreas Karis
79a1f2c801
fix(helm): Retry Conflict error for createResource, deleteResource
...
kubernetes might at any time throw 409 Conflict Error codes. Clients
are supposed to retry when this happens. As an example, see
kubernetes/issues/67761 where such an issues might happen when the
cluster manipulates a projects's ResourceQuotas.
Catch such Conflict Errors on createResource and deleteResource and
retry before giving up. Due to the more complex logic and focus on
kubernetes/issues/67761, this patch purposefully omits possibly
needed changes to updateResource and instead defers them to another
patch if required in the future.
Closes issue #9710
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
2 years ago
Jon Olsson
ca584648ee
minor spelling fix
...
Signed-off-by: Jon Olsson <jon.olsson@sequitor.se>
2 years ago
Matt Farina
54be5511e6
Merge pull request #12788 from vtrenton/main
...
changed Itoa to Sprintf to allow int64 value preventing 2038 overflow
2 years ago
Luis Davim
ab3c589809
chore: Make retryingRoundTripper type public
...
Make retryingRoundTripper type public to allow being used in other
projects
fixes : #13052
Signed-off-by: Luis Davim <luis.davim@gmail.com>
2 years ago
Trent V.
f9183a522a
Merge branch 'helm:main' into main
2 years ago
Trent V
4ede1c9c37
Merge branch 'helm:main' into main
2 years ago
George Jenkins
f5fcae8356
verbs
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2 years ago
George Jenkins
02ef83fe28
fix: Use chart archive modifed time for OCI push
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2 years ago
Matt Farina
145d12f82f
Merge pull request #13177 from bb-Ricardo/main
...
Improves handling of Helm index with broken helm chart versions #13176
2 years ago
ricardo.bartels@telekom.de
cdbef2b7d1
Revering change unrelated to issue #13176
...
Signed-off-by: ricardo.bartels@telekom.de <ricardo.bartels@telekom.de>
2 years ago
Matt Farina
2da76a06e7
Merge pull request #13345 from AdamKorcz/fuzzzzz2
...
add chart fuzz tests
2 years ago
Matt Farina
7ad309791c
Merge pull request #13344 from AdamKorcz/fuzzzz1
...
add strvals fuzzer from cncf-fuzzing
2 years ago
Matt Farina
eecb848dcb
Merge pull request #13301 from NathanBaulch/typos
...
Fix typos
2 years ago
Matt Farina
d45439f2e9
Merge pull request #11923 from Bhargav-InfraCloud/helm-create-deprication-tests
...
test(create): Add test to check deprecated `apiVersion`s in resource templates created by `helm create`
2 years ago
Adam Korczynski
b203cc17c8
add strvals fuzzer from cncf-fuzzing
...
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2 years ago
Adam Korczynski
e432f39ea7
add chart fuzz tests
...
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2 years ago
Nathan Baulch
ef85fa7f2d
Grammar fixes
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2 years ago
Nathan Baulch
ff9dd262e3
Fix typos
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2 years ago
Matt Farina
b7c29d776f
Merge pull request #13329 from chenrui333/fix-test-chart
...
fix: fix testchart lint errors
2 years ago
Rui Chen
ddead08eb8
fix: fix testchart lint errors
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
2 years ago
Fred Heinecke
30ce031d77
Merge branch 'main' into feat/add-toyamlpretty-1
2 years ago
Joe Julian
ff4877e696
Merge pull request #13224 from sttts/sttts-fix-apiext-registration
...
kube/client: add to global client-go scheme in init func
2 years ago
Joe Julian
1c73ea44ad
Merge remote-tracking branch 'upstream/main' into feat/toml-parsing
...
Signed-off-by: Joe Julian <me@joejulian.name>
2 years ago
Matt Farina
c81bd8912e
Revert "Improve helm dependency update performance"
...
The change in #11726 caused a regression where `helm dependency udpate`
stopped working. The format of the internal representation of the data
changed causing errors of "non-absolute URLs should be in form of
repo_name/path_to_chart". See #13324 for more details.
Since this change is in released Helm and it's a regression, reverting
the original change was the fastest and safest route to deliver a
fix as quickly as possible.
Closes #13324
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Matt Farina
d644da6205
bump version to v3.16.0
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 0d439e1a09 )
Signed-off-by: Matt Farina <matt.farina@suse.com>
2 years ago
Matt Farina
36ae5168bd
Merge pull request #13256 from robertsirc/issue-13229
...
Updating the inline documentation.
2 years ago
Andrew Block
a6f5844fb4
Merge pull request #13231 from dnskr/helm-create-drop-old-kubernetes-support
...
ref(create): drop old Kubernetes versions support in Ingress template
2 years ago
Joe Julian
333754479b
Merge pull request #11726 from Nordix/fixDepUpPerformance
...
Improve helm dependency update performance
2 years ago
Robert Sirchia
b92cc927d1
fixing changes as per requested.
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2 years ago
Robert Sirchia
b98952fb01
Merge branch 'helm:main' into issue-13229
2 years ago