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

Add uid field to addMetaDataToSchema func #8

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

SimonVHB
Copy link
Contributor

When metadata.uid is referenced in a patch, crossplane-lint now throws an error because the field doesn't exist in the defenition.
Adding it to the addMetaDataToSchema func enables you to use it in patches to generate some unique names for example.

Signed-off-by: Simon Vanhaverbeke <[email protected]>
@SimonVHB
Copy link
Contributor Author

This also partially fixes #5 @MisterMX @janwillies

@MisterMX
Copy link
Collaborator

LGTM. Thanks a lot @SimonVHB!

@MisterMX MisterMX merged commit 5ae2f31 into crossplane-contrib:main Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants