Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Conversation

@erikgb
Copy link
Contributor

@erikgb erikgb commented May 28, 2023

It seems like a dependency to k8s.io/kubernetes was added in #283. The Kubernetes project discourages importing k8s.io/kubernetes. Consumers should instead import the synced submodules. And if I am not overlooking anything, this dependency is actually not needed, as it is only used in dead code - which I have now removed.

The reason for looking into this is that I am currently working on a PR that will probably require a bump of controller-runtime. Bumping K8s dependencies are hard enough as it is. 😄

/assign @adrianludwin

@k8s-ci-robot k8s-ci-robot requested review from srampal and tashimi May 28, 2023 20:09
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 28, 2023
@mochizuki875
Copy link
Contributor

mochizuki875 commented May 29, 2023

@erikgb
As you say, k8s.io/kubernetes is not needed #283.
Thank you your fix!

@adrianludwin
Copy link
Contributor

Thanks for catching this @erikgb !

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 29, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrianludwin, erikgb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 29, 2023
@k8s-ci-robot k8s-ci-robot merged commit 168dd7e into kubernetes-retired:master May 29, 2023
k8s-ci-robot added a commit that referenced this pull request Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants