Files
cozystack/packages/core
Aleksei Sviridkin aced011ab7 feat(platform): add opt-in in-cluster east-west encryption toggle
Add networking.encryption.enabled (off by default), a platform-level
opt-in that turns on in-cluster transport encryption for the active
datapath. On the default kubeovn-cilium datapath (and its generic
variant) KubeOVN owns the overlay, so the toggle maps to KubeOVN's
Geneve-overlay IPsec (kube-ovn ENABLE_OVN_IPSEC). KubeOVN's controller
provisions the IPsec CA and per-node certificates through the
Kubernetes CSR API, so no cert-manager wiring is required.

This is defense-in-depth for the whole mesh without per-application
changes; it complements, and does not replace, application-level /
end-to-end TLS. Values comments document the per-datapath scope
(including Kilo's cross-location-only mesh and the unreached
Cilium-native path on cilium/cilium-generic variants) and the
MTU/throughput overhead.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-06-22 18:16:15 +03:00
..