csm
csm copied to clipboard
[FEATURE]: improve repctl storageClass creation to support any parameters and extra field
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 :
- Do the permutation when necessary (aka it has the sub-param source & target)
- 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: 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].