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
[KEP-3751] introduce the VolumeAttributesClass API #121104
Conversation
/retest |
/assign @jpbetz |
1625f17
to
6c33c32
Compare
done. |
unit test failure: #121627 |
6c33c32
to
56ab6c5
Compare
/lgtm |
LGTM label has been added. Git tree hash: cef5c945c350b501139606ae59f409d58eb264fa
|
/assign @deads2k |
/assign @liggitt |
/approve |
/approve |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: apelisse, carlory, jpbetz, liggitt, msau42 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 |
/retitle [KEP-3751] introduce the VolumeAttributesClass 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.
Hi, carlory:
Sorry to leave comment on your PR. I have a quick question would to ask for about how to generate this core/v1/generated.pb.go from go struct definition in core/v1/types.go file.
We have a use case that we define a CRD in go struct, and we need to generate the proto related methods for marshal/unmarshal. But we could not successfully generate them.
We are trying to use protoc-gen-gogo and go-to-protobuf, but could not make fully work.
Do you mind share what's the commands should be used to auto gen "core/v1/generated.proto" and "core/v1/generated.pb.go" files based on core/v1/types.go file?
Really appreciate your help and answers.
Di
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 kubernetes repo provides a lot of useful scripts under the hack directory, I ran the make update
to generate all necessary files in this pr. the CRD doesn't support protobuf, so I am wondering why you need use generated funcs to produce/consume proto format bytes. It cannot recongized by the kube-apiserver.
What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
Which issue(s) this PR fixes:
Part of kubernetes/enhancements#3751
Fixes #119297
Special notes for your reviewer:
based on #118863
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: