Using the new capabilities in 1.4/3.4 create some storage classes (local-recycle, local-retain, shared-recycle, shared-retain) so that the types of storage/PV you get will follow the requirements from the user.
Add commands to create-volume and create-shared-volume to add the appropriate annotation to your classes, and add a command to label your PVC with this annotations so they claim/bind the appropriate storage.
Using the new capabilities in 1.4/3.4 create some storage classes (local-recycle, local-retain, shared-recycle, shared-retain) so that the types of storage/PV you get will follow the requirements from the user.
Add commands to create-volume and create-shared-volume to add the appropriate annotation to your classes, and add a command to label your PVC with this annotations so they claim/bind the appropriate storage.
See https://docs.openshift.org/latest/install_config/storage_examples/storage_classes_legacy.html and https://docs.openshift.org/latest/install_config/persistent_storage/dynamically_provisioning_pvs.html#basic-spec-defintion