Commit graph

8335 commits

Author SHA1 Message Date
Justen Stall
fc6c5e5edb
remove WaitAndGetCompletedPodPhase function
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 17:19:48 -04:00
Justen Stall
73545f9a3e
one more test output
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 16:08:21 -04:00
Justen Stall
4a6092bd6c
update another test output
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 16:04:28 -04:00
Justen Stall
7a316c8d51
update expected error message in install test
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 15:57:54 -04:00
Justen Stall
6c3fc1d755
Merge pull request #1 from justenstall/stdlib-errors-2-lint-issues
Fix lint issues
2025-04-21 15:28:38 -04:00
Justen Stall
3877ec9049
fix golangci-lint issues
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 12:44:40 -04:00
Justen Stall
065e2eb3eb
updates after merge conflict resolution
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 12:17:50 -04:00
Justen Stall
280a9ddbdb
Merge branch 'main' into stdlib-errors-2
Signed-off-by: Justen Stall <39888103+justenstall@users.noreply.github.com>
2025-04-21 12:13:10 -04:00
Scott Rigby
eb6e240cfe
Merge pull request #30734 from ipaqsa/feature/add-custom-template-funcs
feat(pkg/engine): add support for custom template funcs
2025-04-21 11:13:12 -04:00
Scott Rigby
8255300280
Merge pull request #12382 from edbmiller/ed-dot-miller/parse-chartfile-yaml-strictly
fix(pkg/lint): unmarshals Chart.yaml strictly
2025-04-20 15:35:51 -04:00
George Jenkins
879d158a80
Merge pull request #30775 from benoittgt/bump-toml
Bump toml
2025-04-19 08:50:48 -07:00
Edward Miller
e414695a5b fix
Signed-off-by: Edward Miller <edmiller287@gmail.com>
2025-04-19 13:41:43 +01:00
Benoit Tigeot
e2461de3c2
Fix test with toml bump
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-19 00:48:23 +02:00
Benoit Tigeot
39d7b8fcd4
Bump toml
Closes: https://github.com/helm/helm/pull/30682
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-19 00:48:17 +02:00
Matt Farina
a842140ef6
Merge pull request #13578 from gjenkins8/rm_chart_repo_load_func
refactor: Remove ChartRepository `[]ChartPaths`
2025-04-18 20:43:52 +01:00
Matt Farina
07b0dca046
Merge pull request #30677 from dongjiang1989/update-golang-version
chore: Update Golang to v1.24
2025-04-18 20:02:36 +01:00
Edward Miller
629780a34a fix: reapply error message fix
Signed-off-by: Edward Miller <edmiller287@gmail.com>
2025-04-18 19:18:55 +01:00
Edward Miller
9d43f70643 Update error message
Co-authored-by: Andrew Block <andy.block@gmail.com>
Signed-off-by: Edward Miller <55854159+edbmiller@users.noreply.github.com>
2025-04-18 19:13:40 +01:00
Edward Miller
14a468f24d Add chartutil.StrictLoadChartfile for strict (WARNING-level) lint
Signed-off-by: Edward Miller <edmiller287@gmail.com>
2025-04-18 19:13:40 +01:00
Edward Miller
00f8561ad4 fix(pkg/lint): unmarshals Chart.yaml strictly
When "helm lint" is run, it now errors on invalid chartfiles,
e.g. those with duplicate keys

Closes #12381

Signed-off-by: Edward Miller <edmiller287@gmail.com>
2025-04-18 19:13:40 +01:00
Robert Sirchia
7571f77163
Merge pull request #30770 from helm/dependabot/go_modules/main/github.com/rubenv/sql-migrate-1.8.0
build(deps): bump github.com/rubenv/sql-migrate from 1.7.2 to 1.8.0
2025-04-18 09:32:20 -04:00
Robert Sirchia
0e7e282636
Merge pull request #30773 from wangcundashang/main
chore: fix function name in comment
2025-04-18 09:28:35 -04:00
wangcundashang
7bb0c85441 chore: fix function name in comment
Signed-off-by: wangcundashang <wangcundashang@qq.com>
2025-04-18 19:11:41 +08:00
Stepan Paksashvili
b54349d9b2 fix(pkg/engine): allow to override all functions
Signed-off-by: Stepan Paksashvili <stepan.paksashvili@flant.com>
2025-04-18 10:29:56 +03:00
Stepan Paksashvili
5c2f89307d feat(pkg/engine): and custom funcs to action config
Signed-off-by: Stepan Paksashvili <stepan.paksashvili@flant.com>
2025-04-18 10:29:56 +03:00
Stepan Paksashvili
8982b57e5e feat(pkg/engine): and custom funcs overriding test
Signed-off-by: Stepan Paksashvili <stepan.paksashvili@flant.com>
2025-04-18 10:29:56 +03:00
Stepan Paksashvili
9073bcf53e feat(pkg/engine): add support for custom template funcs
Enhances the template engine and action config to allow users to inject custom template functions via an action config when using Helm as a library.

Closes #30733

Signed-off-by: Stepan Paksashvili <stepan.paksashvili@flant.com>
2025-04-18 10:29:56 +03:00
dongjiang
5cb8335c4d
Update .github/env
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
2025-04-18 10:16:28 +08:00
dependabot[bot]
ff57ed2291
build(deps): bump github.com/rubenv/sql-migrate from 1.7.2 to 1.8.0
Bumps [github.com/rubenv/sql-migrate](https://github.com/rubenv/sql-migrate) from 1.7.2 to 1.8.0.
- [Commits](https://github.com/rubenv/sql-migrate/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/rubenv/sql-migrate
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 21:58:18 +00:00
Scott Rigby
599fad1864
Merge pull request #30697 from p-se/fix-take-ownership
Fix --take-ownership for custom resources - closes #30622
2025-04-17 11:54:11 -04:00
Evans Mungai
1f5605a405
fix formatting errors
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-04-17 15:33:21 +01:00
dongjiang
cd19e2a015
Merge branch 'main' into update-golang-version
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
2025-04-17 20:40:52 +08:00
Robert Sirchia
c1ffaedfa8
Merge pull request #30766 from benoittgt/fix-main
Fix main branch by defining wait strategy parameter on hooks
2025-04-17 08:36:50 -04:00
Benoit Tigeot
d33e2896f0
Prevent failures with method signatures on hooks
changes on wait strategy. This PR try to fix linting and tests.

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-17 12:37:37 +02:00
Scott Rigby
e397f44840
Merge pull request #30673 from nvanthao/process-all-hook-deletions-on-failure
fix: Process all hook deletions on failure
2025-04-16 17:21:28 -04:00
Matt Farina
01590a59b2
Merge pull request #30760 from robertsirc/add-debuging-to-jsonschema
adding slog debug to a few points
2025-04-16 21:10:22 +01:00
Robert Sirchia
1b332afbd5
Merge pull request #30762 from helm/dependabot/go_modules/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0
2025-04-16 16:10:10 -04:00
Robert Sirchia
8733103743
Merge pull request #30718 from klihub/fixes/package/multiple-charts-single-passwd-from-stdin
Allow signing multiple charts with a single passphrase from stdin.
2025-04-16 16:07:44 -04:00
dependabot[bot]
0c200aca73
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 19:51:50 +00:00
Robert Sirchia
da096e1b7a
Merge pull request #30752 from benoittgt/bump-golangci-lint-action
Bump golangci lint to last major version and fix static-check errors
2025-04-16 15:50:55 -04:00
Robert Sirchia
ef0361de21
fixing as per review
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-04-16 15:26:44 -04:00
Robert Sirchia
9b9ff12c6d
adding slog debug to a few points
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2025-04-16 11:36:05 -04:00
Krisztian Litkey
3102c28804
fix: allow signing multiple charts with passphrase from stdin.
Cache the signing key passphrase. When signing multiple charts
with the passphrase from stdin, this allows signing all charts
instead of all but the first failing with an error about stdin
already having been closed.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2025-04-16 18:05:36 +03:00
Matt Farina
e0fde2bd90
Merge pull request #30754 from mattfarina/simplify-jsonschema
Simplify the JSON Schema checking
2025-04-16 15:18:46 +01:00
Robert Sirchia
fabb35473a
Merge pull request #30757 from helm/dependabot/go_modules/main/github.com/rubenv/sql-migrate-1.7.2
build(deps): bump github.com/rubenv/sql-migrate from 1.7.1 to 1.7.2
2025-04-15 19:03:51 -04:00
dependabot[bot]
28742b1706
build(deps): bump github.com/rubenv/sql-migrate from 1.7.1 to 1.7.2
Bumps [github.com/rubenv/sql-migrate](https://github.com/rubenv/sql-migrate) from 1.7.1 to 1.7.2.
- [Commits](https://github.com/rubenv/sql-migrate/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/rubenv/sql-migrate
  dependency-version: 1.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 21:59:47 +00:00
Evans Mungai
e8e79cc4b4
Merge branch 'main' into fix-take-ownership
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-04-15 04:46:17 -06:00
Evans Mungai
7c37a109f2
Add install test for TakeOwnership flag
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-04-15 11:24:12 +01:00
Matt Farina
0dffc580b0
Simpligy the JSON Schema checking
A new library was introduced that provides JSON Schema checking for
newer versions of the schema. In Helm v4, there is no need to have
two packages doing the JSON schema validation. The message output
can have breaking changes.

This change moves everything to the newer library. It also uses a
wrapper error to enable a clean Helm only interface for the
public Go API validation functions. This would enable the replacement
of the Schema validation library, if needed, without breaking the
Go API contract.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-04-14 19:32:01 -04:00
Matt Farina
55a4fc121b
Merge pull request #13283 from win-t/jsonschema
adding support for JSON Schema 2020
2025-04-14 19:52:03 +01:00