1992 Commits

Author SHA1 Message Date
Matheus Pimenta
b7a0fd0ddc fixes
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-06-18 19:39:13 +12:00
George Jenkins
3033a778b6 [v3] Bump to version v3.21 (#32103)
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-05-06 13:38:27 -04:00
Scott Rigby
f6e17f6735 bump version to v3.20
Signed-off-by: Scott Rigby <scott@r6by.com>
2026-01-12 15:04:26 -05:00
George Jenkins
0bfd2cbe75 Merge pull request #31648 from hiddeco/backport-12564-to-dev-v3
[v3 backport] fix(uninstall): supersede deployed releases
2025-12-26 08:21:57 -08:00
George Jenkins
0ae8e4f2cb [dev-v3] Bump Go v1.25, golangci-lint v2
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-12-21 12:35:53 -08:00
Hidde Beydals
8bb0b37226 fix(uninstall): supersede deployed releases
This ensures that when `helm uninstall` is run with `--keep-history`
any release in a `deployed` state other than the last release (e.g.
due to a failed upgrade) is being marked as `superseded`.

As a by-effect, running `helm upgrade` on a release which has been
uninstalled after an upgrade failure now no longer works. But instead
fails with a `"<name>" has no deployed releases` error. Which is the
(likely) intended behavior, and prevents other side-effects like
rolling back to a release version which happened before the uninstall
if `--atomic` (or `--rollback-on-failure`) was provided.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
(cherry picked from commit 2f1ecc7100)
2025-12-13 19:51:20 +01:00
Luna Stadler
e5e101cced Fix helm pull untar dir check with repo urls
The existing check worked for `helm pull downloaded-repo/chart-name`,
but often does not work when using `--repo-url`, depending on the urls
used by the charts.

Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2025-10-24 00:05:45 +02:00
George Jenkins
5691a4eab8 Merge pull request #31276 from benoittgt/31231-fix
[backport] Fix deprecation warning for spf13/pflag from 1.0.7 to 1.0.10
2025-10-01 08:38:07 -07:00
George Jenkins
0111c25229 Merge pull request #31048 from unguiculus/issue-12952
fix(v3 backport): Add timeout flag to repo add and update flags
2025-09-22 12:47:42 -07:00
Benoit Tigeot
9a366b4474 Fix deprecation warning
Error reported in CI https://github.com/helm/helm/actions/runs/17623700524/job/50075176523?pr=31231

```
Error: cmd/helm/root.go:165:2: SA1019: flags.ParseErrorsWhitelist is deprecated: use [FlagSet.ParseErrorsAllowlist] instead. This field will be removed in a future release. (staticcheck)
```

Close: #31231
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-09-10 21:22:26 +02:00
Scott Rigby
c3610abd2d bump version to v3.19.0
Signed-off-by: Scott Rigby <scott@r6by.com>
(cherry picked from commit 3d8990f083)
2025-09-04 23:55:37 -04:00
Evans Mungai
9a54bf1df6 fix: use username and password if provided
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-09-04 18:13:06 +01:00
Robert Sirchia
6d9509aadc json schema fix
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-07-25 10:03:46 -04:00
Reinhard Nägele
79a9cc5653 Add timeout flag to repo add and update flags
Backport of #30900 to v3.
(cherry picked from commit d448cf1943)

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2025-07-10 10:19:31 +02:00
Matt Farina
cfe8cef46f Handle an empty registry config file.
In the move to oras v2, an existing but empty registry config file
became an uncaught error. A missing file caused no error. This
change catches the error and works around it so that Helm can
continue to be fault tolerant to this issue.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-05-29 08:16:51 -04:00
Matt Farina
c5249c1f8d Revert "fix (helm) : toToml` renders int as float [ backport to v3 ]"
This change has caused issues with numerous charts around things
unrelated to toml. This is because of functions like typeIs/typeOf
being used and acted upon.

The change caused a significant regression.

Closes #30880

Signed-off-by: Matt Farina <matt@mattfarina.com>
2025-05-20 16:17:23 -04:00
George Jenkins
b4e06a11d2 Merge pull request #30658 from helm/gjenkins/backport_12912
[v3 backport] feat: add httproute from gateway-api to create chart template
2025-05-06 20:51:07 -07:00
Robert Sirchia
94044595c7 bump version to v3.18.0
(cherry picked from commit 74c3d1dc0de0335f941362c80447871e7d6bc78e)
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-05-05 16:09:20 -04:00
Rongrong Liu
48377fe451 fix:add proxy support when mTLS configured
Signed-off-by: Rongrong Liu <lori.rongrong.liu@gmail.com>
2025-04-29 15:37:03 -04:00
Terry Howe
c188441757 chore(oci): upgrade to ORAS v2
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-03-14 08:46:18 -06:00
Henrik Gerdes
bd1b67b082 feat: add httproute from gateway-api to create chart template
Adds the HTTPRoute from https://gateway-api.sigs.k8s.io/reference/spec/ to the example getting started chart.

Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
2025-03-12 10:27:53 -07:00
Scott Rigby
8d038b5490 Merge pull request #30570 from scottrigby/dev-v3-backport-10309
v3 backport: Add hook annotation to output hook logs to client on error
2025-02-25 16:48:12 -05:00
Chris Berry
2aa90b8f26 Refactor based on review comment
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 19:00:41 -05:00
Chris Berry
5739197faa Refactor based on review comment
Signed-off-by: Chris Berry <bez625@gmail.com>
2025-02-21 19:00:41 -05:00
Evans Mungai
a9e20757c6 chore: use []error instead of []string
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:52:49 -05:00
Evans Mungai
996ad84453 Update cmd/helm/profiling.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:52:43 -05:00
Evans Mungai
c7dfa87f9d Prefer environment variables to CLI flags
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:52:30 -05:00
Evans Mungai
b39411a668 Fix linter warning
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:52:25 -05:00
Evans Mungai
4c50f01046 Move pprof paths to HELM_PPROF env variable
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:52:15 -05:00
Evans Mungai
483ebf915d Additional review fixes from PR
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:51:57 -05:00
Evans Mungai
461197f9c6 feat: Add flags to enable CPU and memory profiling
Add capability to profile cli command using
https://go.dev/blog/pprof

Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-02-19 16:51:50 -05:00
Matt Farina
4c2f88b2ab Moving to SetOut and SetErr for Cobra
SetOutput is deprecated. This causes it to fail linting.

Signed-off-by: Matt Farina <matt@mattfarina.com>
(cherry picked from commit b689ff203e)
2025-02-19 15:01:55 -05:00
Matt Farina
e2c7986f30 Merge pull request #13534 from althmoha/dev-v3-12987
fix (helm) : toToml` renders int as float [ backport to v3 ]
2025-02-05 15:33:56 -05:00
George Jenkins
6ed9d2f2d5 Merge pull request #13592 from stevehipwell/add-plugin-platform-hooks-v3
feat: Add multi-platform plugin hook support [v3 backport]
2025-01-18 08:18:47 -08:00
Matt Farina
d6db69ed66 bump version to v3.17.0
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 301108edc7)
2025-01-06 14:20:59 -05:00
Andrew Block
83dddb1839 feat: Added multi-platform plugin hook support to v3
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2025-01-02 12:45:36 +00:00
Terry Howe
c3e5217d85 feat: allow installation by OCI digest
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
(cherry picked from commit ad9fb68fa3)
2025-01-01 11:50:26 -05:00
Matt Farina
9ade3b502a Merge pull request #13574 from gjenkins8/v3_13343
Add annotations and dependencies to get metadata output [v3 backport]
2024-12-30 15:06:08 +01:00
Matt Farina
9f620b857a 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>
(cherry picked from commit 5727f56a96)
2024-12-28 12:06:27 -05:00
Niladri Halder
7321579092 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-12-27 08:11:15 -08:00
Matt Farina
a3a9e4f643 Fix dev-v3 from take ownership changes
When #13531 was merged in the tests were not passing. This is because
it took into account #13444 but that had not been backported to v3.
Tests had not been automatically run on dev-v3 but that was fixed
via #13563.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-12-21 08:41:36 -05:00
George Jenkins
038321ce79 Merge pull request #13531 from mayankshah1607/cli-take-ownership-dev-v3
v3 backport: Add --take-ownership flag for install and upgrade commands
2024-12-19 08:53:31 -08:00
Althaf M
0a6834fdf0 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>
2024-12-14 23:19:01 +00: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
Matt Farina
41b6273682 Merge pull request #13483 from banjoh/em/password-to-oci-registries-v3
fix(helm): pass down username/password CLI parameters to OCI registry clients (v3 backport)
2024-11-27 16:06:27 +01: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