Skip to content

Commit

Permalink
chore: update docs and examples
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed Dec 20, 2023
1 parent 769b5da commit f5bbcf7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
vendor/
.kclvm
.DS_store
package/*.xpkg
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ $ go generate ./...
$ go test ./...

# Build the function's runtime image - see Dockerfile
$ docker build . --tag=runtime
$ docker build . --tag=kcllang/crossplane-kcl

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

## Examples
## Quick Start Examples

See [here](./examples/resources/basic/)

Expand Down
2 changes: 1 addition & 1 deletion examples/resources/basic/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Example manifests
# Example Manifests

You can run your function locally and test it using `crossplane beta render`
with these example manifests.
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/basic/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Function
metadata:
name: kcl-function
spec:
package: kcllang/crossplane-kcl:v0.1.0
package: kcllang/crossplane-kcl

0 comments on commit f5bbcf7

Please sign in to comment.