diff --git a/content/master/guides/vault-as-secret-store.md b/content/master/guides/vault-as-secret-store.md index 0ea3bdc1..42964c05 100644 --- a/content/master/guides/vault-as-secret-store.md +++ b/content/master/guides/vault-as-secret-store.md @@ -216,7 +216,7 @@ spec: Resources: ```shell -echo "apiVersion: gcp.crossplane.io/v1alpha1 +echo "apiVersion: gcp.secrets.crossplane.io/v1alpha1 kind: StoreConfig metadata: name: vault diff --git a/content/master/reference/composition.md b/content/master/reference/composition.md index f18b96a1..7359af9d 100644 --- a/content/master/reference/composition.md +++ b/content/master/reference/composition.md @@ -435,14 +435,14 @@ composed resource field. ```yaml # Patch from the XR's spec.parameters.location field and the -# metadata.annotations[crossplane.io/claim-name] annotation to the composed +# metadata.labels[crossplane.io/claim-name] label to the composed # resource's spec.forProvider.administratorLogin field. - type: CombineFromComposite combine: # The patch will only be applied when all variables have non-zero values. variables: - fromFieldPath: spec.parameters.location - - fromFieldPath: metadata.annotations[crossplane.io/claim-name] + - fromFieldPath: metadata.labels[crossplane.io/claim-name] strategy: string string: fmt: "%s-%s" @@ -654,9 +654,9 @@ composed resource. ```yaml # Always sets the XR's 'user' connection detail to 'admin'. -- type: FromFieldPath +- type: FromValue name: user - fromValue: admin + value: admin ``` ### Readiness Checks diff --git a/content/master/reference/xpkg.md b/content/master/reference/xpkg.md index 9e7c506e..c21b95ed 100644 --- a/content/master/reference/xpkg.md +++ b/content/master/reference/xpkg.md @@ -182,7 +182,7 @@ annotations by third-party consumers of Crossplane packages: - `meta.crossplane.io/source`: The URL at which the package's source can be found. - `meta.crossplane.io/license`: The license under which the package's source is - released. + released. This should be a valid [SPDX License Identifier]. - `meta.crossplane.io/description`: A one sentence description of the package. - `meta.crossplane.io/readme`: A longer description, documentation, etc. @@ -208,3 +208,4 @@ unmodified. [index]: https://github.com/opencontainers/image-spec/blob/main/image-index.md [annotation]: https://github.com/opencontainers/image-spec/blob/main/annotations.md [applying changesets]: https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets +[SPDX License Identifier]: https://spdx.org/licenses/ diff --git a/content/v1.7/reference/composition.md b/content/v1.7/reference/composition.md index 1db7898e..140a1dcb 100644 --- a/content/v1.7/reference/composition.md +++ b/content/v1.7/reference/composition.md @@ -406,14 +406,14 @@ composed resource field. ```yaml # Patch from the XR's spec.parameters.location field and the -# metadata.annotations[crossplane.io/claim-name] annotation to the composed +# metadata.labels[crossplane.io/claim-name] label to the composed # resource's spec.forProvider.administratorLogin field. - type: CombineFromComposite combine: # The patch will only be applied when all variables have non-zero values. variables: - fromFieldPath: spec.parameters.location - - fromFieldPath: metadata.annotations[crossplane.io/claim-name] + - fromFieldPath: metadata.labels[crossplane.io/claim-name] strategy: string string: fmt: "%s-%s" @@ -601,9 +601,9 @@ composed resource. ```yaml # Always sets the XR's 'user' connection detail to 'admin'. -- type: FromFieldPath +- type: FromValue name: user - fromValue: admin + value: admin ``` ### Readiness Checks diff --git a/content/v1.7/reference/xpkg.md b/content/v1.7/reference/xpkg.md index 55a189b8..5191c66f 100644 --- a/content/v1.7/reference/xpkg.md +++ b/content/v1.7/reference/xpkg.md @@ -184,7 +184,7 @@ annotations by third-party consumers of Crossplane packages: - `meta.crossplane.io/source`: The URL at which the package's source can be found. - `meta.crossplane.io/license`: The license under which the package's source is - released. + released. This should be a valid [SPDX License Identifier]. - `meta.crossplane.io/description`: A one sentence description of the package. - `meta.crossplane.io/readme`: A longer description, documentation, etc. @@ -210,3 +210,4 @@ unmodified. [index]: https://github.com/opencontainers/image-spec/blob/main/image-index.md [annotation]: https://github.com/opencontainers/image-spec/blob/main/annotations.md [applying changesets]: https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets +[SPDX License Identifier]: https://spdx.org/licenses/ diff --git a/content/v1.8/reference/composition.md b/content/v1.8/reference/composition.md index e8b3cb21..080bcc31 100644 --- a/content/v1.8/reference/composition.md +++ b/content/v1.8/reference/composition.md @@ -616,9 +616,9 @@ composed resource. ```yaml # Always sets the XR's 'user' connection detail to 'admin'. -- type: FromFieldPath +- type: FromValue name: user - fromValue: admin + value: admin ``` ### Readiness Checks diff --git a/content/v1.8/reference/xpkg.md b/content/v1.8/reference/xpkg.md index 55a189b8..5191c66f 100644 --- a/content/v1.8/reference/xpkg.md +++ b/content/v1.8/reference/xpkg.md @@ -184,7 +184,7 @@ annotations by third-party consumers of Crossplane packages: - `meta.crossplane.io/source`: The URL at which the package's source can be found. - `meta.crossplane.io/license`: The license under which the package's source is - released. + released. This should be a valid [SPDX License Identifier]. - `meta.crossplane.io/description`: A one sentence description of the package. - `meta.crossplane.io/readme`: A longer description, documentation, etc. @@ -210,3 +210,4 @@ unmodified. [index]: https://github.com/opencontainers/image-spec/blob/main/image-index.md [annotation]: https://github.com/opencontainers/image-spec/blob/main/annotations.md [applying changesets]: https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets +[SPDX License Identifier]: https://spdx.org/licenses/ diff --git a/content/v1.9/getting-started/create-configuration.md b/content/v1.9/getting-started/create-configuration.md index 853bfd04..6698b41b 100644 --- a/content/v1.9/getting-started/create-configuration.md +++ b/content/v1.9/getting-started/create-configuration.md @@ -587,7 +587,7 @@ you may specify a specific package by using the `-f` flag. ```console # Set this to the Docker Hub username or OCI registry you wish to use. REG=my-package-repo -kubectl crossplane push configuration ${REG}/getting-started-with-aws:v1.9.0 +kubectl crossplane push configuration ${REG}/getting-started-with-aws:v1.9.1 ``` > Note that the Crossplane CLI will not follow symbolic links for files in the @@ -627,7 +627,7 @@ you may specify a specific package by using the `-f` flag. ```console # Set this to the Docker Hub username or OCI registry you wish to use. REG=my-package-repo -kubectl crossplane push configuration ${REG}/getting-started-with-aws-with-vpc:v1.9.0 +kubectl crossplane push configuration ${REG}/getting-started-with-aws-with-vpc:v1.9.1 ``` > Note that the Crossplane CLI will not follow symbolic links for files in the @@ -666,7 +666,7 @@ you may specify a specific package by using the `-f` flag. ```console # Set this to the Docker Hub username or OCI registry you wish to use. REG=my-package-repo -kubectl crossplane push configuration ${REG}/getting-started-with-gcp:v1.9.0 +kubectl crossplane push configuration ${REG}/getting-started-with-gcp:v1.9.1 ``` > Note that the Crossplane CLI will not follow symbolic links for files in the @@ -705,7 +705,7 @@ you may specify a specific package by using the `-f` flag. ```console # Set this to the Docker Hub username or OCI registry you wish to use. REG=my-package-repo -kubectl crossplane push configuration ${REG}/getting-started-with-azure:v1.9.0 +kubectl crossplane push configuration ${REG}/getting-started-with-azure:v1.9.1 ``` > Note that the Crossplane CLI will not follow symbolic links for files in the diff --git a/content/v1.9/getting-started/install-configure.md b/content/v1.9/getting-started/install-configure.md index 4a9f75c2..d2a759ce 100644 --- a/content/v1.9/getting-started/install-configure.md +++ b/content/v1.9/getting-started/install-configure.md @@ -241,7 +241,7 @@ provider that can satisfy a `PostgreSQLInstance`. Let's get started! > section. ```console -kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-aws:latest +kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-aws:v1.9.1 ``` Wait until all packages become healthy: @@ -298,7 +298,7 @@ kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release > section. ```console -kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-aws-with-vpc:latest +kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-aws-with-vpc:v1.9.1 ``` Wait until all packages become healthy: @@ -355,7 +355,7 @@ kubectl apply -f https://raw.githubusercontent.com/crossplane/crossplane/release > section. ```console -kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-gcp:latest +kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-gcp:v1.9.1 ``` Wait until all packages become healthy: @@ -428,7 +428,7 @@ spec: > section. ```console -kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-azure:latest +kubectl crossplane install configuration registry.upbound.io/xp/getting-started-with-azure:v1.9.1 ``` Wait until all packages become healthy: diff --git a/content/v1.9/reference/composition.md b/content/v1.9/reference/composition.md index f18b96a1..7359af9d 100644 --- a/content/v1.9/reference/composition.md +++ b/content/v1.9/reference/composition.md @@ -435,14 +435,14 @@ composed resource field. ```yaml # Patch from the XR's spec.parameters.location field and the -# metadata.annotations[crossplane.io/claim-name] annotation to the composed +# metadata.labels[crossplane.io/claim-name] label to the composed # resource's spec.forProvider.administratorLogin field. - type: CombineFromComposite combine: # The patch will only be applied when all variables have non-zero values. variables: - fromFieldPath: spec.parameters.location - - fromFieldPath: metadata.annotations[crossplane.io/claim-name] + - fromFieldPath: metadata.labels[crossplane.io/claim-name] strategy: string string: fmt: "%s-%s" @@ -654,9 +654,9 @@ composed resource. ```yaml # Always sets the XR's 'user' connection detail to 'admin'. -- type: FromFieldPath +- type: FromValue name: user - fromValue: admin + value: admin ``` ### Readiness Checks diff --git a/content/v1.9/reference/xpkg.md b/content/v1.9/reference/xpkg.md index 9e7c506e..c21b95ed 100644 --- a/content/v1.9/reference/xpkg.md +++ b/content/v1.9/reference/xpkg.md @@ -182,7 +182,7 @@ annotations by third-party consumers of Crossplane packages: - `meta.crossplane.io/source`: The URL at which the package's source can be found. - `meta.crossplane.io/license`: The license under which the package's source is - released. + released. This should be a valid [SPDX License Identifier]. - `meta.crossplane.io/description`: A one sentence description of the package. - `meta.crossplane.io/readme`: A longer description, documentation, etc. @@ -208,3 +208,4 @@ unmodified. [index]: https://github.com/opencontainers/image-spec/blob/main/image-index.md [annotation]: https://github.com/opencontainers/image-spec/blob/main/annotations.md [applying changesets]: https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets +[SPDX License Identifier]: https://spdx.org/licenses/