-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Deployment guide for the example. Renamed the README to DEVELOP.md.
Signed-off-by: Tim <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Deploying this Example | ||
|
||
## Prerequirements | ||
* pkl cli | ||
* crossplane in a cluster | ||
* function-pkl deployed (see [here](../../README.md)) | ||
* provider-kubernetes deployed | ||
* provider config for kubernetes provider called "default" | ||
|
||
## Deploy XRD | ||
```shell | ||
cd pkl/pkl/crossplane.contrib.example | ||
pkl eval xrds/ExampleXR.pkl | kubectl apply -f - | ||
``` | ||
## Deploy Composition | ||
```shell | ||
kubectl apply -f ../../example/full/composition.yaml | ||
``` | ||
## Deploy XR | ||
```shell | ||
kubectl apply -f ../../example/full/xr.yaml | ||
``` | ||
|
||
## Check the Resource | ||
```shell | ||
kubectl get xrs.example.crossplane.io example-xr -oyaml | ||
|
||
crossplane beta trace xrs example-xr | ||
``` |
File renamed without changes.