Commit graph

1980 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
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
George Jenkins
4aaacfcff1
Merge pull request #13494 from helm/rm_deprecated_repo_add_no_update_flag
Remove deprecated `repo add --no-update` flag
2025-01-18 08:37:14 -08:00
Robert Sirchia
a4f8afb303
Merge pull request #13602 from crystalstall/main
refactor: using slices.Contains to simplify the code
2025-01-17 16:06:00 -05:00
George Jenkins
53a4a59eb9
Merge pull request #13600 from gjenkins8/cleanup_NewShowWithConfig
cleanup: `NewShowWithConfig` -> `NewShow`
2025-01-14 12:42:54 -08:00
crystalstall
09cf0b9858 refactor: using slices.Contains to simplify the code
Signed-off-by: crystalstall <crystalruby@qq.com>
2025-01-11 00:34:05 +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
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
8468de42ed cleanup: NewShowWithConfig -> NewShow
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-01-05 10:16:31 -08: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
George Jenkins
88da89085e refactor: Remove redundant NewPullWithOpts
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2024-12-27 21:19:58 -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
Matt Farina
e4c8da3609
Merge pull request #13546 from mattfarina/bump-go-1.23
Update to Go 1.23
2024-12-19 20:16:09 +01:00
Scott Rigby
9c0d3c4561
Merge pull request #13439 from mayankshah1607/cli-take-ownership
Add --take-ownership flag for install and upgrade commands
2024-12-19 11:32:13 -05: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
Mayank Shah
edf7b66ae9
fix test output
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2024-12-13 10:25:42 +05:30
Mayank Shah
b9d58a19f1
fix test
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2024-12-12 21:45:07 +05:30
Mayank Shah
2541e465c4
fix upgrade
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2024-12-11 20:57:21 +05:30
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
George Jenkins
6202d96f38 Remove deprecated repo add --no-update flag
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2024-11-30 22:39:49 -08:00
Steve Hipwell
bb9f0f7816
feat: Added multi-platform plugin hook support
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2024-11-21 17:39:00 +00:00
George Jenkins
c724175b03
Merge pull request #13343 from niladrih/more-metadata
Add annotations and dependencies to get metadata output
2024-11-19 15:22:55 -08:00
Scott Rigby
bca7d31c9b
Merge pull request #12769 from banjoh/em/password-to-oci-registries
fix(helm): pass down username/password CLI parameters to OCI registry clients
2024-11-19 16:29:11 -05:00
Evans Mungai
7a22dd28d1
Rename CAFile to CaFile for consistency
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2024-11-19 21:18:27 +00:00
Mayank Shah
885e938793
Update cmd/helm/upgrade.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2024-11-19 10:03:09 +05:30
Mayank Shah
7efa2862ad
Update cmd/helm/install.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2024-11-19 10:03:03 +05:30
Justen Stall
28be06e1d0
remove references to the removed flags in help text
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2024-11-18 11:19:43 -05:00
Justen Stall
33f78efe1d
fix unit tests
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2024-11-18 11:06:18 -05:00
Justen Stall
0a64f74a25
update references to statusPrinter
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2024-11-15 11:27:28 -07:00
Robert Sirchia
21568dee29
Merge pull request #13425 from MathieuCesbron/main
Fix typo "re-use" to "reuse"
2024-11-14 17:20:25 -07:00
Justen Stall
483697584f
fix(status): remove --show-desc and --show-resources flags
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2024-11-14 15:24:28 -07:00
Mayank Shah
c3a5f27c77
Add --take-ownership flag for install and upgrade commands
The `TakeOwnership` setting was added to the install and upgrade actions in
https://github.com/helm/helm/pull/12876

This PR allows setting this option on install and upgrade via the CLI
using a --take-ownership flag

Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2024-11-12 17:37:26 +05:30
mathieu cesbron
fc17fc75e2 Fix typo "re-use" to "reuse"
Signed-off-by: mathieu cesbron <mathieu.rudy.cesbron@gmail.com>
2024-11-07 18:40:13 +07:00
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>
2024-11-06 17:40:18 -06:00
Terry Howe
ad9fb68fa3 feat: allow installation by OCI digest
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2024-10-24 08:25:47 -06:00
Evans Mungai
d25b0d9056
Remove unnecessary function arguments
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2024-10-22 17:56:58 +01:00
Evans Mungai
323f88950a
Merge remote-tracking branch 'origin/main' into em/password-to-oci-registries 2024-10-22 17:54:10 +01:00
Niladri Halder
d351b091ca
Add annotations and dependencies to get metadata output
The output of helm get metadata includes a subset of the fields contained in
the chart.Metadata struct. This change adds the values of the annotations field
and the dependencies field to the output.

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
2024-10-04 11:22:35 +05:30
Matt Farina
159844e2c6
Merge pull request #13349 from TerryHowe/format-chart-name
Format chart name
2024-10-01 20:09:36 +02:00
Matt Farina
663a4e64ea
Merge pull request #13338 from yardenshoham/issues/13320
Remove the Kubernetes configuration file permissions check
2024-10-01 14:50:20 +02:00
Matt Farina
eecb848dcb
Merge pull request #13301 from NathanBaulch/typos
Fix typos
2024-09-30 14:55:21 +02:00
Matt Farina
f0f98817e3
Merge pull request #13240 from rauno56/docs/repo-index-desc
docs(repo_index): explicitly state that the result is written to the directory passed in
2024-09-27 21:53:00 +02:00
Terry Howe
de18ac1602 fix: add missing formatChartName call
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2024-09-24 08:33:07 -06:00
myeunee
4735f2be9b Update history.go
Rename formatChartname to formatChartName for consistency

Signed-off-by: myeunee <myeunee@gmail.com>
2024-09-24 08:30:11 -06:00
Yarden Shoham
49cb14a15c Remove the Kubernetes configuration file permissions check
See https://github.com/helm/helm/issues/13320#issuecomment-2346724311

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2024-09-15 17:34:32 +00:00
Nathan Baulch
ef85fa7f2d
Grammar fixes
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2024-09-14 10:30:31 +10:00