56 Commits
Author SHA1 Message Date
George Jenkins 06468084e8 Bump to version v4.2
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-05-05 21:06:02 -07:00
Matheus Pimenta a4a9cc7a31 Upgrade Go to 1.26, Kubernetes to 1.36, kstatus to 1.1
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-04-25 17:06:10 +01:00
Terry Howe 83a4611908 Merge pull request #12932 from AndiDog/error-message
Make error message instructional for the case of lock file being out of date
2026-04-16 17:00:46 -06:00
Matheus Pimenta 265c5eb530 fix(templating): SplitManifests must preserve line endings for downstream YAML parsers (#31952)
* fix(templating): SplitManifests must preserve line endings for downstream YAML parsers

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

* Address copilot comment about skipping empty docs

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

* Port fix to release v2

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

* Address copilot comments

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>

---------

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-04-15 14:33:27 +01:00
Johannes Lohmer 00638773d1 fix(values): do not copy chart-default nils into coalesced values
Only user-supplied nils should survive coalescing. Chart-default nils
defaults, not just user overrides. This caused:
- %!s(<nil>) in templates using Bitnami common.secrets.key (#31919)
- pluck fallbacks returning nil instead of falling through to globals
  (#31971)

Fixes #31919
Fixes #31971

Signed-off-by: Johannes Lohmer <jojo.dev@lohmer.com>
2026-04-13 20:09:47 +02:00
George Jenkins 47a084091e ignore error plugin loads (cli, getter)
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-03-12 17:56:01 -07:00
George Jenkins 36dcc27ca3 fix: Plugin version path traversal
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-03-11 17:43:13 -07:00
Evans Mungai 2e2cb05855 Merge pull request #31427 from tisonkun/resolve-todo
Check plugin name is not used
2026-01-09 18:55:44 +00:00
Branch Vincent c6d9a5bdc2 build: set kube version via debug.BuildInfo
Signed-off-by: Branch Vincent <branchevincent@gmail.com>
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-12-19 21:13:47 -08:00
Matt Farina 2108bc5070 Merge pull request #31448 from laervn/feat/add-no-headers-option
feat(repo): add --no-headers option to 'helm repo list'
2025-12-17 15:33:36 -05:00
tison 3c6557dcf5 Fix TestCliPluginExitCode
Signed-off-by: tison <wander4096@gmail.com>
2025-12-15 13:36:26 +08:00
Terry Howe 5d2ab10caa Merge pull request #12564 from hiddeco/supersede-on-uninstall
fix(uninstall): supersede deployed releases
2025-12-13 09:15:54 -07:00
Terry Howe 642462e9fe Merge pull request #11991 from twz123/no-bash-in-testscripts
Make test scripts run without /bin/bash
2025-12-12 07:57:37 -07:00
Matt Farina 63858b383f Merge pull request #31535 from mattfarina/bump-4.1
bump version to 4.1
2025-11-20 11:13:03 -05:00
Matt Farina 63e060fb05 bump version to 4.1
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-11-19 12:49:49 -05:00
Hidde Beydals 2f1ecc7100 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>
2025-11-07 23:09:48 +01:00
Benoit Tigeot ed6cf0e8a1 Properly test error messages on pull command's test
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-11-06 17:03:29 +01:00
Paul Van Laer 6ef79bb8d5 feat(repo): add --no-headers option to 'helm repo list'
This adds a --no-headers flag to the 'helm repo list' command,
allowing users to suppress table headers in the output.
Useful for scripting and automation.

Signed-off-by: Paul Van Laer <paul.van.laer1@gmail.com>
2025-10-30 18:00:08 +01:00
Matt Farina 76e6b7a6fe Merge pull request #31390 from TerryHowe/chore-increase-helm-list-test-coverage
fix: improve pkg/cmd/list test coverage
2025-10-21 15:49:13 -04:00
Matt Farina 2cfd41ec28 Merge pull request #31351 from gjenkins8/gjenkins/helm_version_kubeversion
feat: `helm version` print Kubernetes (client-go) version
2025-10-21 15:32:40 -04:00
Terry Howe 379b0899b3 fix: increase helm list test coverage
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-10-13 16:16:50 -06:00
Terry Howe abdf6603c0 fix test for rebase
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-10-13 11:15:26 -06:00
copilot-swe-agent[bot] b4f932a715 Fix test by making date sorting stable and updating golden files
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-10-13 10:28:43 -06:00
Terry Howe 8a73d97984 fix: make helm list show all by default
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-10-13 10:27:58 -06:00
George Jenkins 7761d937ca testfix
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-10-01 15:32:37 -07:00
Terry Howe 469f4b457c chore: remove helm version client option
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-09-16 20:00:24 -06:00
Terry Howe 3e1dd9a5dc chore: remove pkg/time which is no longer needed
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-09-15 12:29:35 -06:00
Tom Wieczorek 6181e0a873 Make test scripts run without /bin/bash
The test scripts hardcoded #!/bin/bash while they are not really
requiring bash. Use the more portable #!/usr/bin/env sh instead, so that
they use the default shell.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
2025-09-12 15:24:29 +02:00
Kamil Swiechowski 38d1a7376f fix: throw warning when chart version is not semverv2
Signed-off-by: Kamil Swiechowski <kamil.swiechowski@iprally.com>
2025-09-03 07:49:41 +02:00
George Jenkins a8151ef4fe Cleanup plugin config
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-09-02 09:53:22 -07:00
George Jenkins 5926ec83dd Remove SetupPluginEnv
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-09-01 10:49:01 -07:00
George Jenkins c35755a197 Remove legacy Command/Hooks from v1 Subprocess (#23)
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-31 22:24:31 -07:00
Scott Rigby 591d863df5 Move Postrenderer to a plugin type
Fix/add back postrenderer args unit tests

Signed-off-by: Scott Rigby <scott@r6by.com>
2025-08-31 19:03:34 -05:00
George Jenkins 80f659ce8b Merge pull request #31178 from mattfarina/env-content-cache
Add content cache to helm env
2025-08-28 09:38:48 -07:00
Andreas Sommer 1836c598f0 Make error message instructional for the case of lock file being out of date
Signed-off-by: Andreas Sommer <andreas.sommer87@googlemail.com>
2025-08-27 12:30:00 +02:00
George Jenkins 934f761e08 Merge pull request #30812 from gjenkins8/gjenkins/chartrelease_server_side_apply
HIP-0023: Helm support server-side apply
2025-08-26 18:52:15 -07:00
Matt Farina 533eddc57d Add content cache to helm env
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-08-24 17:57:34 -04:00
Scott RigbyandGeorge Jenkins a7578fec74 Plugin types and plugin apiVersion v1
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-08-22 17:17:36 -04:00
be74ab72a0 [HIP-0026] Plugin runtime interface (#31145)
* Runtime abstraction to encapsulate subprocess code and enable future runtimes

Also fix race condition in TestPrepareCommandExtraArgs by replacing the shared variable modification with a local copy

Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Remove commented out code

Co-authored-by: Joe Julian <me@joejulian.name>
Signed-off-by: Scott Rigby <scott@r6by.com>

* Check test failure string

Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>

---------

Signed-off-by: Scott Rigby <scott@r6by.com>
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Co-authored-by: Joe Julian <me@joejulian.name>
Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
2025-08-22 16:12:49 -04:00
George Jenkins e2dcbe28bf Helm client/SDK support server-side apply
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-08-18 10:05:07 -07:00
Joe Julian 08909e030b Merge pull request #31019 from zachburg/templates_lint
Return early when linting if the `templates/` directory does not exist
2025-07-17 11:08:20 -07:00
Joe Julian 1f3e4ad12a Merge pull request #31011 from yalosev/feature/add-labels-to-metadata
feature: add labels to metadata
2025-07-17 10:49:47 -07:00
Yuriy Losev 46b1a41631 Add release labels to the release Metadata
Signed-off-by: Yuriy Losev <yuriy.losev@flant.com>
2025-07-09 11:30:22 +04:00
Zach Burgess 35434947a3 Return a lint warning if templates/ does not exist.
Signed-off-by: Zach Burgess <zachburg@google.com>
2025-07-07 21:02:11 -07:00
Zach Burgess 6e30619d8f Merge branch 'helm:main' into templates_lint 2025-07-07 09:34:04 -07:00
Zach Burgess b703d5b4bb Return early when linting if the templates/ dir does not exist
The `vaildateTemplatesDir` function would still return `nil` if the directory doesn't exist,
so the early return that was documented never occurs.

Signed-off-by: Zach Burgess <zachburg@google.com>
2025-07-01 14:29:40 -07:00
Ashmit Bhardwaj 0389407cbc removed unnecessary binary file
Signed-off-by: Ashmit Bhardwaj <ashmit.bhardwaj@fmr.com>
2025-06-09 06:15:39 +00:00
Ashmit Bhardwaj b305a501e8 added documentation and test cases for api-versions flag
Signed-off-by: Ashmit Bhardwaj <ashmit.bhardwaj@fmr.com>
2025-06-09 06:15:39 +00:00
Matt Farina cf7613ba6b Reverting fix "renders int as float"
This reverts #13533

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.

Note: This kind of change can be put into v3 charts, that are in
active development, without causing a regression.

Closes #30880

Signed-off-by: Matt Farina <matt@mattfarina.com>
2025-05-21 15:09:01 -04:00
Matt Farina b5a4781099 Adding test for list command
Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-05-15 15:23:13 -04:00