operating
operating copied to clipboard
Bug: deleting CollaSet is blocked
Minimal reproduce step
There is a probability of being blocked when deleting a CollaSet with at lease one Pod.
Following codes may have problems:
- When ownedIDs is empty, UpdateToPodContext will do nothing, instead of cleaning the ResourceContext.
- CollaSet also need to watch resource ResourceContext.
What did you expect to see?
PodContext needs to be clean up, and CollaSet will then be deleted successfully.
What did you see instead
PodContext has not been deleted, holding Pod IDs, so that CollaSet will not be deleted.
What is your KusionStack components and its version?
v0.3.0