diff --git a/Makefile b/Makefile index ca9709a..dec8697 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ PKL_CORE_REF := ${PKL_CORE_NAME}@${PKL_CORE_VERSION} PKL_CORE_URI := ${PKL_BASE_URI}/${REPO}/${PKL_CORE_REF} PKL_EXAMPLE_NAME := crossplane-example -PKL_EXAMPLE_VERSION := 0.1.18 +PKL_EXAMPLE_VERSION := 0.1.19 PKL_EXAMPLE_REF := ${PKL_EXAMPLE_NAME}@${PKL_EXAMPLE_VERSION} PKL_EXAMPLE_URI := ${PKL_BASE_URI}/${REPO}/${PKL_CORE_REF} diff --git a/README.md b/README.md index d264eb2..be4061a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ spec: spec: type: uri # This pkl file is at `pkl/crossplane-example/full.pkl` in this repo - uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.18#/full.pkl" + uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.19#/full.pkl" ``` ### Example diff --git a/example/full/composition.yaml b/example/full/composition.yaml index aafb5cb..e7f0721 100644 --- a/example/full/composition.yaml +++ b/example/full/composition.yaml @@ -17,4 +17,4 @@ spec: spec: type: uri # This pkl file is at `pkl/crossplane-example/full.pkl` in this repo - uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.18#/full.pkl" + uri: "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.19#/full.pkl" diff --git a/example/inline/composition.yaml b/example/inline/composition.yaml index 802f018..fd61bca 100644 --- a/example/inline/composition.yaml +++ b/example/inline/composition.yaml @@ -22,8 +22,8 @@ spec: import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0.0.29#/Resource.pkl" import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0.0.29#/Crossplane.pkl" - import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.18#/crds/XR.pkl" - import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.18#/crds/Object.pkl" + import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.19#/crds/XR.pkl" + import "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.19#/crds/Object.pkl" import "package://pkg.pkl-lang.org/pkl-k8s/k8s@1.0.1#/api/core/v1/ConfigMap.pkl" diff --git a/internal/function/fn_test.go b/internal/function/fn_test.go index 24632bd..0487228 100644 --- a/internal/function/fn_test.go +++ b/internal/function/fn_test.go @@ -18,7 +18,7 @@ import ( ) var ( - pklPackage = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.18" + pklPackage = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane-example@0.1.19" ) func TestRunFunction(t *testing.T) { diff --git a/pkl/crossplane-example/PklProject b/pkl/crossplane-example/PklProject index 0d09992..5ef07f0 100644 --- a/pkl/crossplane-example/PklProject +++ b/pkl/crossplane-example/PklProject @@ -22,7 +22,7 @@ package { authors { "Tim Geimer <32556895+Avarei@users.noreply.github.com>" } - version = "0.1.18" + version = "0.1.19" baseUri = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/\(name)" packageZipUrl = "https://github.com/Avarei/function-pkl/releases/download/\(name)@\(version)/\(name)@\(version).zip" sourceCode = "https://github.com/Avarei/function-pkl" @@ -36,6 +36,6 @@ dependencies { uri = "package://pkg.pkl-lang.org/pkl-k8s/k8s@1.0.1" } ["crossplane"] { - uri = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0.0.28" + uri = "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0.0.29" } } diff --git a/pkl/crossplane-example/PklProject.deps.json b/pkl/crossplane-example/PklProject.deps.json index 001465e..500abaf 100644 --- a/pkl/crossplane-example/PklProject.deps.json +++ b/pkl/crossplane-example/PklProject.deps.json @@ -3,9 +3,16 @@ "resolvedDependencies": { "package://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0": { "type": "remote", - "uri": "projectpackage://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0.0.28", + "uri": "projectpackage://pkg.pkl-lang.org/github.com/avarei/function-pkl/crossplane@0.0.29", "checksums": { - "sha256": "faa5ead2e0990a12ba6fc795d11e933200bf57ea9aeb5994f47db3a6ede908a6" + "sha256": "1e0c1917b0dfe0390d11954e0417c6e41c8a4bdbea23d36db5cb6dc2671c9027" + } + }, + "package://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2": { + "type": "remote", + "uri": "projectpackage://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2.1.1", + "checksums": { + "sha256": "a3ce491d0e504c14d456d599f988bbb4a2b77915696450dfd65b8e4cef7c9522" } }, "package://pkg.pkl-lang.org/pkl-pantry/k8s.contrib@1": { diff --git a/pkl/crossplane/PklProject.deps.json b/pkl/crossplane/PklProject.deps.json index e9c2310..cef35db 100644 --- a/pkl/crossplane/PklProject.deps.json +++ b/pkl/crossplane/PklProject.deps.json @@ -14,6 +14,13 @@ "checksums": { "sha256": "75c6d66d94c335417a3c502e107aaeadf7a60b4e1d34b2c979afe11193205a1a" } + }, + "package://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2": { + "type": "remote", + "uri": "projectpackage://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2.1.1", + "checksums": { + "sha256": "a3ce491d0e504c14d456d599f988bbb4a2b77915696450dfd65b8e4cef7c9522" + } } } } \ No newline at end of file