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

Improve validation of certificates in DefaultAdminClientProvider #9749

Merged

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Feb 28, 2024

Type of change

Select the type of your PR

  • Bugfix
  • Enhancement / new feature
  • Refactoring
  • Documentation

Description

This PR improves the validation of the secrets with TLS certificates in the DefaultAdminClientProvider. That should prevent throwing null pointer exceptions and throw instead exceptions with proper error messages explaining what the issue is.

This relates to #9740

Checklist

  • Write tests
  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.40.0 milestone Feb 28, 2024
@scholzj
Copy link
Member Author

scholzj commented Feb 28, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj linked an issue Feb 28, 2024 that may be closed by this pull request
@scholzj scholzj merged commit 17db0ad into strimzi:main Feb 29, 2024
21 checks passed
@scholzj scholzj deleted the improve-admin-client-provider-validation branch February 29, 2024 13:52
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.

[Bug]: standalone user-operator not working
2 participants