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

Remove PKCS12 files from the server certificate secrets #10044

Merged

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Apr 30, 2024

Type of change

  • Refactoring

Description

This PR removes the PKCS12 files from the internal secrets used by components of the Kafka cluster. This includes the server certificates of Kafka, Zoo or CC as well as the client certificates of KE, UO, TO, and CO. We added the KCS12 long time ago. But never really used them in most places. Removing them simplifies the code and its testing and makes the Secrets smaller.

This does nto impact the PKCS12 files int he CA secrets or in the User secrets. Those are expected to be used by users and we want to keep them.

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.41.0 milestone Apr 30, 2024
@scholzj
Copy link
Member Author

scholzj commented Apr 30, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Apr 30, 2024

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented May 1, 2024

/azp run kraft-regression

@scholzj scholzj marked this pull request as ready for review May 1, 2024 12:33
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj requested review from ppatierno and katheris May 1, 2024 12:33
Copy link
Contributor

@katheris katheris left a comment

Choose a reason for hiding this comment

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

LGTM, just small nit around using different constructor for CertAndKey

Signed-off-by: Jakub Scholz <www@scholzj.com>
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.

@scholzj scholzj merged commit ba78574 into strimzi:main May 2, 2024
13 checks passed
@scholzj scholzj deleted the remove-PKCS12-files-from-server-certificates branch May 2, 2024 14:01
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