-
Notifications
You must be signed in to change notification settings - Fork 382
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
Remove v1beta1 APIs and generated functions #704
Conversation
type: string | ||
description: parameters is a key-value map with storage driver specific parameters for creating snapshots. These values are opaque to Kubernetes. | ||
description: parameters is a key-value map with storage driver specific | ||
parameters for creating snapshots. These values are opaque to 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.
"storage: false" should be "storage: true"
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.
fixed
type: string | ||
type: object | ||
oneOf: | ||
- required: ["snapshotHandle"] | ||
- required: ["volumeHandle"] |
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.
Why are these removed?
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.
Its listed as a step to perform under update-crd.sh
here - https://github.com/kubernetes-csi/external-snapshotter/tree/master/client/hack
Not sure of the exact reasoning
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 "oneOf" needs to be manually added. I am wondering why it is removed.
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.
@RaunakShah i think @xing-yang saying right here in this script here it's mentioned that we should have to kept oneOf
constraint to make sure only one of snapshotHandle
volumeHandle
is specified in source field.
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.
Ah I think I misread the document, thanks! I've added it back
/retest |
1 similar comment
/retest |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RaunakShah, xing-yang 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 |
@RaunakShah can you backport this to release-6.0? |
what is the tracking issue for this change? |
This can use the general VolumeSnapshot enhancement issue: kubernetes/enhancements#177 (comment) |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR removes the
VolumeSnapshot
v1beta1
APIs. It was deprecated in an earlier release and will be removed fromrelease-6.0
onwards.Also make changes to the generated functions, scripts and README.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: