Open jeffvance opened 5 years ago
Once an orphaned OB is found, do we also want to delete/revoke the back backing bucket? If the answer is yes, then we may not be able to implement this as a centralized controller. The delete/revoke methods would be unique to individual provisioners.
Following k8s pv controller, the central controller may only Update the OB phase to "released". Then the appropriate provisioner will respond to the update event by checking the phase and if marked "released", carries out a delete/revoke.
Note: per issue #131, having the lib add a finalizer to the OBC may be the simplest and least error prone way to protect against orphaned OBs.
The current design has the potential for orphaned OBs. Per the original design doc:
and