fix: build logs in status + JSON for all HTTP methods in python runtime

- function_controller.go: KubeClient + getBuildPodLogs → Function.Status.Message
  включает логи pip/kaniko при сбое сборки
- runtimes/python3.11/server.py: PUT/DELETE/PATCH/HEAD обрабатываются как вызовы функции;
  send_error переопределён → JSON вместо HTML 501
- operator.yaml: v0.1.27
- main.go: KubeClient передаётся в FunctionReconciler
This commit is contained in:
“Naeel”
2026-03-11 17:03:54 +04:00
parent d6a2e224ca
commit 3372cb1983
4 changed files with 88 additions and 10 deletions
+1
View File
@@ -144,6 +144,7 @@ func main() {
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Builder: bldr,
KubeClient: kubernetes.NewForConfigOrDie(mgr.GetConfig()),
RegistrySecret: cfg.RegistrySecret,
OperatorNamespace: "sless",
HarborClient: harborClient,