From e8bfa0eed689ee822c6ba9b4bcae45ecdb36b671 Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Wed, 21 May 2025 09:45:45 +0200 Subject: [PATCH] Update pkg/plugin/plugin.go Co-authored-by: George Jenkins Signed-off-by: Benoit Tigeot (cherry picked from commit dce60adb5141695b9deab023dbfa25bba681d8fa) --- pkg/plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index a00bdb5e3..e2fb78672 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -270,7 +270,7 @@ func validatePluginData(plug *Plugin, filepath string) error { } if len(plug.Metadata.PlatformHooks) > 0 && len(plug.Metadata.Hooks) > 0 { - fmt.Printf("both platformHooks and hooks are set in %q. It's deprecated and will not be possible in Helm v4\n", filepath) + fmt.Printf("WARNING: both 'platformHooks' and 'hooks' are set in %q (this will become an error in a future Helm version)\n", filepath) } // We could also validate SemVer, executable, and other fields should we so choose.