diff --git a/apps/host/package.json b/apps/host/package.json index ca25d1723..8d53d8c17 100644 --- a/apps/host/package.json +++ b/apps/host/package.json @@ -13,6 +13,7 @@ "dependencies": { "@yuants/data-model": "workspace:*", "@yuants/protocol": "workspace:*", + "@yuants/host-manager": "workspace:*", "rxjs": "~7.5.6", "ws": "~8.8.1" }, @@ -27,7 +28,6 @@ "@types/ws": "~8.5.3", "@yuants/extension": "workspace:*", "@yuants/tool-kit": "workspace:*", - "@yuants/host-manager": "workspace:*", "typescript": "~4.7.4" }, "publishConfig": { diff --git a/apps/hosts/package.json b/apps/hosts/package.json index 12a17e946..74613aad4 100644 --- a/apps/hosts/package.json +++ b/apps/hosts/package.json @@ -14,6 +14,7 @@ "@yuants/data-model": "workspace:*", "@yuants/protocol": "workspace:*", "@yuants/utils": "workspace:*", + "@yuants/host-manager": "workspace:*", "rxjs": "~7.5.6", "ws": "~8.8.1" }, @@ -28,7 +29,6 @@ "@types/ws": "~8.5.3", "@yuants/extension": "workspace:*", "@yuants/tool-kit": "workspace:*", - "@yuants/host-manager": "workspace:*", "typescript": "~4.7.4" }, "publishConfig": { diff --git a/apps/hosts/src/extension.ts b/apps/hosts/src/extension.ts index a7de49270..69681fcf0 100644 --- a/apps/hosts/src/extension.ts +++ b/apps/hosts/src/extension.ts @@ -156,8 +156,8 @@ export default (context: IExtensionContext) => { annotations: { 'cert-manager.io/cluster-issuer': 'letsencrypt-prod', // TODO(wsy): make this a dependent value 'nginx.ingress.kubernetes.io/upstream-hash-by': '$arg_public_key', // hash by public_key param - 'nginx.ingress.kubernetes.io/configuration-snippet': - 'proxy_set_header X-Hash-Bucket $upstream_addr', + // 'nginx.ingress.kubernetes.io/configuration-snippet': + // 'proxy_set_header X-Hash-Bucket $upstream_addr', }, labels: { 'y.ntnl.io/version': ctx.version ?? envCtx.version, diff --git a/common/changes/@yuants/app-host/2024-12-07-14-23.json b/common/changes/@yuants/app-host/2024-12-07-14-23.json new file mode 100644 index 000000000..18126eceb --- /dev/null +++ b/common/changes/@yuants/app-host/2024-12-07-14-23.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@yuants/app-host", + "comment": "dependency error", + "type": "patch" + } + ], + "packageName": "@yuants/app-host" +} \ No newline at end of file diff --git a/common/changes/@yuants/app-hosts/2024-12-07-14-23.json b/common/changes/@yuants/app-hosts/2024-12-07-14-23.json new file mode 100644 index 000000000..51b499179 --- /dev/null +++ b/common/changes/@yuants/app-hosts/2024-12-07-14-23.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@yuants/app-hosts", + "comment": "dependency error", + "type": "patch" + } + ], + "packageName": "@yuants/app-hosts" +} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 8a9769ae9..160b05f3d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -347,6 +347,7 @@ importers: ws: ~8.8.1 dependencies: '@yuants/data-model': link:../../libraries/data-model + '@yuants/host-manager': link:../../libraries/host-manager '@yuants/protocol': link:../../libraries/protocol rxjs: 7.5.7 ws: 8.8.1 @@ -360,7 +361,6 @@ importers: '@types/node': 18.17.12 '@types/ws': 8.5.5 '@yuants/extension': link:../../libraries/extension - '@yuants/host-manager': link:../../libraries/host-manager '@yuants/tool-kit': link:../../tools/toolkit typescript: 4.7.4 @@ -385,6 +385,7 @@ importers: ws: ~8.8.1 dependencies: '@yuants/data-model': link:../../libraries/data-model + '@yuants/host-manager': link:../../libraries/host-manager '@yuants/protocol': link:../../libraries/protocol '@yuants/utils': link:../../libraries/utils rxjs: 7.5.7 @@ -399,7 +400,6 @@ importers: '@types/node': 18.17.12 '@types/ws': 8.5.10 '@yuants/extension': link:../../libraries/extension - '@yuants/host-manager': link:../../libraries/host-manager '@yuants/tool-kit': link:../../tools/toolkit typescript: 4.7.4