fix(lambda): preserve Kubernetes bootstrap paths (#6585)

This commit is contained in:
Andre Kurait authored and GitHub committed 2026-10-27 15:47:30 -04:00
1 parent 24d989cb07
commit 196ae07aa8
7 files changed
+202 -34

No files matched your search

+5 -2
View File
@@ -1319,10 +1319,13 @@ of `{}` or with an empty `Filters` array clears any existing filters.
Any runtime that has an official AWS Lambda container image works with Floci (e.g. `nodejs22.x`, `python3.13`, `java21`, `go1.x`, `provided.al2023`).
With the Docker executor, ZIP-based `provided.*` runtimes execute the package's
With the Docker and Kubernetes executors, ZIP-based `provided.*` runtimes execute the package's
`/var/task/bootstrap`, falling back to `/opt/bootstrap` only when the package has
no bootstrap. The supplied executable stays in place, so scripts that locate
companion files relative to their own path continue to work.
companion files relative to their own path continue to work. The Kubernetes init
container restores executable permission on package and layer bootstrap files
after extraction and installs the shared delegate in `/var/runtime`. Managed
runtimes keep their image-provided `/var/runtime` unchanged.
By default, Floci builds each runtime image reference from `floci.services.lambda.ecr-base-uri`
and the runtime tag. To pin one runtime to a full image reference, set