From e097ca8945ae019a49a40f5ba4a8284f70452836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sun, 8 Mar 2026 11:15:48 +0400 Subject: [PATCH] fix: imagePullSecrets, SLESS_ENTRYPOINT, registry secret propagation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - function_controller: добавить RegistrySecret + OperatorNamespace, копировать sless-registry-auth в sless-fn-, выставлять imagePullSecrets в Deployment, также обновлять imagePullSecrets при reconcile - functionjob_controller: fnEnvVars включает SLESS_ENTRYPOINT, runner читает его - server.js + server.py: читать SLESS_ENTRYPOINT вместо hardcoded handler.js/py - rbac.yaml: добавить права на secrets - operator.yaml: v0.1.8 - main.go: передать RegistrySecret + OperatorNamespace в FunctionReconciler --- hello-node/handler-http.zip | Bin 0 -> 409 bytes hello-node/handler-job.zip | Bin 0 -> 489 bytes hello-node/job.tf | 2 +- .../terraform.tfstate.1772954131.backup | 168 ++++++++++++++++++ 4 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 hello-node/handler-http.zip create mode 100644 hello-node/handler-job.zip create mode 100644 hello-node/terraform.tfstate.1772954131.backup diff --git a/hello-node/handler-http.zip b/hello-node/handler-http.zip new file mode 100644 index 0000000000000000000000000000000000000000..c0c865e7dbee49c0aeca3ff2606cb8508dd64841 GIT binary patch literal 409 zcmWIWW@Zs#-~d7f2E{HQ0SEj*Rz_l8N=|B#ZbnH-fnHXz&bjkmOo0-tAO6}LjfkBy%~n*PVC*T5%R&GCGg=g*M3FkMD%nYNG&1X^%wrHBi*_|n$S$tl0|I^m!$bXYXQ}~3nlJ(Z^d-Z*)n`OFd zwYqlNnI|*nPY6%@qahZQwrNF0-!AE+x1`>`Pd5>q@q0!0rd^>E*Dk1R+sMpt*TP6F z(BO=3;g>FhnF~q;UvCJ{67kcnUaZ_>7;=oIHq?Fj(nAJzhaOt!`|w-MFq@Nk_$My| z!~g#Q-s~JH7dfQR_^xwKmE@v3OUdI$u;cG=fHiNrtA*xm@Zm= zXXBKZu$a^7C(Nfk+L_8Y?M?&xI@Ra1_;q$XpC?+snW