-
Notifications
You must be signed in to change notification settings - Fork 225
contrib/kafka: support cert, key, and caCert in spec.net.tls #407
Conversation
Hi @danp. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
can you look at the tests?
On Fri 10. May 2019 at 16:19, covbot ***@***.***> wrote:
The following is the coverage report on pkg/.
Say /test pull-knative-eventing-sources-go-coverage to re-run this
coverage report
File Old Coverage New Coverage Delta
contrib/kafka/pkg/adapter/adapter.go
<https://storage.cloud.google.com/knative-prow/pr-logs/pull/knative_eventing-sources/407/pull-knative-eventing-sources-go-coverage/1126853364634619907/artifacts/line-cov.html#file0>
14.5% 8.8% -5.8
contrib/kafka/pkg/reconciler/resources/receive_adapter.go
<https://storage.cloud.google.com/knative-prow/pr-logs/pull/knative_eventing-sources/407/pull-knative-eventing-sources-go-coverage/1126853364634619907/artifacts/line-cov.html#file2>
100.0% 91.7% -8.3
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#407 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABGPTULEDUBH27SFSEM4I3PUWAARANCNFSM4HMDCZHQ>
.
--
Sent from Gmail Mobile
|
Added tests for newTLSConfig and verifyCertSkipHostname in pkg/adapter which helped coverage there. |
Builds on the general spec.net.tls.enable attribute to support client certificates and keys and server CA certs.
And went ahead and added another test to pkg/reconciler/resources which should get that back to 100%. |
The following is the coverage report on pkg/.
|
// appendEnvFromSecretKeyRef returns env with an EnvVar appended | ||
// setting key to the secret and key described by ref. | ||
// If ref is nil, env is returned unchanged. | ||
func appendEnvFromSecretKeyRef(env []corev1.EnvVar, key string, ref *corev1.SecretKeySelector) []corev1.EnvVar { |
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 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danp, matzew The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Proposed Changes
Release Note