chore(server): enable renderer for all deployment (#8283)

This commit is contained in:
forehalo
2024-09-19 02:34:57 +00:00
parent a1fe7c8ef6
commit 03ac9bc4a1
2 changed files with 14 additions and 9 deletions

View File

@@ -60,15 +60,20 @@ spec:
name: affine-graphql
port:
number: {{ .Values.graphql.service.port }}
{{- if eq .Values.global.app.buildType "canary" }}
- path: /workspace
pathType: Prefix
- path: /workspace/([^/]+)/(home|all|search|collection|tag|trash)
pathType: ImplementationSpecific
backend:
service:
name: affine-web
port:
number: {{ .Values.web.service.port }}
- path: /workspace/([^/]+)/.+
pathType: ImplementationSpecific
backend:
service:
name: affine-renderer
port:
number: {{ .Values.graphql.service.port }}
{{- end }}
number: {{ .Values.renderer.service.port }}
- path: /
pathType: Prefix
backend: