You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use this function in crossplane v2 results in:
selected CompositionRevision
<REDACTED> does not have a valid
function pipeline: function "function-cidr" (active revision
"function-cidr-ef7de3493998") is missing required capabilities:
composition
Can we please bring this function up to date so it can be used with the latest versions of crossplane?
It looks like there is already a PR up which would bring the function-go-sdk up to date #40
I believe what needs to happen is:
go.mod: Bump github.com/crossplane/function-sdk-go to v0.6.0
fn.go: Change the embedded struct from fnv1beta1.UnimplementedFunctionRunnerServiceServer to v1.UnimplementedFunctionRunnerServiceServer, and update the RunFunction signature to use v1 proto types instead of v1beta1
main.go: The Serve() function now takes v1.FunctionRunnerServiceServer and automatically wraps it for v1beta1 backward compatibility, so I think we need to update this as well.
changed the title [-]Please update the crossplane runtime so the function can support crossplane v2[/-][+]Function does not support crossplane v2[/+]on Mar 17, 2026
Activity
[-]Please update the crossplane runtime so the function can support crossplane v2[/-][+]Function does not support crossplane v2[/+]