-
Notifications
You must be signed in to change notification settings - Fork 39k
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
New client-go structure #34989
New client-go structure #34989
Conversation
convert e2e tests of client-go to use version options
extensions "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" | ||
policy "k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1" | ||
"k8s.io/client-go/1.5/pkg/util/intstr" | ||
"k8s.io/client-go/kubernetes" |
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.
I guess my test was the only one that was using 1.5 directly. This rename looks easy, but what if some test wants to use an old API. For example, suppose we have some bug that was tickled specifically by, say, the 1.3 client. Will we be able to write such tests?
I'm guessing if anyone wants to write a test like that, they'll have to specifically vendor in that version of the client.
You need a release note, but LGTM. |
Actually I don't think we need a release note. The new versioning plan is described in the README file of the client-go repository. I marked it as |
Jenkins GCI GKE smoke e2e failed for commit 923757f. Full PR test history. The magic incantation to run this job again is |
Automatic merge from submit-queue |
This PR is part of restructuring client-go (kubernetes/client-go#9 (comment)). In short, the top-level folder for client-go versions are removed.
This PR also runs copy.sh to pick up changes in the main repository. The number of files in client-go has increase from 1361 files to 1405.
@mbohlool @mml @timoreimann
This change is