-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add controller-gen command to the generate target * change annotations to relax validation somewhat, to match current usage patterns, and in some cases fix tests to conform to newly added validation * re-generate files. The changes to CRDs fall in the the following categories: - descriptions copied from the comments in structs (the vast majority of this change) - validation tree expanded deeper (i.e. actual allowed properties are listed rather than just saying that "this is an object") and the `required` properties brought up to date with the structs - some fields added explicitly with the same value as they have by default when omitted (`singular`, `listKind`, `versions`) - added `controller-gen.kubebuilder.io/version` annotation - the `controller-tools.k8s.io: "1.0"` label removed from the `Test*` types - some missing properties added in the `Test*` types (`commands`, `kindContainers`, `kindNodeCache`) Signed-off-by: Marcin Owsiany <marcin@owsiany.pl>
- Loading branch information
Showing
23 changed files
with
1,924 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# CRD manifests | ||
|
||
These files are currently the authoritative definition for the CRDs (some of these | ||
are used as source by `kubectl kudo init`). | ||
These files are generated by `controller-gen` from the structs in the `pkg/apis` directory. | ||
And in turn they are the source for the `pkg/kudoctl/kudoinit/crds` package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.