docs snapshot for crossplane version `master`

This commit is contained in:
Crossplane 2022-10-04 12:48:52 +00:00
parent dcff5d0687
commit a07f9afdcf
1 changed files with 2 additions and 2 deletions

View File

@ -438,14 +438,14 @@ composed resource field.
```yaml ```yaml
# Patch from the XR's spec.parameters.location field and the # 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. # resource's spec.forProvider.administratorLogin field.
- type: CombineFromComposite - type: CombineFromComposite
combine: combine:
# The patch will only be applied when all variables have non-zero values. # The patch will only be applied when all variables have non-zero values.
variables: variables:
- fromFieldPath: spec.parameters.location - fromFieldPath: spec.parameters.location
- fromFieldPath: metadata.annotations[crossplane.io/claim-name] - fromFieldPath: metadata.labels[crossplane.io/claim-name]
strategy: string strategy: string
string: string:
fmt: "%s-%s" fmt: "%s-%s"