feat: migrate todo note to nc01 github storage

This commit is contained in:
Codex
2026-07-10 03:47:30 +02:00
parent e11c140b09
commit 0184bd7334
57 changed files with 3738 additions and 350 deletions
+98 -1
View File
@@ -17,11 +17,41 @@ runtime:
publicHost: 152.53.229.148
noProxy: localhost,127.0.0.1,::1,.svc,.svc.cluster.local,hyueapi.com,.hyueapi.com
delivery:
enabled: false
serviceRef: services.todoNote
build:
networkMode: host
proxy:
http: http://127.0.0.1:10808
https: http://127.0.0.1:10808
all: http://127.0.0.1:10808
noProxy:
- localhost
- 127.0.0.1
- "::1"
- 127.0.0.1:5000
- localhost:5000
- .svc
- .svc.cluster.local
- .cluster.local
image:
repository: 127.0.0.1:5000/unidesk/todo-note
gitops:
readUrl: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/unidesk.git
writeUrl: http://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/unidesk.git
branch: unidesk-host-gitops
manifestPath: deploy/gitops/unidesk-host/todo-note.yaml
author:
name: UniDesk Host CI
email: unidesk-host-ci@unidesk.local
images:
postgres: postgres:16-alpine
backendCore: unidesk-backend-core:host-k8s
frontend: unidesk-frontend:host-k8s
decisionCenter: unidesk-decision-center:host-k8s
todoNote: unidesk-todo-note:host-k8s
database:
mode: host-native
@@ -69,6 +99,7 @@ services:
limits:
memory: 512Mi
decisionCenter:
replicas: 1
deploymentName: decision-center
serviceName: decision-center
containerName: decision-center
@@ -117,6 +148,72 @@ services:
memory: 96Mi
limits:
memory: 512Mi
todoNote:
serviceId: todo-note
imageRef: images.todoNote
storageEnvPrefix: TODO_NOTE
replicas: 1
deploymentName: todo-note
serviceName: todo-note
containerName: todo-note
containerPort: 4288
healthPath: /health
livePath: /live
logFile: /var/log/unidesk/todo-note.jsonl
database:
sourceRef:
path: .state/secrets/decision-center/nc01-db.env
key: DATABASE_URL
secretName: decision-center-runtime-secrets
secretKey: DATABASE_URL
storage:
primary: github-repo
github:
repo: pikasTech/decision-center-data
sshUrl: git@github.com:pikasTech/decision-center-data.git
branch: main
basePath: todo-note
worktreePath: /var/lib/unidesk/todo-note/repo
commitMessagePrefix: "todo-note:"
author:
name: UniDesk Todo Note
email: todo-note@unidesk.local
ssh:
secretName: decision-center-github-ssh
mountPath: /var/lib/unidesk/todo-note/ssh
privateKey:
sourceRef:
path: /root/.ssh/id_ed25519_github_codex
secretKey: ssh-privatekey
knownHosts:
sourceRef:
path: /root/.ssh/known_hosts
secretKey: known_hosts
repository:
url: https://github.com/pikasTech/unidesk
dockerfile: src/components/microservices/todo-note/Dockerfile
worktreePath: /root/unidesk
frontend:
route: /apps/todo-note
integrated: true
reminder:
enabled: true
leadMinutes: 10
scanIntervalMs: 30000
transport:
type: claudeqq
baseUrl: http://backend-core:8080/api/microservices/claudeqq/proxy
targetType: private
userId: "645275593"
groupId: ""
timeoutMs: 15000
sendAttempts: 3
resources:
requests:
cpu: 50m
memory: 96Mi
limits:
memory: 512Mi
runtimeConfig:
heartBeatTimeoutMs: "30000"
@@ -128,7 +225,7 @@ runtimeConfig:
runtimeAuth:
sourceRef:
path: .env/unidesk.auth
path: /root/.unidesk/.env/unidesk.auth
format: linePair
usernameLine: 1
passwordLine: 2