-
Notifications
You must be signed in to change notification settings - Fork 19
Description
As of v0.14.0 of the Pulsar resources operator, when a Pulsar resource which is created via a CustomResource is manually updated or deleted outside of k8s (say from the pulsar-admin CLI), the resource is not reconciled back to the desired state as defined in the CustomResource. I'd expect the Pulsar resources operator to be continuously driving these resources towards the intended state, as defined by the CRs.
These cases should be fairly easy to reproduce:
Update Reconciliation
- Create a Pulsar namespace using the PulsarNamespace CRD and set
messageTTL
to 6h - Update the Pulsar namespace outside of k8s (via pulsar-admin, pulsarctl, console, etc) to have a 12h message TTL
Expected Behavior
message TTL is reconciled back to 6h
Current Behavior
Pulsar namespace is not changed back. Message TTL stays at 12h until the PulsarNamespace CR is updated, after which the message TTL is reset to 6h
Delete Reconciliation
- Create a Pulsar topic using the PulsarTopic CRD
- Delete the Pulsar topic manually
Expected Behavior
Pulsar topic is recreated, it has a CR defined for it and should exist
Current Behavior
Pulsar topic is never re-created until the PulsarTopic CR is updated