-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.
Description
What do you want to happen?
We should add a documentation page that shows how to use Kubebuilder as a library to define your own marker support for file types not handled by core (like .rs
, .tpl
, .java
, etc.).
This is useful when:
- You're building an external plugin
- You want to scaffold files that are not Go
- Your file extensions aren't (and shouldn't be) part of the core
commentsByExt
map
The doc should show:
- How to create your own
Marker
usingmachinery.Marker
- How to plug that into your scaffolding logic
See this example with .rs
:
#4827 (review)
Extra Labels
No response
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.