Commit Graph

9 Commits

Author SHA1 Message Date
Cody Jackson 23ca0881ee Make the capacity of a PVC match a PV when selected
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
2021-02-26 04:10:48 -07:00
codyrancher caf2b6fb3e
Merge pull request #2426 from codyrancher/longhorn
Resolving a number of issues around pv/pvc/storageclass regarding longhorn
2021-02-25 10:29:47 -07:00
Cody Jackson 04d164a594 Replacing the custom related workloads and events tabs on the PVC page
rancher/dashboard#2430
2021-02-25 03:16:07 -07:00
Cody Jackson 544d83733c Resolving a number of issues around pv/pvc/storageclass regarding longhorn
- 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#2415
rancher/dashboard#2416
rancher/dashboard#2380
rancher/dashboard#2420
rancher/dashboard#2429
2021-02-25 02:29:27 -07:00
Richard Cox e2674cace1 Ensure PVC clone retains Request Storage & Access Modes values
- these were overwritten by the model's applyDefaults and a default component value
- we now handle clone in both cases
2021-02-23 15:08:48 +00:00
Cody Jackson 73bd8a90e1 Migrating the PersistentVolumeClaim pages
rancher/dashboard#2216
2021-02-19 09:11:35 -07:00
Nancy Butler 10f2b5847a fix one action buttondropdown
fix file mode octal/decimal

not ephemeral vols
2020-10-19 09:17:18 -07:00
Nancy Butler c51e48e25a fix pvc create in workload 2020-10-01 14:08:42 -07:00
Nancy cf3071b54e
Rename PersistentVolumeClaim.vue to persistentvolumeclaim.vue 2020-09-30 10:03:18 -07:00