diff --git a/pkg/models/controllers/pvcs.go b/pkg/models/controllers/pvcs.go index 38a20dfc8..09e794888 100644 --- a/pkg/models/controllers/pvcs.go +++ b/pkg/models/controllers/pvcs.go @@ -38,8 +38,12 @@ func (ctl *PvcCtl) generateObject(item *v1.PersistentVolumeClaim) *Pvc { name := item.Name namespace := item.Namespace - status := fmt.Sprintf("%s", item.Status.Phase) createTime := item.CreationTimestamp.Time + status := fmt.Sprintf("%s", item.Status.Phase) + if item.DeletionTimestamp != nil { + status = "Terminating" + } + var capacity, storageClass, accessModeStr string if createTime.IsZero() {