serving
serving copied to clipboard
add upstream TLS trust from CM bundles
Changes
- Adds support for trust-bundles in Activators cert-cache
Fixes #14609
Codecov Report
Attention: Patch coverage is 49.31507% with 37 lines in your changes are missing coverage. Please review.
Project coverage is 85.66%. Comparing base (
51b0337) to head (d4c28a4). Report is 107 commits behind head on main.
| Files | Patch % | Lines |
|---|---|---|
| pkg/activator/certificate/cache.go | 49.31% | 31 Missing and 6 partials :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #14717 +/- ##
==========================================
- Coverage 85.83% 85.66% -0.18%
==========================================
Files 198 198
Lines 15117 15171 +54
==========================================
+ Hits 12976 12996 +20
- Misses 1819 1848 +29
- Partials 322 327 +5
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
PTAL /assign @dprotaso /assign @skonto
/unhold
@dprotaso gentle ping.
@dprotaso gentle ping.
@dprotaso as discussed yesterday on the SIG, are you fine with merging this as is? For the cluster-trust-bundles I created https://github.com/knative/serving/issues/14990.
/lgtm /approve
nit: unsure if you want to handle pool regeneration on deletion.
eg. if I'm using a configmap and I'm transitioning to a secret. Then when I add the secret and then delete the config map the old CA could still be in the computed x509.Pool
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dprotaso, ReToCode
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [ReToCode,dprotaso]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/retest
nit: unsure if you want to handle pool regeneration on deletion. eg. if I'm using a configmap and I'm transitioning to a secret. Then when I add the secret and then delete the config map the old CA could still be in the computed x509.Pool
@dprotaso I'm not sure I understand this case. We do update on deletion of a CM, right? The Secret comes from Serving installation, so that one should always be there (it might be empty, but should be there).