When creating a PVC from an existing PV ember would set the capacity of the PVC to be the capacity of the selected PV. This adds that same behavior.
As a part of this I reset the value of the pv when switching sources to be consistent and to force the user to select the pv in order to trigger setting the capacity in case the value was changed by switching between sources.
rancher/dashboard#2448
- There was a problem with the longhorn driver not being set so this is
now set
- In some versions of the rancher backend a pvc couldn't be bound to a
pv because the storageClassName was expected to be empty
- The wrong storage class name was being shown when a persistent volume
was bound also caused by storageClassName not being empty
- A field should've been marked as required
- Change default values for longhorn
- Clear unset parameters for storage classes
rancher/dashboard#2415rancher/dashboard#2416rancher/dashboard#2380rancher/dashboard#2420rancher/dashboard#2429