You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(tlsbridge): consolidate config schema before release
The tls_bridge schema is new/unreleased — tighten it now, before the operator
renders it and an alpha pins it:
- Collapse enabled+scope -> mode: disabled|enabled (matches operator
tlsBridgeMode 1:1). Drop the external/all distinction and the whole
Scope/isInternal/internal_cidrs machinery in Decision — the bridge
intercepts everything eligible on the configured ports, period. Classify
loses its now-unused ip param.
- Drop ca_source + ca_cert_path + ca_key_path -> single ca_dir (cert-manager
Secret key conventions tls.crt/tls.key/ca.crt). ephemeral was never usable
in production (a real agent can't trust an unexported in-memory CA); it
survives only as NewEphemeralSource for in-process tests, not a config knob.
Production CA is always the operator-mounted file.
- Rename skip_hosts -> passthrough_hosts to disambiguate from the existing
listener.skip_hosts (full pipeline bypass vs bridge tunnel).
Net: 6 fields -> mode + ca_dir + passthrough_hosts (+ existing ports,
upstream_ca_bundle). No migration — nothing consumes the schema yet.
Signed-off-by: Hai Huang <huang195@gmail.com>
0 commit comments