From dc8fbce3a539fdb6fd37962f4c483b89cd73836b Mon Sep 17 00:00:00 2001 From: peefy Date: Wed, 20 Dec 2023 17:19:35 +0800 Subject: [PATCH] feat: add function local development Signed-off-by: peefy --- examples/resources/basic/functions.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/resources/basic/functions.yaml b/examples/resources/basic/functions.yaml index 623539c..9686690 100644 --- a/examples/resources/basic/functions.yaml +++ b/examples/resources/basic/functions.yaml @@ -2,5 +2,8 @@ apiVersion: pkg.crossplane.io/v1beta1 kind: Function metadata: name: kcl-function + annotations: + # This tells crossplane beta render to connect to the function locally. + render.crossplane.io/runtime: Development spec: - package: kcllang/crossplane-kcl + package: kcllang/crossplane-kcl:0.1.0