Skip to content

Commit ab8ae55

Browse files
author
Daniel Vaseekaran
committed
Experimenting with PVC Reconcilation
1 parent 7be343a commit ab8ae55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/resources/kafka/kafka.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ func (r *Reconciler) Reconcile(log logr.Logger) error {
297297

298298
brokersVolumes := make(map[string][]*corev1.PersistentVolumeClaim, len(r.KafkaCluster.Spec.Brokers))
299299
for _, broker := range r.KafkaCluster.Spec.Brokers {
300+
if broker.BrokerConfigGroup == "controllerGroup" {
301+
continue
302+
}
300303
brokerConfig, err := broker.GetBrokerConfig(r.KafkaCluster.Spec)
301304
if err != nil {
302305
return errors.WrapIf(err, "failed to reconcile resource")

0 commit comments

Comments
 (0)