-
Notifications
You must be signed in to change notification settings - Fork 79
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 kubebuilder catagories for ProviderConfig and MyType #27
Conversation
Added kubebuilder catagories {crossplane,provider,PROVIDER-NAME} in the template. Signed-off-by: Zheng Xi Zhou <[email protected]>
categories: | ||
- crossplane | ||
- provider | ||
- PROVIDER-NAME |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@negz @hasheddan It would be awkward if contributors copied this template and forgot to replace PROVIDER-NAME
. So I wonder whether this PR is necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hrm, I think there's a bunch of places where we assume the provider name is template
and that folks will change it so this shouldn't be too bad. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found it useful to know which things I should change from the template. The string template
is all over the place so it will be great to make it explicit that template
means provider name.. which I am not 100% sure that it means that for every appearance of template
. The same happens with sample
in sample.template.crossplane.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to fix this for future template users!
Co-authored-by: Nic Cope <[email protected]> Signed-off-by: Zheng Xi Zhou <[email protected]>
dfde25d
to
40d758e
Compare
Signed-off-by: Zheng Xi Zhou <[email protected] Signed-off-by: Zheng Xi Zhou <[email protected]>
ec03823
to
9269825
Compare
Added kubebuilder catagories {crossplane,provider,PROVIDER-NAME}
in the template.
Signed-off-by: Zheng Xi Zhou [email protected]
Refer to crossplane-contrib/provider-alibaba#64 (comment)