修复转发节点 exitCredentials 缺失导致的部署失败
This commit is contained in:
@@ -207,6 +207,7 @@ function buildSingBoxInbound({ tag, node, nodeClients, server, bindAddress }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function buildSingBoxNodeResource({ resourceId, tagPrefix, node, nodeClients, server, bindAddress, exitServer }) {
|
function buildSingBoxNodeResource({ resourceId, tagPrefix, node, nodeClients, server, bindAddress, exitServer }) {
|
||||||
|
ensureNodeSecrets(node);
|
||||||
const tag = `${tagPrefix}-in`;
|
const tag = `${tagPrefix}-in`;
|
||||||
const forward = (node.topology || 'forward') === 'forward';
|
const forward = (node.topology || 'forward') === 'forward';
|
||||||
const outboundTag = `${tagPrefix}-${forward ? 'exit' : 'direct'}`;
|
const outboundTag = `${tagPrefix}-${forward ? 'exit' : 'direct'}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user