Merge pull request #11146 from olemarkus/rolling-update-ctx

Pass ctx to drain helper
This commit is contained in:
Kubernetes Prow Robot 2021-03-26 04:22:44 -07:00 committed by GitHub
commit c422de7780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -571,6 +571,7 @@ func (c *RollingUpdateCluster) drainNode(u *cloudinstances.CloudInstance) error
}
helper := &drain.Helper{
Ctx: c.Ctx,
Client: c.K8sClient,
Force: true,
GracePeriodSeconds: -1,