fix: honor opencode host-route apk proxy
This commit is contained in:
@@ -5682,6 +5682,8 @@ function opencodePositiveInteger(value, fallback, label) {
|
||||
function opencodeEgressProxyUrlForProfile(deploy, profile) {
|
||||
const proxy = deploy?.lanes?.[profile]?.gitMirror?.egressProxy;
|
||||
if (!proxy || proxy.required === false) return "";
|
||||
const proxyUrl = configString(proxy.proxyUrl);
|
||||
if (proxyUrl) return proxyUrl;
|
||||
const serviceName = configString(proxy.serviceName);
|
||||
const namespace = configString(proxy.namespace) || "platform-infra";
|
||||
const port = Number(proxy.port);
|
||||
|
||||
Reference in New Issue
Block a user