Commit graph

2845 commits

Author SHA1 Message Date
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
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
2603390c2e
Merge pull request #30470 from gjenkins8/cleanup_repotest_server
Cleanup `repotest.Server` constructors
2025-02-19 15:10:37 -05:00
Robert Sirchia
9408978517
Merge pull request #30294 from Zhanweelee/supports-json-arguments
Supports json arguments
2025-02-19 15:04:05 -05:00
hugehope
001d2978b6 refactor: using slices.Contains to simplify the code
Signed-off-by: hugehope <cmm7@sina.cn>
2025-02-18 15:20:46 +08:00
wangjingcun
8b8cc94822 Use a more direct and less error-prone return value
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2025-02-11 23:20:27 +08:00
Jonathan
37020c32fa
Update pkg/cli/values/options.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Jonathan <zhanweelee@gmail.com>
2025-02-09 11:11:00 +08:00
George Jenkins
234d171da5 Cleanup repotest Server constructors
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-02-08 18:51:37 -08:00
Zhanwei Li
274d43c10d feat: Enhance JSON value parsing in Helm CLI
- Add support for parsing full JSON objects with `--set-json`
- Update documentation to clarify JSON value input formats
- Improve test coverage for value parsing scenarios
- Modify `MergeValues` to handle both key=value and JSON object formats

Signed-off-by: Zhanwei Li <zhanweelee@gmail.com>
2025-02-08 10:04:14 +08:00
George Jenkins
3253059438
Merge pull request #13535 from helm/refactor_tlsutil
refactor: tlsutil use options pattern
2025-02-05 13:23:50 -08:00
George Jenkins
2d0091c278
Merge pull request #13665 from gjenkins8/rm_WaitAndGetCompletedPodPhase
chore: Remove unused `WaitAndGetCompletedPodPhase`
2025-02-05 13:21:51 -08:00
George Jenkins
547f49abf6
Merge pull request #13579 from gjenkins8/rm_chart_repo_find_repo_dups
refactor: Remove duplicate `FindChartIn*RepoURL` functions
2025-02-05 13:21:35 -08:00
George Jenkins
814ede5427
Merge pull request #13656 from gjenkins8/repotest_server_localhost
fix: Bind repotest server to `localhost`
2025-02-03 15:59:07 -08:00
George Jenkins
d637595735 chore: Remove unused WaitAndGetCompletedPodPhase
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-02-03 15:55:23 -08:00
Terry Howe
5a7046b9bf chore(oci): upgrade to ORAS v2
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
Co-authored-by: Zoran Regvart <zoran@regvart.com>
2025-02-02 07:28:41 -07:00
George Jenkins
c68e345663 fix: Bind repotest server to localhost
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-25 11:31:46 -08:00
George Jenkins
0ce267d907 more options
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-24 20:44:45 -08:00
George Jenkins
7ea1d1df66 refactor: Remove duplicate FindChartIn*RepoURL funcs
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-24 20:26:39 -08:00
Robert Sirchia
963d680ae9
Merge pull request #13533 from althmoha/#12987
fix: (toToml) renders int as float
2025-01-24 15:16:59 -05:00
George Jenkins
415c7e10fd
Merge pull request #13516 from TerryHowe/new-lint
chore: fix problems with latest lint
2025-01-23 18:30:23 -08:00
Scott Rigby
d53fb5058e
Merge pull request #12879 from ryanhockstad/subchart-null
bugfix: Override subcharts with null values
2025-01-23 15:00:41 -05:00
petercover
605b1a0cf7 chore: fix some comments
Signed-off-by: petercover <raowanxiang@outlook.com>
2025-01-23 00:38:38 +08:00
Althaf M
88f7dc5329 merge: fixing merge conflicts
Signed-off-by: Althaf M althafm@outlook.com
Signed-off-by: Althaf M <althafm@outlook.com>
2025-01-22 09:32:47 +00:00
Althaf M
57d85993cb remove debug statements
Signed-off-by: Althaf M <althafm@outlook.com>
2025-01-22 09:32:47 +00:00
Althaf M
10d267ed8b fix: (toToml) renders int as float
This commit fixes the issue where the yaml.Unmarshaller converts all int values into float64, this passes in option to decoder,
which enables conversion of int into .
Signed-off-by: Althaf M <althafm@outlook.com>
2025-01-22 09:32:47 +00:00
Robert Sirchia
57e94e5bd9
Merge pull request #13538 from godhanipayal/godhanipayal/ErrorLogging
Add Contextual Error Messages to RunWithContext
2025-01-17 15:42:15 -05:00
Robert Sirchia
ba467525ab
Merge pull request #13633 from mattfarina/cleanup-securejoin
Ensuring the file paths are clean prior to passing to securejoin
2025-01-17 15:16:58 -05:00
Ryan Hockstad
326c1e3f67 add test for nullifying nested global value
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
2025-01-17 07:29:48 -05:00
Matt Farina
1e256b6198
Merge pull request #13583 from jiashengz/fix-gvk
fix: check group for resource info match
2025-01-15 21:39:33 +01:00
George Jenkins
53a4a59eb9
Merge pull request #13600 from gjenkins8/cleanup_NewShowWithConfig
cleanup: `NewShowWithConfig` -> `NewShow`
2025-01-14 12:42:54 -08:00
Matt Farina
35a9ead998
Ensuring the file paths are clean prior to passing to securejoin
securejoin v0.4.0 made a possibly breaking change. Only clean paths
are safe to pass to SecureJoin or they could return an error or
have the wrong path. The details are in the release notes for v0.4.0.

This change ensures the paths are clean prior to passing to SecureJoin.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-01-14 15:30:44 -05:00
Payal Godhani
d82929ac2c
Merge branch 'main' into godhanipayal/ErrorLogging
Signed-off-by: Payal Godhani <godhanipayal@gmail.com>
2025-01-08 20:06:20 -08:00
George Jenkins
bd897c96fb
Merge pull request #13601 from gjenkins8/cleanup_values_lint
cleanup: Remove superseded 'lint/rules.Values' function
2025-01-08 16:46:19 -08:00
Matt Farina
0513abf363 Updating the internal version to v4
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-01-08 15:36:18 -08:00
George Jenkins
0cf0fc29a7 more tidy
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-08 15:36:18 -08:00
George Jenkins
77fa61ad39 refactor: Consolidate lint package Run() functions
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-08 15:36:18 -08:00
George Jenkins
ca5a9e69c0 refactor: Remove redundant NewPullWithOpts
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-08 15:36:18 -08:00
Payal Godhani
f8a08145fb Resolving conflict
-e
Signed-off-by: Payal Godhani <godhanipayal@gmail.com>
2025-01-08 15:36:06 -08:00
Terry Howe
bcbf68f206 fix: make ORAS reference private
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-01-08 15:34:21 -08:00