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)
This commit is contained in:
“Naeel”
2026-03-07 08:16:39 +04:00
parent 205aecae50
commit 3e10ac1d63
63 changed files with 2829 additions and 1 deletions
+8
View File
@@ -14,4 +14,12 @@
**Решение:** ...
```
## 2026-03-07 — controller-gen v0.11.1 паникует с Go 1.23
**Проблема:** `operator-sdk create api` падает с panic в `controller-gen` при `make generate`.
**Причина:** controller-tools v0.11.1 несовместим с Go 1.23 (nil pointer dereference в go/types).
**Решение:** В `Makefile` заменить `CONTROLLER_TOOLS_VERSION ?= v0.11.1` на `v0.14.0`.
---