Skip to content

Commit b287ef3

Browse files
committed
docs(external-database-exposure): default to subdomain hostnames, exclude MariaDB
Make distinct per-engine subdomain hostnames (*.postgres.<apex>) the v1 listener scheme: they avoid the cross-port hostname-isolation defect on the deployed Cilium 1.19.x, while the flat *.<apex> scheme becomes an additive later phase gated on Cilium 1.20. Issue both name shapes as certificate SANs from day one so the later flat adoption changes no client. Exclude MariaDB from SNI exposure entirely: the classic MySQL/MariaDB protocol is server-speaks-first (plaintext greeting, then SSLRequest, then TLS), so no ClientHello ever reaches a raw passthrough listener and no client version changes that. This closes the connector-conformance open question negatively. Re-anchor the value proposition on same-engine multiplexing and hostname-stable access: LB-IPAM sharing-key already consolidates across engine types (added to Alternatives) but cannot put two instances of one engine behind one IP. Weigh edge termination honestly: client trust-bootstrap and CA-rotation costs are booked, and a terminate listener dissolves neither the Postgres nor the MariaDB wire constraint. Correct facts against main and upstream: Cilium is 1.19.5; the existing 443 passthrough listeners allow both HTTPRoute and TLSRoute (the cilium/cilium#45559 workaround) while new per-engine listeners are safely TLSRoute-only; mongodb's external Service is already mongos-only; redis-cli emits SNI only with an explicit --sni flag; Cilium's ListenerSet implementation merged upstream and ships in 1.20. Name the real admission enforcement point: apps.cozystack.io kinds are served by the aggregated cozystack-api, whose writes bypass kube-apiserver admission, so the plaintext-external rejection lands in cozystack-api's write path. Reference the structured expose model as the natural trigger surface and route owner. Assisted-By: Claude <[email protected]> Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent 0f3d8c9 commit b287ef3

1 file changed

Lines changed: 80 additions & 64 deletions

File tree

  • design-proposals/external-database-exposure

0 commit comments

Comments
 (0)