-
Notifications
You must be signed in to change notification settings - Fork 16
Add create method for CStoreVolumeReplica #69
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
base: master
Are you sure you want to change the base?
Conversation
Adds Get, List, Delete support for CStorVolumeReplicas Custom resource Signed-off-by: bharathpgp <[email protected]>
…1alpha1 insted of Openebs Signed-off-by: bharathpgp <[email protected]>
Signed-off-by: bharathpgp <[email protected]>
Signed-off-by: Bharath Natarajan <[email protected]>
Signed-off-by: Bharath Natarajan <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #69 +/- ##
=======================================
Coverage 42.46% 42.46%
=======================================
Files 5 5
Lines 146 146
=======================================
Hits 62 62
Misses 83 83
Partials 1 1 Continue to review full report at Codecov.
|
utils/k8s/openebscrd.go
Outdated
@@ -92,20 +92,26 @@ func (k8s K8S) DeleteDisk(diskName string, opts *meta_v1.DeleteOptions) error { | |||
return diskClient.Disks().Delete(diskName, opts) | |||
} | |||
|
|||
// GetCStorVolumeReplica returns the CStorVolumeReplica object for given CStorVolumeReplicaName and namespace | |||
// CreateCStoreVolumeReplica creats CStoreVolumeReplica for given CStoreVolumeReplica object and namespace. |
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.
Just a minor typo fix in creates
.
Rest all looks good to me.
Signed-off-by: Bharath Natarajan <[email protected]>
@Akash4927 can you close this, changes done |
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.
outdated
Fixes #67