This is probably the reason #50 seemed like a fix there because the user had their Kafka set up with a listener using a listener named tls — and hence the default's tug of war between Rubin using using plain listeners, tls listeners, and our external open source users!
I think the solution we'll implement is to update how the listener name is obtained/retrieved and add an extra code path for v1beta1 that we're still using for one cluster internally.
I'm not sure we successfully enabled generic support for strimzi's v1beta1 API and different listener types after all in #11.
This is what a
Kafka
listener spec looked like in av1beta1
resource that we based the original operator implementation on:Then in the strimzi
v1beta2
API the listener schema turned into an array:So our original approach at getting the listener, which was slightly updated in #11, is actually just leaning on the
get
fallback:This is probably the reason #50 seemed like a fix there because the user had their Kafka set up with a listener using a listener named
tls
— and hence the default's tug of war between Rubin using using plain listeners, tls listeners, and our external open source users!I think the solution we'll implement is to update how the listener name is obtained/retrieved and add an extra code path for v1beta1 that we're still using for one cluster internally.