-
Notifications
You must be signed in to change notification settings - Fork 120
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
Propagate trust bundles in the data plane contract #3605
Propagate trust bundles in the data plane contract #3605
Conversation
This is the follow up to knative-extensions#3594 for the control plane reconcilers. - Refactor prober's clients to use `DialTLSContext` to dynamically pass TLS config based on the current values of the trust bundles + CACerts field Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3605 +/- ##
============================================
- Coverage 63.04% 62.70% -0.34%
- Complexity 843 844 +1
============================================
Files 183 183
Lines 12485 12512 +27
Branches 270 270
============================================
- Hits 7871 7846 -25
- Misses 4011 4056 +45
- Partials 603 610 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
a565447
to
d827251
Compare
/retest-required |
e35c4cb
to
2c05029
Compare
/test unit-tests |
2c05029
to
52adb93
Compare
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
52adb93
to
14072f5
Compare
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
c0ef4a8
to
261d2d7
Compare
@Cali0707 I think I'm close to have fixed all the tests, can you give it a early review and I'll take a look tomorrow ? |
/test unit-tests |
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.
Just a few questions, but it generally makes sense!
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
/retest-required |
/test reconciler-tests |
1 similar comment
/test reconciler-tests |
/cc @Cali0707 |
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
/retest |
1 similar comment
/retest |
/retest-required |
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.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cali0707, pierDipi 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 |
/retest |
/unhold |
…s#3605) * Propagate trust bundles in the data plane contract This is the follow up to knative-extensions#3594 for the control plane reconcilers. - Refactor prober's clients to use `DialTLSContext` to dynamically pass TLS config based on the current values of the trust bundles + CACerts field Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add E2E tests Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add consumer group and consumer CA certs status propagation Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add comment to clarify PEM trust bundle validation Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Format code Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Set subscriberCACerts when scaled to 0 Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add CA certs fields to KafkaChannel CRD Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Pass CA certs to contract for channel Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
* Support adding trust bundles to data place HTTP clients (knative-extensions#3594) This is the data plane only part related to the trust-manager integration: knative/eventing#7532 Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Propagate trust bundles in the data plane contract (knative-extensions#3605) * Propagate trust bundles in the data plane contract This is the follow up to knative-extensions#3594 for the control plane reconcilers. - Refactor prober's clients to use `DialTLSContext` to dynamically pass TLS config based on the current values of the trust bundles + CACerts field Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add E2E tests Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add consumer group and consumer CA certs status propagation Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add comment to clarify PEM trust bundle validation Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Format code Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Set subscriberCACerts when scaled to 0 Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add CA certs fields to KafkaChannel CRD Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Pass CA certs to contract for channel Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Skip KafkaSource TLS tests on Istio (knative-extensions#3633) * Skip KafkaSource TLS tests on Istio * Run goimport * Use midstream as eventing dependency Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Use new issuer Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Add configuration for E2E tests Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Use Class instead of record Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
This is the follow up to #3594 for the control plane reconcilers.
DialTLSContext
to dynamically pass TLS config based on the current values of the trust bundles + CACerts fieldFixes #
Proposed Changes
Release Note
Docs