-
Notifications
You must be signed in to change notification settings - Fork 62
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
Rename unreleased v1 client apis to v1betaX #134
Rename unreleased v1 client apis to v1betaX #134
Conversation
Hi @mauriciopoppe. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
diskv1client "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1" | ||
v1client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1" | ||
v1alpha1client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1" | ||
diskv1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" |
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.
@jingxu97 @ddebroy please review this file, after reading some part of it it didn't make sense to use alpha apis anymore so I'm only using v1beta apis but I wanted to confirm if this is ok because there were some places where the alpha and the beta client were created explicitly (i.e. it was not a single client per api)
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.
The changes LGTM
3296f0a
to
6a8f9df
Compare
1748b16 Merge pull request kubernetes-csi#136 from pohly/go-1.16 ec844ea remove travis.yml, Go 1.16 df76aba Merge pull request kubernetes-csi#134 from andyzhangx/add-build-arg e314a56 add build-arg ARCH for building multi-arch images, e.g. ARG ARCH FROM k8s.gcr.io/build-image/debian-base-${ARCH}:v2.1.3 git-subtree-dir: release-tools git-subtree-split: 1748b16b488381c34a86ddbee110e9ed523bcb20
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.
/ok-to-test
Are we downgrading from v1 api to beta? Why?
We went through CSI-proxy API GA review, and got some feedback, there will be quite some API changes. The current V1 (which is not yet released) will not be used. |
Since we haven't released v1 yet, it's ok to make changes to it. |
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.
Is it possible to pin the protoc versions for the previous API version so those client go files do not change? (some reference on the prior version used: https://kubernetes.slack.com/archives/CN5JCCW31/p1581058384084900)
Otherwise LGTM! Thanks @mauriciopoppe
client/api/disk/v1alpha1/api.pb.go
Outdated
@@ -1,424 +1,693 @@ | |||
// Code generated by protoc-gen-go. DO NOT EDIT. | |||
// versions: |
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.
Will it be possible to not regenerate the protobufs for existing/released API versions?
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.
sure, I'll revert the changes for other non v1betaX apis
diskv1client "github.com/kubernetes-csi/csi-proxy/client/groups/disk/v1" | ||
v1client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1" | ||
v1alpha1client "github.com/kubernetes-csi/csi-proxy/client/groups/volume/v1alpha1" | ||
diskv1beta3 "github.com/kubernetes-csi/csi-proxy/client/api/disk/v1beta3" |
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.
The changes LGTM
6a8f9df
to
5473cda
Compare
5473cda
to
6dff405
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jingxu97, mauriciopoppe 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 |
What type of PR is this?
/kind api-change
What this PR does / why we need it:
Background: https://docs.google.com/document/d/1sBP8f_mwV0N_xRRQQGDwHZpU_nTHtpFxdi7LKSUtgX0/edit#heading=h.bag869lp4lyz
Rename the v1 (unreleased) apis to v1betaX
This is preparation work for the refactors in #130, #131, #132 and #133
Does this PR introduce a user-facing change?: