mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 21:59:10 +08:00
bd095495da
fix #15523 fix #15526 #### PR Dependency Tree * **PR #15528** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved search generation cleanup, provider error reporting, and reconciliation reliability. - Retired search resources are cleaned up safely, including after credential changes. - Prompt size checks now ignore tool parameters and provide clearer errors. - Reserved documents are protected from accidental cleanup, and malformed identifiers are rejected. - **Configuration** - Managed Copilot profiles require explicit, non-duplicated model assignments. - Improved managed provider profile migration. - **Performance & Reliability** - Reduced unnecessary search-history cleanup and adjusted consistency-check intervals. - Failed reconciliation jobs stop after one attempt and are removed automatically. - **Data Updates** - Updated legacy AI session prompt names to current labels. - Improved cloud load-balancer health-check configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
114 lines
2.2 KiB
YAML
114 lines
2.2 KiB
YAML
global:
|
|
app:
|
|
buildType: 'stable'
|
|
ingress:
|
|
enabled: false
|
|
className: ''
|
|
# hosts for ingress rules
|
|
# e.g.
|
|
# hosts:
|
|
# - affine.pro
|
|
# - www.affine.pro
|
|
hosts:
|
|
- affine.pro
|
|
tls: []
|
|
secret:
|
|
secretName: 'server-private-key'
|
|
privateKey: ''
|
|
database:
|
|
user: 'postgres'
|
|
host: 'pg-postgresql'
|
|
port: '5432'
|
|
name: 'affine'
|
|
password: ''
|
|
redis:
|
|
host: 'redis-master'
|
|
port: '6379'
|
|
username: ''
|
|
password: ''
|
|
database: 0
|
|
indexer:
|
|
enabled: false
|
|
provider: embedded
|
|
endpoint: ''
|
|
apiKey: ''
|
|
username: ''
|
|
password: ''
|
|
deployment:
|
|
# change to 'selfhosted' and 'unknown' if this chart is ready to be used for selfhosted deployment
|
|
type: 'affine'
|
|
platform: 'gcp'
|
|
|
|
graphql:
|
|
service:
|
|
type: ClusterIP
|
|
port: 3000
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
|
|
front:
|
|
services:
|
|
sync:
|
|
name: affine-sync
|
|
type: ClusterIP
|
|
port: 3010
|
|
backendConfig:
|
|
name: affine-sync-backendconfig
|
|
timeoutSec: 10800
|
|
annotations: {}
|
|
renderer:
|
|
name: affine-renderer
|
|
type: ClusterIP
|
|
port: 3000
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
web:
|
|
name: affine-web
|
|
type: ClusterIP
|
|
port: 8080
|
|
|
|
worker:
|
|
replicaCount: 1
|
|
image:
|
|
repository: ghcr.io/toeverything/affine
|
|
tag: ''
|
|
env: 'production'
|
|
nodeOptions: '--max-old-space-size=3072'
|
|
app:
|
|
port: 3002
|
|
host: '0.0.0.0'
|
|
https: true
|
|
podAnnotations: {}
|
|
podSecurityContext:
|
|
fsGroup: 2000
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: 'affine-worker'
|
|
resources:
|
|
limits:
|
|
cpu: '1'
|
|
memory: 4Gi
|
|
requests:
|
|
cpu: '1'
|
|
memory: 2Gi
|
|
probe:
|
|
initialDelaySeconds: 20
|
|
timeoutSeconds: 5
|
|
periodSeconds: 10
|
|
failureThreshold: 6
|
|
successThreshold: 1
|
|
liveness:
|
|
initialDelaySeconds: 60
|
|
failureThreshold: 12
|
|
readiness: {}
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|