feat(gateway): Add server-side TLS support (#15052)

This commit is contained in:
ratish
2025-12-14 15:37:55 -08:00
committed by GitHub
parent 99cb2ed988
commit 0e4108ba29
9 changed files with 312 additions and 8 deletions
+8 -1
View File
@@ -360,6 +360,12 @@ struct CliArgs {
#[arg(long, default_value = "localhost:4317")]
otlp_traces_endpoint: String,
#[arg(long)]
tls_cert_path: Option<String>,
#[arg(long)]
tls_key_path: Option<String>,
}
enum OracleConnectSource {
@@ -659,7 +665,8 @@ impl CliArgs {
.retries(!self.disable_retries)
.circuit_breaker(!self.disable_circuit_breaker)
.enable_wasm(self.enable_wasm)
.igw(self.enable_igw);
.igw(self.enable_igw)
.maybe_server_cert_and_key(self.tls_cert_path.as_ref(), self.tls_key_path.as_ref());
builder.build()
}