crossplane-contrib / function-kcl

Crossplane Composition Functions using KCL Programming Language
Apache License 2.0
36 stars 16 forks source link

Meta type error when building the package #94

Closed zargor closed 5 months ago

zargor commented 5 months ago

What happened?

When try to build the package, I get the following error:

crossplane: error: failed to build package: not exactly one package meta type

How can we reproduce it?

It was working. But suddenly just started to fail. The command is from README.md development chapter:

# Build a function package - see package/crossplane.yaml
$ crossplane xpkg build -f package --embed-runtime-image=kcllang/crossplane-kcl

What environment did it happen in?

This happens as a result of local development.

zargor commented 5 months ago

I removed crossplane.yaml by accident. Closing the issue.

Peefy commented 5 months ago

No worries. Communicate anytime if you have any questions.