csm icon indicating copy to clipboard operation
csm copied to clipboard

[FEATURE]: improve repctl storageClass creation to support any parameters and extra field

Open coulof opened this issue 2 years ago • 1 comments

Describe the solution you'd like The current repctl create sc template allows only a limited set of hard-coded values. If we want to create a StorageClass with parameters like allowVolumeExpansion, mountOptions, fsType, they are ignored.

Ideally we want to :

  1. Do the permutation when necessary (aka it has the sub-param source & target)
  2. Copy all parameters (aka the ones without source & target)

This can be achieved by making the templates more generic than they are today : https://github.com/dell/csm-replication/tree/main/repctl/pkg/cmd/templates

coulof avatar Sep 27 '22 06:09 coulof

@coulof: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at [email protected].

csmbot avatar Oct 28 '22 13:10 csmbot