Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some recent updates #88

Merged
merged 10 commits into from
May 7, 2021
Prev Previous commit
Next Next commit
Merge branch 'cherry-pick-167787f2' into 'master'
Merge branch 'fix/timeout' into 'release-3.4'

See merge request container-platform/captain!23
  • Loading branch information
hangyan authored and huizhang committed May 6, 2021
commit aa83702a5526102397f70df6d23f3ef6e967959d
2 changes: 2 additions & 0 deletions pkg/helm/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package helm
import (
clientset "github.com/alauda/helm-crds/pkg/client/clientset/versioned"
"strings"
"time"

"github.com/pkg/errors"
"helm.sh/helm/pkg/action"
Expand All @@ -23,6 +24,7 @@ func (d *Deploy) Delete() error {
}

client := action.NewUninstall(cfg)
client.Timeout = 60 * time.Second

res, err := client.Run(name)
if err != nil {
Expand Down