streamnative / pulsar-resources-operator

Apache License 2.0
34 stars 15 forks source link

Delete resources' cr if pulsar cluster doesn't exist #236

Closed yaalsn closed 2 months ago

yaalsn commented 2 months ago

Motivation

If the pulsar cluster is deleted before the resources' CR deleted, the CRs cannot deleted anymore because they always try to connect to the pulsar cluster.

Verifying this change

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

Documentation

Check the box below.

Need to update docs?