Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ make docker # build docker image

You define the function as follows:
```yaml
apiVersion: pkg.crossplane.io/v1beta1
apiVersion: pkg.crossplane.io/v1
kind: Function
metadata:
name: fn-cue
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/helm/zz_generated/functions.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/simple/pkg/functions.cue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

_functions: cuefn: xp.#Function & {
apiVersion: "pkg.crossplane.io/v1beta1"
apiVersion: "pkg.crossplane.io/v1"
kind: "Function"
metadata: {
name: "fn-cue-examples-simple"
Expand All @@ -17,7 +17,7 @@ _functions: cuefn: xp.#Function & {
}

_functions: readyFn: xp.#Function & {
apiVersion: "pkg.crossplane.io/v1beta1"
apiVersion: "pkg.crossplane.io/v1"
kind: "Function"
metadata: name: "fn-auto-ready"
spec: {
Expand Down
2 changes: 1 addition & 1 deletion package/crossplane.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: meta.pkg.crossplane.io/v1beta1
apiVersion: meta.pkg.crossplane.io/v1
kind: Function
metadata:
name: function-cue
Expand Down