weaveworks / gitopssets-controller

Manages the GitOpsSet CRDs.
Apache License 2.0
9 stars 5 forks source link

Update templates used to generate API docs #45

Closed AlinaGoaga closed 1 year ago

foot commented 1 year ago

Looking great! Adding some comments just before the GitOpsSet type in gitopssets_types.go like this:

//+genclient
//+genclient:Namespaced

as they did in the source-controller PR https://github.com/fluxcd/source-controller/pull/63/files#diff-b1b8367d38c32920880bbf7147e892f5f8d6bc59d0f64a2c0ffeed559f9a4888R150-R151 highlights the resource types you can create and brings the GitOpSet Definition up to the top which is neat.