Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 2.88 KB

File metadata and controls

19 lines (15 loc) · 2.88 KB

V1beta1CustomResourceDefinitionSpec

Properties

Name Type Description Notes
additional_printer_columns list[V1beta1CustomResourceColumnDefinition] AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive. [optional]
conversion V1beta1CustomResourceConversion [optional]
group str Group is the group this resource belongs in
names V1beta1CustomResourceDefinitionNames
preserve_unknown_fields bool preserveUnknownFields disables pruning of object fields which are not specified in the OpenAPI schema. apiVersion, kind, metadata and known fields inside metadata are always preserved. Defaults to true in v1beta and will default to false in v1. [optional]
scope str Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
subresources V1beta1CustomResourceSubresources [optional]
validation V1beta1CustomResourceValidation [optional]
version str Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. [optional]
versions list[V1beta1CustomResourceDefinitionVersion] Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. [optional]

[Back to Model list] [Back to API list] [Back to README]