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

Annotate StrimziPodSets before rolling during CA renewal #10711

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

katheris
Copy link
Contributor

Type of change

Select the type of your PR

  • Bugfix

Description

Update the CaReconciler to annotate the StrimziPodSets with the new CA cert generations before it rolls the Kafka nodes.

Checklist

Please go through this checklist and make sure all applicable tasks have been done

  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Check RBAC rights for Kubernetes / OpenShift roles
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging
  • Update CHANGELOG.md
  • Supply screenshots for visual changes, such as Grafana dashboards

@katheris katheris added this to the 0.44.0 milestone Oct 14, 2024
@katheris katheris marked this pull request as ready for review October 14, 2024 13:10
@katheris katheris requested a review from a team October 14, 2024 13:11
@scholzj
Copy link
Member

scholzj commented Oct 15, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Katherine Stanley <[email protected]>
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, LGTM otherwise.

.flatMap(podSet -> ReconcilerUtils.nodesFromPodSet(podSet).stream())
.collect(Collectors.toSet()));
} else {
return Future.succeededFuture(new LinkedHashSet<>());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be just Set.of(), or? Or is something added to it later? I don't think so.

@scholzj
Copy link
Member

scholzj commented Oct 16, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Katherine Stanley <[email protected]>
@ppatierno
Copy link
Member

@katheris there seems to be checkstyle errors to be fixed.

Signed-off-by: Katherine Stanley <[email protected]>
@scholzj
Copy link
Member

scholzj commented Oct 17, 2024

/azp run zookeeper-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit dcaa5e4 into strimzi:main Oct 17, 2024
21 checks passed
@scholzj
Copy link
Member

scholzj commented Oct 17, 2024

Thanks for the PR.

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.

3 participants