generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed as not planned
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
If a PVC's dataSourceRef is deleted, syncPVC will exit early:
c.recorder.Eventf(pvc, corev1.EventTypeWarning, reasonDataSourceNotFound, "Data source %s/%s not found", dataSourceRefNamespace, dataSourceRef.Name) |
This is fine is the PVC transfer is not yet complete, but if a partial transfer is in progress, this prevents cleanup of the PVC. The fix should be to check if a PVC is in Terminating status, and continue to reconcile towards deletion, even in the absence of a dataSourceRef.
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.