openshift-online / maestro

Maestro Service Repo
Apache License 2.0
8 stars 15 forks source link

enhance resource deletion flow. #111

Closed morvencao closed 3 weeks ago

morvencao commented 3 weeks ago

This PR enhance the resource deletion flow by:

  1. Soft delete the resource record when the request reach to Maestro Server
  2. Publish delete cloud event to Maestro agent by setting deletionTimeStamp
  3. Agent delete the resource from cluster and publish status update with ManifestsDeleted condition
  4. Maestro check the ManifestsDeleted condition in the status update and delete the resource record permanently.
morvencao commented 3 weeks ago

/assign @qiujian16 @clyang82 @skeeey

clyang82 commented 3 weeks ago

ref: https://github.com/openshift-online/maestro/issues/101