cluster-logging-operator icon indicating copy to clipboard operation
cluster-logging-operator copied to clipboard

LOG-2285: Fix disabling certificate validation for Kafka output

Open xperimental opened this issue 3 years ago • 36 comments

Description

During #1548 I failed to realize that the Kafka output for vector does not use the common tls.* options for disabling validation of the certificate.

This PR fixes two issues with the Kafka output:

  • TLS was not enabled if the URL contained a tls:// scheme but the secret did not contain any other TLS options
  • Use Kafka's custom option to disable verification of the certificate

/cc @cahartma /assign @alanconway

Links

xperimental avatar Aug 10 '22 17:08 xperimental

/approve

jcantrill avatar Aug 10 '22 20:08 jcantrill

/retest

jcantrill avatar Aug 10 '22 20:08 jcantrill

/retest

e2e test timed out during deprovisioning.

xperimental avatar Aug 11 '22 16:08 xperimental

/retest

xperimental avatar Aug 14 '22 20:08 xperimental

/lgtm

jcantrill avatar Aug 16 '22 16:08 jcantrill

/retest-required

Remaining retests: 2 against base HEAD 3f272124c5faacec7ec8887842b260804b04265a and 8 for PR HEAD c5fe39efc6b0b519c40ac0ed3471ef9584c63fff in total

openshift-ci-robot avatar Aug 16 '22 17:08 openshift-ci-robot

/retest-required

Remaining retests: 1 against base HEAD 3f272124c5faacec7ec8887842b260804b04265a and 7 for PR HEAD c5fe39efc6b0b519c40ac0ed3471ef9584c63fff in total

openshift-ci-robot avatar Aug 16 '22 17:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 3f272124c5faacec7ec8887842b260804b04265a and 6 for PR HEAD c5fe39efc6b0b519c40ac0ed3471ef9584c63fff in total

openshift-ci-robot avatar Aug 16 '22 19:08 openshift-ci-robot

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alanconway, jcantrill, xperimental

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:
  • ~~OWNERS~~ [alanconway,jcantrill]

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Aug 16 '22 22:08 openshift-ci[bot]

/retest

xperimental avatar Aug 17 '22 11:08 xperimental

/retest

xperimental avatar Aug 17 '22 14:08 xperimental

I'm trying my luck with a rebase to the current master. Needs another lgtm though ...

xperimental avatar Aug 17 '22 15:08 xperimental

/lgtm

alanconway avatar Aug 23 '22 19:08 alanconway

/retest-required

Remaining retests: 2 against base HEAD 7b576316155449d364796e2b850c0fb9bcd1bd3f and 8 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 23 '22 19:08 openshift-ci-robot

/retest-required

Remaining retests: 1 against base HEAD 7b576316155449d364796e2b850c0fb9bcd1bd3f and 7 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 23 '22 21:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 7b576316155449d364796e2b850c0fb9bcd1bd3f and 6 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 23 '22 22:08 openshift-ci-robot

/retest-required

Remaining retests: 2 against base HEAD 7f58d37d11bfe887ab240afeadb2d1741e97445d and 5 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 24 '22 18:08 openshift-ci-robot

/retest-required

Remaining retests: 1 against base HEAD 7f58d37d11bfe887ab240afeadb2d1741e97445d and 4 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 24 '22 21:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 7f58d37d11bfe887ab240afeadb2d1741e97445d and 3 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 24 '22 23:08 openshift-ci-robot

/retest

xperimental avatar Aug 25 '22 16:08 xperimental

/retest-required

Remaining retests: 2 against base HEAD 517309f792215cd77ab6f071a42277065352012b and 2 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 26 '22 16:08 openshift-ci-robot

/retest-required

Remaining retests: 1 against base HEAD 517309f792215cd77ab6f071a42277065352012b and 1 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 26 '22 17:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 517309f792215cd77ab6f071a42277065352012b and 0 for PR HEAD 041e469dccf0f581f6d75592c65c7484b0b6bdb2 in total

openshift-ci-robot avatar Aug 26 '22 20:08 openshift-ci-robot

/hold

Revision 041e469dccf0f581f6d75592c65c7484b0b6bdb2 was retested 9 times: holding

openshift-ci-robot avatar Aug 26 '22 23:08 openshift-ci-robot

/retest-required

xperimental avatar Aug 27 '22 15:08 xperimental

/retest-required

xperimental avatar Aug 29 '22 09:08 xperimental

/unhold

xperimental avatar Aug 29 '22 09:08 xperimental

/retest-required

xperimental avatar Aug 30 '22 10:08 xperimental

/lgtm

alanconway avatar Aug 30 '22 18:08 alanconway

/retest-required

Remaining retests: 2 against base HEAD 5de4a1700a852e6774d12b53eed0c26df16faf06 and 8 for PR HEAD cdd563968ae2f145ca344c07d4c484d24553c9c1 in total

openshift-ci-robot avatar Aug 30 '22 18:08 openshift-ci-robot