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

Remove k8s.io/kubernetes dependency #2862

Merged

Conversation

rumpl
Copy link
Member

@rumpl rumpl commented Dec 3, 2020

- What I did

Removed the k8s.io/kubernetes dependency, we are only using the IsPodReady function that can be rewritten.
This shouldn't be imported as a library anyway

- How I did it

Replaced the call to podutils.IsPodReady with a custom function.

- How to verify it

I am not really sure, would need help if there are no tests that cover this code.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
image

We are only using the `IsPodReady` function that can be rewritten easily.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ❤️

@thaJeztah
Copy link
Member

@silvin-lubecki PTAL

Copy link
Member

@chris-crone chris-crone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ❤️ 🤯

@silvin-lubecki silvin-lubecki merged commit beab929 into docker:master Dec 4, 2020
@rumpl rumpl deleted the chore-remove-kubernetes-dependency branch December 4, 2020 20:26
@thaJeztah thaJeztah added this to the 20.10.0 milestone Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants