kubernetes-sigs / kubernetes-sigs/controller-tools

Ability to skip descriptions per field or per package

Open
#441 18 comments 8 reactions 1 assignee Claimed by @camilamacedo86 View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
868
Forks
482
Avg merge
1d 11h
Merged PRs (30d)
8

Description

I have a CRD which nests multiple large CRD objects, when `controller-gen` generates the manifests with all the metadata and descriptions this can equal well over 2mb. Looking at `controller-gen crd -www` it doesn’t appear there is a way to skip descriptions either at a field level or even at a package level. Is that correct?

If that is, would there be any objections to a marker like `// +kubernetes:skip:description` where it could be at the package or at an individual field in the CRD?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.