Rename unreleased v1 client apis to v1betaX#134
Rename unreleased v1 client apis to v1betaX#134k8s-ci-robot merged 2 commits intokubernetes-csi:masterfrom
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. DetailsInstructions 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.
@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)
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
andyzhangx
left a comment
There was a problem hiding this comment.
/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.
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.
Will it be possible to not regenerate the protobufs for existing/released API versions?
There was a problem hiding this comment.
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" |
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 DetailsNeeds 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?: