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 kubebuilder catagories for ProviderConfig and MyType #27

Merged
merged 3 commits into from
Apr 7, 2021

Conversation

zzxwill
Copy link
Member

@zzxwill zzxwill commented Apr 6, 2021

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)

Added kubebuilder catagories {crossplane,provider,PROVIDER-NAME}
in the template.

Signed-off-by: Zheng Xi Zhou <[email protected]>
categories:
- crossplane
- provider
- PROVIDER-NAME
Copy link
Member Author

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.

Copy link
Member

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. 🤔

Copy link
Contributor

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

apis/sample/v1alpha1/types.go Outdated Show resolved Hide resolved
Copy link
Member

@negz negz left a 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]>
@zzxwill zzxwill force-pushed the kubebuilder-catagories branch from dfde25d to 40d758e Compare April 7, 2021 03:46
Signed-off-by: Zheng Xi Zhou <[email protected]
Signed-off-by: Zheng Xi Zhou <[email protected]>
@zzxwill zzxwill force-pushed the kubebuilder-catagories branch from ec03823 to 9269825 Compare April 7, 2021 03:51
@hasheddan hasheddan merged commit 741fc8f into crossplane:master Apr 7, 2021
@zzxwill zzxwill deleted the kubebuilder-catagories branch April 8, 2021 02:34
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.

4 participants