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

Fix getPodFn namespace issue #1

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

michaelgugino
Copy link
Contributor

Currently, waitfordelete does not do what is intended
because the getPodFn uses an empty namespace.

This commit fixes that to use proper namespace for
the pod.

Currently, waitfordelete does not do what is intended
because the getPodFn uses an empty namespace.

This commit fixes that to use proper namespace for
the pod.
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 11, 2019
@michaelgugino
Copy link
Contributor Author

/approve

@eparis eparis merged commit 4b061af into openshift:master Jul 12, 2019
michaelgugino added a commit to mgugino-upstream-stage/cluster-api that referenced this pull request Jul 12, 2019
This commit updates kubernetes-drain to remove namespace
bug.

kubernetes-drain pr: openshift/kubernetes-drain#1
@cgwalters
Copy link
Member

One thing I wanted to verify is whether this flaw existed in upstream kube, and as far as I can tell it never did. It looks like the flaw was introduced by a patch specific to this library: b43d446

runcom added a commit to runcom/machine-config-operator that referenced this pull request Jul 30, 2019
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>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/machine-config-operator that referenced this pull request Jul 31, 2019
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants