Commit graph

7994 commits

Author SHA1 Message Date
Robert Sirchia
4da004e2dc
removing old apis
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-02-25 15:15:06 -05:00
Robert Sirchia
841f4b1256
Merge pull request #30582 from helm/dependabot/go_modules/main/golang.org/x/crypto-0.35.0
build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0
2025-02-24 17:38:45 -05:00
dependabot[bot]
17adaa437a
build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.33.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.33.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 22:21:24 +00:00
Matt Farina
bff495510d
Merge pull request #30571 from yardenshoham/exec-no-output
feat: error out when post-renderer produces no output
2025-02-24 15:36:19 -05:00
Matt Farina
50469d702e
Merge pull request #30580 from mattfarina/releaseutil-to-release-util
Move pkg/releaseutil to pkg/release/util
2025-02-24 15:15:47 -05:00
Matt Farina
18ca7c1002
Move pkg/releaseutil to pkg/release/util
The releaseutil package was originally designed to work against a
generated codebase from a protobuf in Helm v2. This is when Helm
used gRPC to communicate to a server side component named Tiller.
When Helm moved everything client side, this package remained and
it supported the release package.

This change moves releaseutil to be a sub-packge of release. This
is part of the change to support apiVersion v3 charts which is
documented in HIP 20

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-02-24 14:58:51 -05:00
Yarden Shoham
ab926212d9
Apply suggestions from code review
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2025-02-24 07:26:12 +02:00
George Jenkins
a0c281c14d
Merge pull request #30568 from helm/dependabot/github_actions/main/ossf/scorecard-action-2.4.1
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
2025-02-23 19:31:08 -08:00
George Jenkins
ce4007fd1c
Merge pull request #30569 from helm/dependabot/github_actions/main/actions/upload-artifact-4.6.1
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
2025-02-23 19:30:40 -08:00
Felipe Santos
392ff93916
Fix flaky TestDedupeRepos (#30576)
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2025-02-23 11:51:33 -08:00
Joe Julian
0fcd1d33b3
Merge pull request #11112 from felipecrs/filter-dup-repos
perf(dep-up): do not update the same repo multiple times
2025-02-22 12:50:31 -08:00
Yarden Shoham
f475f3e1fd feat: error out when post-renderer produces no output
When the templating post-renderer produces no output, something went wrong so we error out.

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2025-02-22 13:05:21 +02:00
Scott Rigby
2cda65d444
Merge pull request #10309 from Bez625/main
Add hook annotation to output hook logs to client on error
2025-02-21 18:12:16 -05:00
dependabot[bot]
3d35e786c7
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...4cec3d8aa0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 21:59:44 +00:00
dependabot[bot]
5c648151d5
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](62b2cac7ed...f49aabe0b5)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 21:59:40 +00:00
Matt Farina
1382a2894a
Merge pull request #30567 from mattfarina/chartutil-to-chart-util
Moving chartutil to chart/util
2025-02-21 15:49:30 -05:00
Matt Farina
e60979b27a
Merge pull request #30566 from robertsirc/remove-config.go
remove unused config.go
2025-02-21 15:47:39 -05:00
Robert Sirchia
8dd279271e
remove unused config.go
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-02-21 15:33:24 -05:00
Matt Farina
5c0deec327
Moving chartutil to chart/util
chartutil was originally created to operate on protobufs which are
no longer part of Helm. The util package makes more sense to be
part of the chart package.

This change is part of the HIP 20 to create v3 charts and
explicitly call out v2 charts. The changes for this are in smaller
bite size changes.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-02-21 15:25:55 -05:00
Chris Berry
e5bc21c56b Refactor based on review comment
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 16:33:31 +00:00
Chris Berry
9791767baa Refactor based on review comment
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 16:16:26 +00:00
Chris Berry
6d30fa5990 Add HookOutputFunc and generic yaml unmarshaller
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 12:33:12 +00:00
Scott Rigby
52ac92fb69 clarify fix error message
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-02-21 12:31:08 +00:00
Scott Rigby
e8a76bc3eb fix err check
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-02-21 12:31:08 +00:00
Scott Rigby
3796c1f4a1 remove comments about previous functionality
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-02-21 12:31:08 +00:00
Scott Rigby
f729b9ade0 add short circuit return
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-02-21 12:31:08 +00:00
Chris Berry
243cb2e21f Update based on review comments
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 12:31:08 +00:00
Chris Berry
3d4e679d9f Update based on review comments
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 12:31:08 +00:00
Chris Berry
a55a477069 Fix lint
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 12:31:08 +00:00
Chris
3964f84ac8 Tidy up imports
Signed-off-by: Chris <bez625@gmail.com>
2025-02-21 12:31:07 +00:00
Chris Berry
cde407b7d1 Add hook annotations to output pod logs to client on success and fail
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 12:30:29 +00:00
George Jenkins
a780fa60ed
Merge pull request #13655 from LuBingtan/dev
feat: support multi-document values files
2025-02-20 14:37:52 -08:00
Felipe Santos
b1fd239167 Fix tests failing after removing repo normalization
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2025-02-20 16:59:04 -03:00
Felipe Santos
ecb5a2c9dd Fix variable name for linter
And restore trimSuffix instead of trimRight, which was a mistake.

Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2025-02-20 15:46:44 -03:00
Felipe Santos
281ccb0835 Do not store the normalized chart url
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2025-02-20 15:33:52 -03:00
Robert Sirchia
6436bc1e1e
Merge pull request #30562 from robertsirc/fix-roundtripper-error-handling
fixing error handling from a previous PR
2025-02-20 13:15:53 -05:00
Felipe Santos
bb6314adef Do not reassign repos variable
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2025-02-20 14:45:43 -03:00
Felipe Santos
44d53e7d49 Merge branch 'main' of https://github.com/helm/helm into filter-dup-repos 2025-02-20 14:40:13 -03:00
Robert Sirchia
8207fafe13
fixing error handling from a previous PR
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-02-20 12:13:59 -05:00
lubingtan
ef5614364b fix: replace mergeMaps call with loader.MergeMaps in MergeValues function
Signed-off-by: lubingtan <bingtanlu@gmail.com>
2025-02-20 08:13:54 +08:00
lubingtan
91cd72d0e4 fix: improve LoadValues function documentation
Signed-off-by: lubingtan <bingtanlu@gmail.com>
2025-02-20 08:08:20 +08:00
lubingtan
fb7221bc9a fix: add doc for func MergeMaps
Signed-off-by: lubingtan <bingtanlu@gmail.com>
2025-02-20 08:08:20 +08:00
lubingtan
3d84e00ce7 fix: use Reader interface as the input of LoadValues and enhance UT of LoadValues
Signed-off-by: lubingtan <bingtanlu@gmail.com>
2025-02-20 08:08:18 +08:00
lubingtan
92087f6e33 feat: support multi-document values files for default chart values
Signed-off-by: lubingtan <bingtanlu@gmail.com>
2025-02-20 08:07:46 +08:00
lubingtan
0d36cb664a feat: support multi-document values files
Signed-off-by: lubingtan <bingtanlu@gmail.com>
2025-02-20 08:06:41 +08:00
Matt Farina
8edc3ac024
Merge pull request #13471 from wangjingcun/main
Use a more direct and less error-prone return value
2025-02-19 16:04:02 -05:00
Matt Farina
69563be3d6
Merge pull request #30536 from helm/dependabot/go_modules/main/github.com/spf13/cobra-1.9.1
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1
2025-02-19 15:17:36 -05:00
dependabot[bot]
3d2c914a6d
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 20:12:17 +00:00
Matt Farina
2603390c2e
Merge pull request #30470 from gjenkins8/cleanup_repotest_server
Cleanup `repotest.Server` constructors
2025-02-19 15:10:37 -05:00
Robert Sirchia
53a4e18209
Merge pull request #30550 from mattfarina/update-cobra-cmd-output
Moving to SetOut and SetErr for Cobra
2025-02-19 15:07:47 -05:00