-
Notifications
You must be signed in to change notification settings - Fork 70
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
[ON HOLD]feature annotation for snapshotclass provisioner #102
base: main
Are you sure you want to change the base?
[ON HOLD]feature annotation for snapshotclass provisioner #102
Conversation
Does it follow the CSI spec? If it's not following the spec, I don't think we should patch velero to support it. |
K8s CSI spec does NOT require the two names (provisioner and driver) be the same. So I believe it is a valid case. |
3839eba
to
c1d61ca
Compare
Signed-off-by: Ning Ding <[email protected]>
c1d61ca
to
c1723de
Compare
CSI Spec doesn't define this part that snapshot driver name must be same to corresponding storage class provisioner name for same storage. I think it's a kind of common convention that most vendors follow it with above corner case from huawei cloud. |
@jerry-jibu sorry for the late response, as we synced offline with jibu folks, this is a corner case due to impl of Huawei's CSI driver, I suggest we hold this PR until there are more of such use cases. |
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.
Blocking the merge of this PR, until we reach consensus
Signed-off-by: Ning Ding [email protected]
Feature
Add a new annotation in snapshotclass to let user input the provisioner name, as some CSI providers have different provisioner name and driver name.
Example
In one cloud provider, the csi snapclass driver name is
disk.csi.everest.io
, but the storageclass provisioner name iseverest-csi-provisioner
.So with this PR feature, user can add annotation in snapclass to let velero find the correct snapclass.
velero.io/csi-volumesnapshot-class-provisioner=everest-csi-provisioner