forked from rook/rook
In the Alpha Version of the VolumeGroupSnapshot Feature the flag to enable the feature was `--enable-volume-group-snapshots=true` and in the beta API the feature is diasbled by default to enable it we need to set `--feature-gate=CSIVolumeGroupSnapshot=true` There is a change in the flag between the API version This PR add a code where we choose the required flag based on the API version. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>