Commit Graph
667 Commits
Author SHA1 Message Date
George Jenkins 93106ba2b6 Merge pull request #30982 from gjenkins8/gjenkins/force_replace_flag
Rename 'force' to 'force-replace'
2025-08-04 21:21:42 -07:00
Evans Mungai 85243914a4 feat: switch yaml library to go.yaml.in/yaml/v3
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2025-07-30 12:14:09 +01:00
Robert Sirchia 619035d789 Merge pull request #31057 from danilobuerger/db/thick-lark
Pass credentials when either chart repo or repo dont specify a port but it matches the default port of that scheme
2025-07-18 08:41:17 -04: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
George Jenkins 74f2805f01 Rename 'force' to 'force-replace'
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-07-14 09:41:18 -07:00
Danilo Bürger 055c4e2bec Moved url comparison to own function
Signed-off-by: Danilo Bürger <info@danilobuerger.de>
2025-07-13 15:38:54 +02:00
Danilo Bürger 8096f09370 Pass credentials when either chart repo or repo dont specify a port but it matches the default port of that scheme
Signed-off-by: Danilo Bürger <danilo.buerger@helsing.ai>
2025-07-11 13:11:33 +02:00
Scott Rigby 091f9a24fe Merge pull request #13154 from carloslima/post-render-everything
Allow post-renderer to process hooks
2025-07-10 12:31:43 -04: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
George Jenkins 5283915c57 Remove deprecated '--create-pods' flag
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2025-07-02 20:18:34 -07:00
Carlos Lima 6991a0a531 Make annotateAndMerge deterministic
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima c01e76b5c3 review: change annotation name to postrenderer.helm.sh/postrender-filename
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima a1416cf225 review: style changes
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima 859721bd77 review: rewrite error messages from the end-user perspective
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima b26b473bf6 review: make splitAndDeannotate private
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima 855b5a44b7 review: make annotateAndMerge private
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima 1d993f9e2d review: make filenameAnnotation private
Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
Carlos Lima e6362d74c8 Allow post-renderer to process hooks
This annotates and merges all manifests before sending to the
postrender, reversing the process and recovering the filenames
afterwards.

closes #7891

Signed-off-by: Carlos Lima <carlos@cpan.org>
2025-07-02 23:34:39 +08:00
acceptacross 9623fb80f1 chore: fix some function names in comment
Signed-off-by: acceptacross <csqcqs@gmail.com>
2025-06-04 23:54:30 +08:00
Scott Rigby 069b525332 Merge pull request #13586 from jessesimpson36/cleaner-stacktraces
fix: add formatting for errors to make multiline stacktraces in helm templates
2025-06-03 21:37:54 -04:00
Scott Rigby e2630d1aba Merge pull request #30939 from TerryHowe/action-hooks-delete-policy-mutex
fix: action hooks delete policy mutex
2025-06-03 15:04:57 -04:00
Terry Howe a8cbf3aa51 fix: action hooks delete policy mutex
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2025-05-30 08:12:20 -04:00
Matthieu MOREL 56a2bb4188 chore: enable usetesting linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-05-30 08:12:11 +02:00
Matthieu MOREL 157f0ba10a chore: enable thelper
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-05-16 10:25:08 +02:00
yetyear 03448d1d79 refactor: use maps.Copy for cleaner map handling
Signed-off-by: yetyear <flite@outlook.com>
2025-05-09 14:33:25 +08:00
findnature ac8d2f9aed refactor: use slices.Contains to simplify code
Signed-off-by: findnature <cricis@aliyun.com>
2025-05-02 09:43:25 +08:00
Jesse Simpson 0a7dd4b269 test: adjust failing test on extra whitespace
Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
2025-04-24 19:17:28 -04:00
Jesse Simpson edf0f7be59 test: adjust formatting for error in test
Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
2025-04-24 19:17: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 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
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 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
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
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
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
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
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
Benoit Tigeot a6d0335bbb Use fmt.Fprintf(...) instead of ...
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-14 10:49:49 +02:00
Benoit Tigeot a9b7732367 could remove embedded field X from selector
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-14 10:43:48 +02:00
Robert Sirchia f5decfc28d Merge pull request #30737 from rpolishchuk/investigation-pr-30610
fix: order dependent test
2025-04-11 16:06:45 -04:00
Matt Farina 7a1eb77e77 Merge pull request #30708 from benoittgt/migrate-kube-pkg-to-slog
Migrate pkg to slog
2025-04-11 20:50:34 +01:00
Matt Farina 7938662f95 Remove ValidName regex
This regex was already deprecated.

Validation happens inside the Metadata Validate function for the
name instead of using this regex.

Signed-off-by: Matt Farina <matt.farina@suse.com>
2025-04-10 13:30:48 -04:00
Benoit Tigeot 68440d7b29 Prefer using slog.Any when displaying errors
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-10 17:40:28 +02:00
Benoit Tigeot e7eedae97c Use the logger with proper handling of dynamic debug on 2 locations
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-04-10 16:02:05 +02:00