Skip to content

Align metadata.generateName in Create Managed Resource Script#863

Merged
jbw976 merged 3 commits intocrossplane:masterfrom
timyip3:master
Mar 14, 2025
Merged

Align metadata.generateName in Create Managed Resource Script#863
jbw976 merged 3 commits intocrossplane:masterfrom
timyip3:master

Conversation

@timyip3
Copy link
Copy Markdown
Contributor

@timyip3 timyip3 commented Jan 29, 2025

No description provided.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 29, 2025

Deploy Preview for crossplane ready!

Name Link
🔨 Latest commit d83ad87
🔍 Latest deploy log https://app.netlify.com/sites/crossplane/deploys/67d456043176fb00089ba215
😎 Deploy Preview https://deploy-preview-863--crossplane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 81 (🟢 up 8 from production)
Accessibility: 90 (🔴 down 2 from production)
Best Practices: 83 (no change from production)
SEO: 100 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Timothy Yip <timyip3@gmail.com>
Copy link
Copy Markdown
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

Thank you @timyip3 for providing this update! There's a bit more that could be done for completeness with the line numbers, let me know if you don't want to take those on also in this PR. If you're not up for it then we can merge this fix as is because it does make progress 😉



The {{< hover label="xr" line="6">}}metadata.name{{< /hover >}} value is the
The {{< hover label="xr" line="6">}}metadata.generateName{{< /hover >}} value is the
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i think this line="6" can also be updated to 5 so it's highlighting the right line number on hover

@@ -201,7 +201,7 @@ The {{< hover label="xr" line="3">}}apiVersion{{< /hover >}} and
{{< hover label="xr" line="4">}}kind{{</hover >}} are from the provider's CRDs.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i think most of these line numbers are 1 off, maybe something got removed in the past and they weren't updated. Are you interested in updating them so that hovering over them highlights the correct line? 😇

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! Let me update the line number together with this PR as well!

Copy link
Copy Markdown
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

Awesome, this looks good on the preview site now, so let's go ahead and merge! thanks for also taking care of the line numbers @timyip3! 🙇‍♂️

@jbw976 jbw976 merged commit b8da5af into crossplane:master Mar 14, 2025
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