Matt Farina
61d3eca55c
Move pkg/chart to pkg/chart/v2 to prepare for v3 charts
...
This change moves the code, updates the import locations, and
adds a doc.go file to document what the v2 package is for.
This is part of HIP 20 for v3 charts
Signed-off-by: Matt Farina <matt.farina@suse.com>
7 months ago
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
7 months ago
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>
7 months ago
Matt Farina
bff495510d
Merge pull request #30571 from yardenshoham/exec-no-output
...
feat: error out when post-renderer produces no output
7 months ago
Matt Farina
50469d702e
Merge pull request #30580 from mattfarina/releaseutil-to-release-util
...
Move pkg/releaseutil to pkg/release/util
7 months ago
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>
7 months ago
Yarden Shoham
ab926212d9
Apply suggestions from code review
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
7 months ago
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
7 months ago
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
7 months ago
Felipe Santos
392ff93916
Fix flaky TestDedupeRepos ( #30576 )
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
7 months ago
Joe Julian
0fcd1d33b3
Merge pull request #11112 from felipecrs/filter-dup-repos
...
perf(dep-up): do not update the same repo multiple times
7 months ago
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>
7 months ago
Scott Rigby
2cda65d444
Merge pull request #10309 from Bez625/main
...
Add hook annotation to output hook logs to client on error
7 months ago
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>
7 months ago
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>
7 months ago
Matt Farina
1382a2894a
Merge pull request #30567 from mattfarina/chartutil-to-chart-util
...
Moving chartutil to chart/util
7 months ago
Matt Farina
e60979b27a
Merge pull request #30566 from robertsirc/remove-config.go
...
remove unused config.go
7 months ago
Robert Sirchia
8dd279271e
remove unused config.go
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
7 months ago
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>
7 months ago
Chris Berry
e5bc21c56b
Refactor based on review comment
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
Chris Berry
9791767baa
Refactor based on review comment
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
Chris Berry
6d30fa5990
Add HookOutputFunc and generic yaml unmarshaller
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
Scott Rigby
52ac92fb69
clarify fix error message
...
Signed-off-by: Scott Rigby <scott@r6by.com>
7 months ago
Scott Rigby
e8a76bc3eb
fix err check
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
7 months ago
Scott Rigby
3796c1f4a1
remove comments about previous functionality
...
Signed-off-by: Scott Rigby <scott@r6by.com>
7 months ago
Scott Rigby
f729b9ade0
add short circuit return
...
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
7 months ago
Chris Berry
243cb2e21f
Update based on review comments
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
Chris Berry
3d4e679d9f
Update based on review comments
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
Chris Berry
a55a477069
Fix lint
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
Chris
3964f84ac8
Tidy up imports
...
Signed-off-by: Chris <bez625@gmail.com>
7 months ago
Chris Berry
cde407b7d1
Add hook annotations to output pod logs to client on success and fail
...
Signed-off-by: Chris Berry <bez625@gmail.com>
7 months ago
George Jenkins
a780fa60ed
Merge pull request #13655 from LuBingtan/dev
...
feat: support multi-document values files
7 months ago
Felipe Santos
b1fd239167
Fix tests failing after removing repo normalization
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
7 months ago
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>
7 months ago
Felipe Santos
281ccb0835
Do not store the normalized chart url
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
7 months ago
Robert Sirchia
6436bc1e1e
Merge pull request #30562 from robertsirc/fix-roundtripper-error-handling
...
fixing error handling from a previous PR
7 months ago
Felipe Santos
bb6314adef
Do not reassign repos variable
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
7 months ago
Felipe Santos
44d53e7d49
Merge branch 'main' of https://github.com/helm/helm into filter-dup-repos
7 months ago
Robert Sirchia
8207fafe13
fixing error handling from a previous PR
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
7 months ago
lubingtan
ef5614364b
fix: replace mergeMaps call with loader.MergeMaps in MergeValues function
...
Signed-off-by: lubingtan <bingtanlu@gmail.com>
7 months ago
lubingtan
91cd72d0e4
fix: improve LoadValues function documentation
...
Signed-off-by: lubingtan <bingtanlu@gmail.com>
7 months ago
lubingtan
fb7221bc9a
fix: add doc for func MergeMaps
...
Signed-off-by: lubingtan <bingtanlu@gmail.com>
7 months ago
lubingtan
3d84e00ce7
fix: use Reader interface as the input of LoadValues and enhance UT of LoadValues
...
Signed-off-by: lubingtan <bingtanlu@gmail.com>
7 months ago
lubingtan
92087f6e33
feat: support multi-document values files for default chart values
...
Signed-off-by: lubingtan <bingtanlu@gmail.com>
7 months ago
lubingtan
0d36cb664a
feat: support multi-document values files
...
Signed-off-by: lubingtan <bingtanlu@gmail.com>
7 months ago
Matt Farina
8edc3ac024
Merge pull request #13471 from wangjingcun/main
...
Use a more direct and less error-prone return value
7 months ago
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
7 months ago
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>
7 months ago
Matt Farina
2603390c2e
Merge pull request #30470 from gjenkins8/cleanup_repotest_server
...
Cleanup `repotest.Server` constructors
7 months ago
Robert Sirchia
53a4e18209
Merge pull request #30550 from mattfarina/update-cobra-cmd-output
...
Moving to SetOut and SetErr for Cobra
7 months ago