Skip to content

Commit

Permalink
fix(hosts): config error (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
zccz14 authored Dec 7, 2024
1 parent 5fbd93e commit 0439416
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dependencies": {
"@yuants/data-model": "workspace:*",
"@yuants/protocol": "workspace:*",
"@yuants/host-manager": "workspace:*",
"rxjs": "~7.5.6",
"ws": "~8.8.1"
},
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion apps/hosts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions apps/hosts/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 10 additions & 0 deletions common/changes/@yuants/app-host/2024-12-07-14-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yuants/app-host",
"comment": "dependency error",
"type": "patch"
}
],
"packageName": "@yuants/app-host"
}
10 changes: 10 additions & 0 deletions common/changes/@yuants/app-hosts/2024-12-07-14-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@yuants/app-hosts",
"comment": "dependency error",
"type": "patch"
}
],
"packageName": "@yuants/app-hosts"
}
4 changes: 2 additions & 2 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0439416

Please sign in to comment.