From 7f532b4917d1fe34b1560c8876954742d5991bbe Mon Sep 17 00:00:00 2001 From: Jacob LeGrone Date: Thu, 25 Jul 2019 15:23:45 -0400 Subject: [PATCH] doc(hooks): note helm 2 test annotation support requirement Signed-off-by: Jacob LeGrone --- pkg/releaseutil/manifest_sorter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/releaseutil/manifest_sorter.go b/pkg/releaseutil/manifest_sorter.go index eb6016094..3e91189e4 100644 --- a/pkg/releaseutil/manifest_sorter.go +++ b/pkg/releaseutil/manifest_sorter.go @@ -61,7 +61,8 @@ var events = map[string]release.HookEvent{ release.HookPreRollback.String(): release.HookPreRollback, release.HookPostRollback.String(): release.HookPostRollback, release.HookTest.String(): release.HookTest, - "test-success": release.HookTest, + // Support test-success for backward compatibility with Helm 2 tests + "test-success": release.HookTest, } // SortManifests takes a map of filename/YAML contents, splits the file