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
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ kind: Configuration
metadata:
name: crossplane-configuration-template-typescript
spec:
package: ghcr.io/crossplane/configuration-template-typescript:v0.2.0
package: ghcr.io/crossplane/configuration-template-typescript:v0.2.1
```

Once installed, confirm that the package and dependencies are installed:

```shell
$ kubectl get pkg
NAME INSTALLED HEALTHY PACKAGE AGE
configuration.pkg.crossplane.io/crossplane-configuration-template-typescript True True ghcr.io/crossplane/configuration-template-typescript:v0.2.0 49m
configuration.pkg.crossplane.io/crossplane-configuration-template-typescript True True ghcr.io/crossplane/configuration-template-typescript:v0.2.1 49m

NAME INSTALLED HEALTHY PACKAGE AGE
function.pkg.crossplane.io/crossplane-contrib-function-auto-ready True True xpkg.upbound.io/crossplane-contrib/function-auto-ready:v0.6.0 48m
function.pkg.crossplane.io/crossplane-function-template-typescript True True ghcr.io/crossplane/function-template-typescript:v0.2.0 49m
function.pkg.crossplane.io/crossplane-function-template-typescript True True ghcr.io/crossplane/function-template-typescript:v0.2.1 49m
```

### Deploy the Example Manifest
Expand Down Expand Up @@ -335,8 +335,8 @@ packed into a Function Package:
```shell
$ tree _build/docker_images
_build/docker_images
├── function-template-typescript-runtime-amd64-v0.2.0.tar
└── function-template-typescript-runtime-arm64-v0.2.0.tar
├── function-template-typescript-runtime-amd64-v0.2.1.tar
└── function-template-typescript-runtime-arm64-v0.2.1.tar
```

The Dockerfile uses a multi-stage build:
Expand Down Expand Up @@ -372,8 +372,8 @@ the `_build/xpkg` directory:
```shell
$ tree _build/xpkg
_build/xpkg
├── function-template-typescript-amd64-v0.2.0.xpkg
└── function-template-typescript-arm64-v0.2.0.xpkg
├── function-template-typescript-amd64-v0.2.1.xpkg
└── function-template-typescript-arm64-v0.2.1.xpkg
```

These packages can be pushed to any Docker Registry using `crossplane xpkg push`. Update the `XPKG_REPO` in the [env](env)
Expand Down Expand Up @@ -412,7 +412,7 @@ spec:
- apiVersion: pkg.crossplane.io/v1
kind: Function
package: ghcr.io/crossplane/function-template-typescript
version: '>=v0.2.0'
version: '>=v0.2.1'
```

A Crossplane Composition requires a `CompositeResourceDefinition` (XRD) and `Composite`. These
Expand Down Expand Up @@ -451,9 +451,9 @@ images and the Configuration package image:
```shell
$ tree _build/xpkg
_build/xpkg
├── configuration-template-typescript-v0.2.0.xpkg
├── function-template-typescript-amd64-v0.2.0.xpkg
└── function-template-typescript-arm64-v0.2.0.xpkg
├── configuration-template-typescript-v0.2.1.xpkg
├── function-template-typescript-amd64-v0.2.1.xpkg
└── function-template-typescript-arm64-v0.2.1.xpkg
```

Push this package to a Docker registry:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "function-template-typescript",
"version": "0.2.0",
"version": "0.2.1",
"description": "Template for Crossplane function in Typescript",
"keywords": [
"crossplane",
Expand Down Expand Up @@ -53,7 +53,7 @@
"jest": "^30.2.0",
"prettier": "^3.7.4",
"ts-jest": "^29.4.6",
"typescript-eslint": "^8.53.0"
"typescript-eslint": "^8.56.0"
},
"overrides": {
"minimatch": "^10.2.2"
Expand Down