mirror of https://github.com/k3s-io/k3s
Remove conditions from PVC after successful resize
parent
51033c4dec
commit
c0353ca20c
|
@ -1272,6 +1272,7 @@ func updatePVCStatusCapacity(pvcName string, pvc *v1.PersistentVolumeClaim, capa
|
|||
}
|
||||
|
||||
pvcCopy.Status.Capacity = capacity
|
||||
pvcCopy.Status.Conditions = []v1.PersistentVolumeClaimCondition{}
|
||||
newData, err := json.Marshal(pvcCopy)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue