Justen Stall
6aa19b8c92
more error wrapping uses
...
- replace os.IsNotExist with errors.Is and fs.ErrNotExist
- use %w directive
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
1 year ago
Justen Stall
b0944e8e7e
fix incorrect error return
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
1 year ago
Justen Stall
63cf42a843
fix: replace "github.com/pkg/errors" with stdlib "errors" package
...
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
1 year ago
Robert Sirchia
21568dee29
Merge pull request #13425 from MathieuCesbron/main
...
Fix typo "re-use" to "reuse"
1 year ago
Matt Farina
2aba8a1fcd
Merge pull request #13424 from wangjingcun/main
...
fix: fix label name
1 year ago
mathieu cesbron
fc17fc75e2
Fix typo "re-use" to "reuse"
...
Signed-off-by: mathieu cesbron <mathieu.rudy.cesbron@gmail.com>
1 year ago
wangjingcun
e4062e7e00
fix: fix label name
...
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
1 year 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>
1 year 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`
1 year 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>
1 year ago
Zach Burgess
0cc78c6ac3
Fix typo in pkg/lint/rules/chartfile_test.go
...
Signed-off-by: Zach Burgess <zachburg@google.com>
1 year ago
Suleiman Dibirov
f4f4a6b81f
fix(hooks): correct hooks delete order
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
1 year ago
Tianle Xu
a51ea6ec73
Allow tests to run on loong64
...
Signed-off-by: Tianle Xu <xtl@xtlsoft.top>
1 year ago
Andrew Block
717529a7e5
Merge pull request #13376 from helm/fix_oci_push_timestamp
...
fix: Use chart archive modifed time for OCI push
1 year ago
Robert Sirchia
5ae91e11ae
Merge pull request #13034 from mattclegg/issue-9507
...
ISSUE-9507: ADD `application/gzip,application/octet-stream` accept header
1 year ago
George Jenkins
85499b2fdc
Merge pull request #13400 from wangjingcun/main
...
chore: fix some function names in comment
1 year ago
wangjingcun
de9e138ec1
chore: fix some function names in comment
...
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
1 year ago
Robert Sirchia
7e6b34d7dd
removing duplicate empty test
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
16a4e37f20
fixing unit test as per Matt
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
a205af755e
adding more unit test
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Robert Sirchia
999b85145a
adding test coverage for ready.go
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
1 year ago
Matt Farina
8f59c8e807
Merge pull request #9713 from andreaskaris/issue9710
...
fix(helm): Retry Conflict error for createResource, deleteResource
1 year 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>
1 year ago
Jon Olsson
ca584648ee
minor spelling fix
...
Signed-off-by: Jon Olsson <jon.olsson@sequitor.se>
1 year ago
Matt Farina
54be5511e6
Merge pull request #12788 from vtrenton/main
...
changed Itoa to Sprintf to allow int64 value preventing 2038 overflow
1 year 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>
1 year ago
Trent V.
f9183a522a
Merge branch 'helm:main' into main
1 year ago
Trent V
4ede1c9c37
Merge branch 'helm:main' into main
1 year ago
George Jenkins
f5fcae8356
verbs
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
1 year ago
George Jenkins
02ef83fe28
fix: Use chart archive modifed time for OCI push
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
1 year ago
Matt Farina
145d12f82f
Merge pull request #13177 from bb-Ricardo/main
...
Improves handling of Helm index with broken helm chart versions #13176
1 year ago
ricardo.bartels@telekom.de
cdbef2b7d1
Revering change unrelated to issue #13176
...
Signed-off-by: ricardo.bartels@telekom.de <ricardo.bartels@telekom.de>
1 year ago
Matt Farina
2da76a06e7
Merge pull request #13345 from AdamKorcz/fuzzzzz2
...
add chart fuzz tests
1 year ago
Matt Farina
7ad309791c
Merge pull request #13344 from AdamKorcz/fuzzzz1
...
add strvals fuzzer from cncf-fuzzing
1 year ago
Matt Farina
eecb848dcb
Merge pull request #13301 from NathanBaulch/typos
...
Fix typos
1 year 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`
1 year ago
Adam Korczynski
b203cc17c8
add strvals fuzzer from cncf-fuzzing
...
Signed-off-by: Adam Korczynski <adam@adalogics.com>
1 year ago
Adam Korczynski
e432f39ea7
add chart fuzz tests
...
Signed-off-by: Adam Korczynski <adam@adalogics.com>
1 year ago
Nathan Baulch
ef85fa7f2d
Grammar fixes
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Nathan Baulch
ff9dd262e3
Fix typos
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
1 year ago
Matt Farina
b7c29d776f
Merge pull request #13329 from chenrui333/fix-test-chart
...
fix: fix testchart lint errors
1 year ago
Rui Chen
ddead08eb8
fix: fix testchart lint errors
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 year ago
Fred Heinecke
30ce031d77
Merge branch 'main' into feat/add-toyamlpretty-1
1 year 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
1 year ago
Joe Julian
1c73ea44ad
Merge remote-tracking branch 'upstream/main' into feat/toml-parsing
...
Signed-off-by: Joe Julian <me@joejulian.name>
1 year 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>
1 year 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>
1 year ago
Matt Farina
36ae5168bd
Merge pull request #13256 from robertsirc/issue-13229
...
Updating the inline documentation.
1 year 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
1 year ago
Joe Julian
333754479b
Merge pull request #11726 from Nordix/fixDepUpPerformance
...
Improve helm dependency update performance
1 year ago