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

Rebuild the Kafka Connect image only when the rebuild annotation is set to true #10030

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Apr 27, 2024

Type of change

  • Bugfix

Description

Rebuild of the Kafka Connect image (when using the Kafka Connect Build feature) can be triggered using the strimzi.io/force-rebuild annotation. But right now, we only check if this annotation is present and not its value. So we trigger the rebuild even when the annotation is for example set to false. This PR fixes it and checks the actual value of the annotation and does the rebuild only when it is set to true.

Checklist

  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

…et to true

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.41.0 milestone Apr 27, 2024
@scholzj scholzj requested a review from ppatierno April 27, 2024 15:19
@scholzj
Copy link
Member Author

scholzj commented Apr 27, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit 4034a57 into strimzi:main Apr 28, 2024
21 checks passed
@scholzj scholzj deleted the rebuild-connect-image-only-when-the-annotation-is-set-to-true branch April 28, 2024 11:48
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.

None yet

3 participants