Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Fix: longer timeout for annotator #478

Merged
merged 1 commit into from
Jul 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/release/annotator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down