-
Notifications
You must be signed in to change notification settings - Fork 200
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
Add option to provide API Group for customizable PKI #966
Conversation
Quick question @shubhamcoc - have you tested it with cert-manager in an actual k8s cluster? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM at a first glance, I will wait for manual test verification before merging
Hi @panyuenlau, @pregnor Do you guys mean testing in kind cluster or we need some kind of customized cert manager for testing? |
What I mean by testing is to:
A |
Hi @pregnor, @panyuenlau I have tested it and it was able to create the user certificate with name example-kafkauser-with-pki. |
I also verified with
Where
The resulting
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I also see that improvements of the relevant tests can be made in
func TestReconcileUserCertificate(t *testing.T) { |
But I think I will open another PR for improving the existing tests once I get a chance
@@ -182,7 +183,7 @@ func (c *certManager) clusterCertificateForUser( | |||
} | |||
|
|||
// getCA returns the CA name/kind for the KafkaCluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should modify the description to name/kind/group
Description
Ability to add API group for the customizable PKI provided by the user.
Type of Change
Checklist