-
Notifications
You must be signed in to change notification settings - Fork 225
Add kafkaSource saslType, e2e tests for auth (tls and sasl512) #1670
Add kafkaSource saslType, e2e tests for auth (tls and sasl512) #1670
Conversation
eventing-kafka#237 backport * Add kafkasource SASL Type * Add unit tests for NewConfig in source client * wip, Add tests, lifecycle, e2e test * Fix v1alpha1 conversion, tests * Refactor tests * Change kafkabinding sasltype json to 'Type' * Rework test call structure
action failures seem to be unrelated to the actual PR |
The following is the coverage report on the affected files.
|
@@ -192,13 +192,13 @@ func testKafkaSource(t *testing.T, name string, version string, messageKey strin | |||
defer testlib.TearDown(client) | |||
|
|||
if auth.SASLEnabled { | |||
_, err := utils.CopySecret(client.Kube.CoreV1(), "knative-eventing", kafkaSASLSecret, client.Namespace, "default") | |||
_, err := utils.CopySecret(client.Kube.Kube.CoreV1(), "knative-eventing", kafkaSASLSecret, client.Namespace, "default") |
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.
ah, yeah - that odd thing :-)
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: lberk, 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 |
knative-extensions/eventing-kafka#237 backport
Add kafkasource SASL Type
Add unit tests for NewConfig in source client
wip, Add tests, lifecycle, e2e test
Fix v1alpha1 conversion, tests
Refactor tests
Change kafkabinding sasltype json to 'Type'
Rework test call structure