From 7be76d14b275ed34e6666768a1e40bde0a42670e Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 2 Nov 2023 19:21:08 -0700 Subject: [PATCH 1/2] Add package metadata See https://github.com/crossplane/crossplane/blob/v1.14.0/contributing/specifications/xpkg.md#object-annotations Signed-off-by: Nic Cope --- package/crossplane.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/crossplane.yaml b/package/crossplane.yaml index a3106d8..30073d4 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -3,4 +3,16 @@ apiVersion: meta.pkg.crossplane.io/v1beta1 kind: Function metadata: name: function-go-templating + annotations: + meta.crossplane.io/maintainer: Crossplane Maintainers + meta.crossplane.io/source: github.com/crossplane-contrib/function-go-templating + meta.crossplane.io/license: Apache-2.0 + meta.crossplane.io/description: A Go templating composition function + meta.crossplane.io/readme: | + This composition function allows you to compose Crossplane resources using + [Go templates](https://pkg.go.dev/text/template). If you've written a + [Helm chart](https://helm.sh) before, using this function will be a + familiar experience. See the + [README](https://github.com/crossplane-contrib/function-go-templating). + for examples and documentation. spec: {} From a26e73734d1ee5f7cce19c20b93343fd0440a6d8 Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 2 Nov 2023 19:33:51 -0700 Subject: [PATCH 2/2] Remove extra period in package readme Signed-off-by: Nic Cope --- package/crossplane.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/crossplane.yaml b/package/crossplane.yaml index 30073d4..2801a2c 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -13,6 +13,6 @@ metadata: [Go templates](https://pkg.go.dev/text/template). If you've written a [Helm chart](https://helm.sh) before, using this function will be a familiar experience. See the - [README](https://github.com/crossplane-contrib/function-go-templating). + [README](https://github.com/crossplane-contrib/function-go-templating) for examples and documentation. spec: {}