From 617cd68a336ea9997bd302f4938da50f664afc8e Mon Sep 17 00:00:00 2001 From: Aviel Buskila Date: Sun, 5 Jul 2020 13:47:23 +0300 Subject: [PATCH] longer timeout for annotator --- pkg/release/annotator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/release/annotator.go b/pkg/release/annotator.go index 203e49ad7..86658be62 100644 --- a/pkg/release/annotator.go +++ b/pkg/release/annotator.go @@ -70,7 +70,7 @@ func annotateResources(rel *helm.Release, resourceID resource.ID) error { // The timeout is set to a high value as it may take some time // to annotate large umbrella charts. - ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second) defer cancel() cmd := exec.CommandContext(ctx, "kubectl", args...)