Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: fix CombineFromComposite patch example #3354

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

ytsarev
Copy link
Member

@ytsarev ytsarev commented Oct 4, 2022

Description of your changes

crossplane.io/claim-name is a label, not an annotation

Signed-off-by: Yury Tsarev yury@upbound.io

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

@ytsarev ytsarev requested review from a team as code owners October 4, 2022 10:26
Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ytsarev! One small nitpick

@@ -438,14 +438,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] annotation to the composed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# metadata.labels[crossplane.io/claim-name] annotation to the composed
# metadata.labels[crossplane.io/claim-name] label to the composed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hasheddan amended, thanks a lot for the catch!

`crossplane.io/claim-name` is a label, not an annotation

Signed-off-by: Yury Tsarev <yury@upbound.io>
@github-actions
Copy link

github-actions bot commented Oct 4, 2022

Successfully created backport PR #3357 for release-1.7.

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

Successfully created backport PR #3358 for release-1.8.

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

Successfully created backport PR #3359 for release-1.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants