“Naeel”
33ee17729f
docs: обновить progress.md по фактическому состоянию
...
- отражён реальный статус всех компонентов кода
- отражено состояние кластера (CRD, RBAC, postgres)
- добавлен список что ещё не сделано
- добавлены deployments/k8s/rbac.yaml, postgres.yaml
2026-03-07 08:57:54 +04:00
“Naeel”
43e7d0ea48
feat: REST API (gorilla/mux + slog) + trigger controller + main.go wiring
...
- controllers/trigger_controller.go: полная реализация, HTTP->Ingress+Service, Cron->CronJob
- internal/config: добавлены IngressHost, APIToken
- internal/api/router.go: gorilla/mux роутер /v1/namespaces/{ns}/...
- internal/api/handler/: functions, triggers, invocations, base handler с slog
- internal/api/middleware/: auth (Bearer token) + logging (slog)
- main.go: запуск operator + HTTP сервера параллельно
- go.sum: добавлен gorilla/mux v1.8.1
2026-03-07 08:46:10 +04:00
“Naeel”
5f25f61948
chore: ignore .s3cfg* files
2026-03-07 08:28:33 +04:00
“Naeel”
a5154c21de
chore: remove .s3cfg_registry from repo
2026-03-07 08:28:19 +04:00
“Naeel”
d9f5ab56bb
feat: define Function and Trigger CRD types
...
Function:
- runtime (go1.21/python3.11/nodejs20)
- entrypoint, s3Bucket, s3Key
- memoryMB (default 128), timeoutSec (default 30)
- env map
- status: phase (Pending/Building/Ready/Failed), imageRef, conditions
Trigger:
- type (http/cron), functionRef
- schedule (cron only)
- preWarmSeconds (default 300) - pre-warm before cron run
- status: active, url, lastScheduleTime
printcolumns for kubectl get output
2026-03-07 08:24:33 +04:00
“Naeel”
3e10ac1d63
feat: operator-sdk scaffold with Function and Trigger CRDs
...
- operator-sdk init --domain kube5s.ru
- CRD: Function, Trigger (sless.kube5s.ru)
- controllers: FunctionReconciler, TriggerReconciler (stubs)
- internal/ structure: api, storage/postgres, storage/s3, builder, config
- fix: controller-tools bumped v0.11.1→v0.14.0 (Go 1.23 compat)
2026-03-07 08:16:39 +04:00
“Naeel”
205aecae50
chore: add comments rules to copilot instructions
2026-03-06 09:56:02 +04:00
“Naeel”
3ffc8da373
chore: add copilot instructions
2026-03-06 09:53:10 +04:00
“Naeel”
b29b6c3d10
docs: initial project documentation
...
- architecture overview and stack
- project structure and development order
- API design (endpoints, models, runtimes)
- infrastructure overview (k8s cluster, S3, registry)
- decisions log with rationale
- progress tracker v1/v2
2026-03-06 09:51:01 +04:00