Skip to content

Commit

Permalink
vendor: update openshift/kubernetes-drain
Browse files Browse the repository at this point in the history
xref openshift/kubernetes-drain#1

tl;dr; the drain function wasn't correctly waiting for all pods to be
gone before reporting success.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
  • Loading branch information
runcom authored and openshift-cherrypick-robot committed Jul 31, 2019
1 parent 83392b1 commit bc563c7
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 17 deletions.
5 changes: 3 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ required = [
name = "github.com/ashcrow/osrelease"
version = "1.0.0"

[[constraint]]
name = "github.com/blang/semver"
version = "v3.5.0"

[[constraint]]
name = "github.com/coreos/container-linux-config-transpiler"
version = "v0.9.0"
Expand Down Expand Up @@ -89,7 +85,7 @@ required = [

[[constraint]]
name = "github.com/openshift/kubernetes-drain"
revision = "c2e51be1758efa30d71a4d30dc4e2db86b70a4df"
branch = "master"

[[constraint]]
name = "github.com/openshift/library-go"
Expand Down
3 changes: 3 additions & 0 deletions manifests/machineconfigdaemon/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ rules:
- apiGroups: ["extensions"]
resources: ["daemonsets"]
verbs: ["get"]
- apiGroups: ["apps"]
resources: ["daemonsets"]
verbs: ["get"]
- apiGroups: [""]
resources: ["pods/eviction"]
verbs: ["create"]
Expand Down
3 changes: 3 additions & 0 deletions pkg/operator/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 26 additions & 10 deletions vendor/github.com/openshift/kubernetes-drain/drain.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc563c7

Please sign in to comment.