From 357378fc21f3f2c3ee3c08939826cb6f8dcbb0ea Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 2 Nov 2023 19:59:19 -0700 Subject: [PATCH] Add package metadata annotations See https://github.com/crossplane/crossplane/blob/v1.14.0/contributing/specifications/xpkg.md#object-annotations Signed-off-by: Nic Cope --- package/crossplane.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/package/crossplane.yaml b/package/crossplane.yaml index 5a0e992..38c906c 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -3,4 +3,17 @@ apiVersion: meta.pkg.crossplane.io/v1beta1 kind: Function metadata: name: function-dummy + annotations: + meta.crossplane.io/maintainer: Crossplane Maintainers + meta.crossplane.io/source: github.com/crossplane-contrib/function-dummy + meta.crossplane.io/license: Apache-2.0 + meta.crossplane.io/description: A composition function that returns what you tell it to + meta.crossplane.io/readme: | + This composition function returns whatever you tell it to. Provide a + YAML-serialized [`RunFunctionResponse`](https://buf.build/crossplane/crossplane/docs/main:apiextensions.fn.proto.v1beta1) + as the function's input. The response's `desired` object will be merged + onto any desired state that was passed to the function using + [`proto.Merge`](https://pkg.go.dev/github.com/golang/protobuf/proto#Merge) + semantics. See the [README](https://github.com/crossplane-contrib/function-dummy) + for examples and documentation. spec: {}