crossplane-contrib / function-kcl

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

Extract data from a specific resource #96

Closed vfarcic closed 4 months ago

vfarcic commented 4 months ago

What problem are you facing?

I'm not sure how to extract data from a specific composed resource by using kind and metadata.name. I'm guessing that it should be inside ocds but I'm not sure what the structure of it is. Is there an example I could use?

P.S. I apologize if this is already explained in one of the examples (and I missed it).

vfarcic commented 4 months ago

Found it.

Peefy commented 4 months ago

Sorry, I seem to have forgotten to mention it in the document. I will improve it later. 😷