Skip to content

Can I add spaces in kubebuilder comments? #3801

Closed Answered by camilamacedo86
mateusoliveira43 asked this question in Support
Discussion options

You must be logged in to vote

Hi @mateusoliveira43

Thank you for raise this one.
I agree that we should have an standard and ensure that all places are in the same.
Currently, the markers scaffold by Kubebuilder CLI are without space see:

return m.comment + prefix + m.value

However, we have also controller-tools and seems that there all are with spaces: https://github.com/search?q=repo%3Akubernetes-sigs%2Fcontroller-tools%20%2F%2F%20%2Bkubebuilder%3A&type=code

Due the linter issue raised by you, I think we can ensure that we have an space always, see: #3904

fell free to review this one.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mateusoliveira43
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants