Created attachment 1720895 [details]
Description of problem:
When creating a pvc from web-console, in the config page, there is no spec.volumeMode to specify, also there is no this parameter when click "Edit YAML" page. This is an important parameter if user need a block volume (default value is "Filesystem"), and now it is no friendly to user.
Please add this in pvc creation, we can use "Filesystem" as default value.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
There is no spec.volumeMode to specify when creating pvc from web-console
The volumeMode could be specified when creating pvc from web-console
Created attachment 1720898 [details]
1. on Create Persistent Volume Claim page, we can see `Volume Mode` selection with values `Filesystem` and `Block`
2. in the default PVC YAML, we now show 'volumeMode' fields with default value 'Filesystem'
This is checked against 4.7.0-0.nightly-2020-10-21-001511, moving to VERIFIED
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.