contour
contour copied to clipboard
Migrate serving of upstream CA certificate to SDS
Currently TLS certificates are referenced by CDS and served by SDS. For CA certs used by upstream verification we still serve the CA material inline in CDS.
To fix this we need to:
- [ ] change the
internal/envoy.upstreamVerificationhelpers to take a secret name, not a secret itself. - [ ] build the secret as part of
internal/contour's secret visitor by traversing down to the route.Cluster.Upstream validation to recover the secret. - [ ] add
internal/e2e/sds_test.gotests to ensure the secret is served by SDS.
This isn't necessary for 1.0 and has a quite high risk of regression. Bumping to after 1.0