Do not allow to delete volume from brokers since it can cause constant reconcile flow
baluchicken opened this issue · 0 comments
baluchicken commented
Describe the bug
Koperator now allows to remove volumes from the kafkaclusterCR which can put the cluster state into a constant reconcile flow.
We should validate this by a webhook and do not allow to do that.
Steps to reproduce the issue:
Create a KafkaCluster using SimpleKafkaCluster
Add a new volume
Try to remove a volume
Expected behavior
Webhook should deny your request on deleting a volume.