Skip to content

Documentation needed for +kubebuilder:scaffold markers #1487

@AKarbas

Description

@AKarbas

Hi!

Please add documentation about the +kubebuilder:scaffold markers.

I came across this in the main.go generated file of a project I'm currently working on, where there's this line in the imports section, which apparently helps Kubebuilder put import statements there when you create new api-versions.

// +kubebuilder:scaffold:imports

Possible landing spots in CronJob tutorial or in markers reference.

Thanks to @djzager and @estroz for your help in Slack. 🙏

Cheers

/kind documentation

Note that the whole explanation about what/where we need to change is: #1487 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes 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.kind/documentationCategorizes issue or PR as related to documentation.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions