-
Notifications
You must be signed in to change notification settings - Fork 336
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
fix storageclass comparion for pvc datasource #325
fix storageclass comparion for pvc datasource #325
Conversation
compare storage class string, instead of comparing the string address. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
/assign @msau42 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: j-griffith, 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 |
@j-griffith @msau42 what's about the image version that I can use for clone? |
@zhucan You'll need at least 1.4.0-rc1 of the provisioner to include this bug fix. |
@j-griffith copy that, thanks. I have a question that if I have created a pvc by external-provisioner(version is v1.1.0), I can't do clone for the pvc by new external-provisioner(version is v1.4.0-rc1)? There are some logs for it |
@j-griffith logs: |
@zhucan version used during create of the source shouldn't matter at all; That message you show in the logs indicates that there is no SC set in the destination PVC being created. If you do in fact have an SC set in the new PVC spec or there is a default class that should be picked up you may have found a bug. I'd suggest opening a GH issue with some details including your yaml files. |
@j-griffith ok |
…-file Clean up .travis.yml
/kind bug
What this PR does / why we need it:
Compare storage class string, instead of comparing
the string address.
Signed-off-by: Madhu Rajanna madhupr007@gmail.com
Which issue(s) this PR fixes:
Fixes #308
Special notes for your reviewer:
Backport from master to 1.3
Does this PR introduce a user-facing change?: