Skip to content
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(VERSION): remove version dependency during volume provisioning #97

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

mittachaitu
Copy link

Signed-off-by: mittachaitu sai.chaithanya@mayadata.io

What this PR does:
This PR does the following changes

  • Removes the dependency with CVC Version during volume
    provisioning.
  • Updates the VERSION variable with ${CURRENT_BRANCH_NAME}-dev
    during build time

Why we need this PR:
This PR is required to break the dependency with CVC-Operator
during volume provisioning. Below are the existing steps performed
during volume provisioning:

  • CSI driver receives volume create requests and creates CVC with VERSION details
  • CVC controller will reconcile for CVCs only if cvc.VersionDetails.Status.Current
    matches to VERSION value in CVC controller. If reconciliation doesn't happen then
    CStorVolume resources will not create hence the application will not get OpenEBS volume.

Which issue(s) this PR fixes:
Fixes # openebs-archive/cstor-operators#108

Special notes for your reviewer:

  • This PR is continuation of PR fix(VERSION): delete VERSION file from repo #94
    Checklist
  • PR messages has document related information
  • Labelled this PR & related issue with documentation tag
  • PR messages has breaking changes related information
  • PR messages has upgrade related information
  • Labelled this PR & related issue with requires-upgrade tag
  • Tests updated

This PR does the following changes
- Removes the dependency with CVC Version during volume
  provisioing.
- Updates the VERSION variable with ${CURRENT_BRANCH_NAME}-dev
  during build time
Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
@codecov-commenter
Copy link

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   63.88%   63.88%           
=======================================
  Files           7        7           
  Lines         335      335           
=======================================
  Hits          214      214           
  Misses        108      108           
  Partials       13       13           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68bb336...fcb604f. Read the comment docs.

Copy link

@pawanpraka1 pawanpraka1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

Copy link
Contributor

@prateekpandey14 prateekpandey14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@prateekpandey14 prateekpandey14 merged commit f93924d into openebs-archive:master Jun 29, 2020
mittachaitu pushed a commit to mittachaitu/cstor-csi that referenced this pull request Jun 29, 2020
…enebs-archive#97)

This PR does the following changes
- Removes the dependency with CVC Version during volume
  provisioing.
- Updates the VERSION variable with ${CURRENT_BRANCH_NAME}-dev
  during build time

Signed-off-by: mittachaitu <sai.chaithanya@mayadata.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants