Commit graph

2815 commits

Author SHA1 Message Date
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
Terry Howe
22f86e5a62 fix: issue with helm template and oci chart
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-01-08 15:34:21 -08:00
Terry Howe
633e71614e feat: allow installation by OCI digest
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-01-08 15:34:21 -08:00
Matt Farina
f08e2d14bb Updating to helm.sh/helm/v4
Since Helm is going through breaking changes with Helm v4, the version path to
Helm needs to be updated.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-01-08 15:34:20 -08:00
dnskr
c55b7ca400 ref(create): don't render empty resource fields
Signed-off-by: Denis Krivenko <dnskrv88@gmail.com>
Signed-off-by: dnskr <dnskrv88@gmail.com>
2025-01-08 15:34:19 -08:00
Matt Farina
dc26e5b3e2 Update to Go 1.23
Multiple changes were made to pass linting. Some Go built-in names
are being used for variables (e.g., min). This happens in the Go
source itself including the Go standard library and is not always
a bad practice.

To handle allowing some built-in names to be used the linter config
is updated to allow (via opt-in) some names to pass. This allows us
to still check for re-use of Go built-in names and opt-in to any
new uses.

There were also several cases where a value was checked for nil
before checking its length when this is already handled by len()
or the types default value. These were cleaned up.

The license validation was updated because it was checking everything
in the .git directory including all remote content that was local.
The previous vendor directory was from a time prior to Go modules
when Helm handled dependencies differently. It was no longer needed.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-01-08 15:34:19 -08:00
Matt Farina
090d3e9579
Merge pull request #13611 from mattfarina/version-v4
Updating the internal version to v4
2025-01-07 18:07:27 +01:00
George Jenkins
a8d39e6a17
Merge pull request #13576 from gjenkins8/consolidate_lint_run_functions
refactor: Consolidate lint package Run() functions
2025-01-07 08:41:18 -08:00
George Jenkins
5d13b0cac3
Merge pull request #13577 from gjenkins8/gjenkins/rm_pull_with_opts
refactor: Remove redundant `NewPullWithOpts`
2025-01-07 08:37:00 -08:00
Matt Farina
27bcda42dd
Updating the internal version to v4
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-01-07 11:32:44 -05:00
George Jenkins
1c807df5ba cleanup: Remove superceeded 'lint/rules.Values' function
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-05 14:05:12 -08:00
George Jenkins
8468de42ed cleanup: NewShowWithConfig -> NewShow
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-05 10:16:31 -08:00
George Jenkins
3b9cce9669 cleanup: Remove 'ProcessDependenciesWithMerge'
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-05 10:09:16 -08:00
Ryan Hockstad
ef2eb55283 Add test case for removing an entire object
Signed-off-by: Ryan Hockstad <ryanhockstad@gmail.com>
2025-01-02 22:19:19 -05:00
Scott Rigby
60fcce18d1 Tests for bugfix: Override subcharts with null values #12879
- Add consistency for null test in given values, parent chart, subchart, and
  sub-sub-chart
- Remove bar null test to keep consistent with boat=null at top level

Signed-off-by: Scott Rigby <scott@r6by.com>
2025-01-02 21:17:30 -05:00
Matt Farina
f65eaf35ce
Merge pull request #12690 from TerryHowe/oci-install-digest
feat: OCI install by digest
2025-01-01 17:49:14 +01:00
Jiasheng Zhu
f5d488122b fix: check group for resource info match
Closes: #13582

Signed-off-by: Jiasheng Zhu <gnehsaijuhz@hotmail.com>
2024-12-31 01:49:57 +00:00
George Jenkins
88da89085e refactor: Remove redundant NewPullWithOpts
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2024-12-27 21:19:58 -08:00
George Jenkins
edabef668a more tidy
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2024-12-27 21:17:35 -08:00
George Jenkins
63623665ae refactor: Consolidate lint package Run() functions
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2024-12-27 21:12:48 -08:00
Matt Farina
2236294119 Updating to helm.sh/helm/v4
Since Helm is going through breaking changes with Helm v4, the version path to
Helm needs to be updated.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-12-26 16:33:51 -05:00
George Jenkins
b97ed6545a
Merge pull request #13232 from dnskr/helm-create-dont-render-empty-resource-fields
ref(create): don't render empty resource fields
2024-12-19 16:39:32 -08:00
Matt Farina
5727f56a96
Update to Go 1.23
Multiple changes were made to pass linting. Some Go built-in names
are being used for variables (e.g., min). This happens in the Go
source itself including the Go standard library and is not always
a bad practice.

To handle allowing some built-in names to be used the linter config
is updated to allow (via opt-in) some names to pass. This allows us
to still check for re-use of Go built-in names and opt-in to any
new uses.

There were also several cases where a value was checked for nil
before checking its length when this is already handled by len()
or the types default value. These were cleaned up.

The license validation was updated because it was checking everything
in the .git directory including all remote content that was local.
The previous vendor directory was from a time prior to Go modules
when Helm handled dependencies differently. It was no longer needed.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-12-19 10:27:38 -05:00
Payal Godhani
5b18f525ed Fixing a typo
-e
Signed-off-by: Payal Godhani <godhanipayal@gmail.com>
2024-12-16 21:27:20 -08:00
Payal Godhani
34cd8341c3 Add Contextual Error Messages to RunWithContext
-e
Signed-off-by: Payal Godhani <godhanipayal@gmail.com>
2024-12-16 21:07:56 -08:00
Terry Howe
569f62e58b chore: fix problems with latest lint
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2024-12-10 10:40:37 -07:00
George Jenkins
b91a772d71
Merge pull request #13444 from justenstall/remove-status-flags
fix(status): remove --show-desc and --show-resources flags
2024-12-06 21:55:29 -05:00
Matt Farina
4dd2a7d626
Merge branch 'main' into oci-install-digest 2024-12-06 21:28:56 +01:00
Matt Farina
a1af40621a
Merge pull request #13499 from gjenkins8/shadow_oras_remoteclient_type
Shadow ORAS remote.Client interface
2024-12-06 21:23:06 +01:00
Andrew Block
2cea1466d3
Merge pull request #12962 from stevehipwell/add-plugin-platform-hooks
feat: Added multi-platform plugin hook support
2024-12-04 09:29:15 -06:00