Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.24 KB

File metadata and controls

30 lines (26 loc) · 1.24 KB

Deploying this Example

Prerequirements

Deploy XRD

pkl eval package://pkg.pkl-lang.org/github.com/crossplane-contrib/function-pkl/[email protected]#/xrds/ExampleXR.pkl | kubectl apply -f -

Deploy Composition

pkl eval package://pkg.pkl-lang.org/github.com/crossplane-contrib/function-pkl/[email protected]#/compositions/uri.pkl | kubectl apply -f -

Deploy XR

pkl eval package://pkg.pkl-lang.org/github.com/crossplane-contrib/function-pkl/[email protected]#/xrs/uri.pkl | kubectl apply -f -

Check the Resource

kubectl get xrs.example.crossplane.io uri-example -oyaml
crossplane beta trace xrs uri-example