Closed ma-ble closed 3 weeks ago
When you use Docker or Kubernetes to run a local path in a container, you need to mount the corresponding path inside. I will provide corresponding documentation, such as https://github.com/crossplane-contrib/function-go-templating/tree/main/example/filesystem
What happened?
When I try to run the example with the local path via 'make local', it works as expected. When I try to use docker to run the function I get the error message on the Mac that the kcl file cannot be found.
How can we reproduce it?
Disable "render.crossplane.io/runtime: Development" so that the function runs in docker.
What environment did it happen in?
Function version: v0.10.0 KCL version: 0.10.0-darwin-arm64 kind cluster: 0.24.0 kubectl version Client Version: v1.31.0 Kustomize Version: v5.4.2 Server Version: v1.31.0 uname -a: Darwin Kernel Version 24.0.0 root:xnu-11215.1.12~1/RELEASE_ARM64_T6020 arm64