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
Move cloud-controller-manager to staging k8s.io/cloud-provider #95740
Conversation
PR merge currently is blocked by #91474. |
/sig cloud-provider |
395cf58
to
05e3694
Compare
/test pull-kubernetes-conformance-kind-ipv6-parallel |
/milestone v1.20 |
/test pull-kubernetes-conformance-kind-ipv6-parallel |
Hi @cheftako @andrewsykim , would you please review this PR when have time? Thank you 🙏 |
/lgtm |
/approve |
/assign @liggitt |
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one comment on the import restrictions, and needs a rebase
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and | |||
limitations under the License. | |||
*/ | |||
|
|||
package app | |||
package config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was weird before... thanks for fixing this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All my comments are unblocking, thanks @cici37 !
@@ -32,7 +32,7 @@ import ( | |||
"k8s.io/apiserver/pkg/server/options" | |||
"k8s.io/cloud-provider" | |||
"k8s.io/cloud-provider/fake" | |||
cloudctrlmgrtesting "k8s.io/kubernetes/cmd/cloud-controller-manager/app/testing" | |||
cloudctrlmgrtesting "k8s.io/cloud-provider/testing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to keep this in under app
based on it's previous location (i.e. k8s.io/cloud-provider/app/testing
)?
@@ -20,8 +20,8 @@ import ( | |||
"k8s.io/apimachinery/pkg/runtime" | |||
"k8s.io/apimachinery/pkg/runtime/serializer" | |||
utilruntime "k8s.io/apimachinery/pkg/util/runtime" | |||
"k8s.io/cloud-provider/app/apis/config" | |||
"k8s.io/cloud-provider/app/apis/config/v1alpha1" | |||
"k8s.io/cloud-provider/config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package should probably be called "install" instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was referring to k8s.io/cloud-provider/config/scheme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was just going to ask^^. Thanks for the further explain :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I might also change the func name to install instead of AddToSchema
Updated the pr since last review to:
@liggitt Would you please have a look again when you have time? Thank you 🙏 |
/test pull-kubernetes-node-e2e |
/approve @cheftako has lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheftako, cici37, liggitt, sttts 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 |
/lgtm |
/retest |
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
/retest |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR is to move code under cmd/cloud-controller-manager/app to k8s.io/cloud-provider.
Will close the issue kubernetes/cloud-provider#29
Which issue(s) this PR fixes:
Fixes kubernetes/cloud-provider#29
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: