chaosblade-io / chaosblade-operator

chaosblade operator for kubernetes experiments
Apache License 2.0
164 stars 101 forks source link

fix:avoid duplicate deletion of experiment #205

Closed laserproall closed 1 year ago

laserproall commented 1 year ago

Describe what this PR does / why we need it

Change status.phase of chaosblade to 'Destroyed' when the experiment was destroyed,and therefore operator will not only delete CR of chaoblade,but avoid actually destroying experiment for the second time as well.

Does this pull request fix one issue?

Fixes #203

Describe how you did it

Describe how to verify it

Special notes for reviews