Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix naming of bootstrap service for oddly named listener #11016

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Jan 7, 2025

Type of change

  • Bugfix

Description

When using a type: internal listener with the name external and port 9094, the backward compatibility naming will use the my-cluster-kafka-external-bootstrap as the service name for it. This name is wrong and should be used only for listeners named external with port 9094 that are not type: internal. This service is never created, but the incorrect name is used in the Kafka CR .status section.

This PR also simplifies some other methods that provide some backward compatible naming to really distinguish the backward compatible cases only where needed and simply the conditions where it is not needed.

Checklist

  • Write tests
  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.46.0 milestone Jan 7, 2025
@scholzj scholzj requested a review from ppatierno January 7, 2025 15:41
@scholzj
Copy link
Member Author

scholzj commented Jan 7, 2025

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ppatierno ppatierno merged commit 962f663 into strimzi:main Jan 8, 2025
21 checks passed
@scholzj scholzj deleted the fix-incorrect-naming-of-internal-services-for-oddly-named-listener branch January 8, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants