forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomresourcedefinitionversion-apiextensions-v1.json
77 lines (77 loc) · 3.55 KB
/
customresourcedefinitionversion-apiextensions-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"description": "CustomResourceDefinitionVersion describes a version for CRD.",
"properties": {
"additionalPrinterColumns": {
"description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.",
"items": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"deprecated": {
"description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
"type": [
"boolean",
"null"
]
},
"deprecationWarning": {
"description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
"type": [
"string",
"null"
]
},
"name": {
"description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.",
"type": [
"string",
"null"
]
},
"schema": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation",
"description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
},
"selectableFields": {
"description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
"items": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"served": {
"description": "served is a flag enabling/disabling this version from being served via REST APIs",
"type": [
"boolean",
"null"
]
},
"storage": {
"description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.",
"type": [
"boolean",
"null"
]
},
"subresources": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.31.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources",
"description": "subresources specify what subresources this version of the defined custom resource have."
}
},
"required": [
"name",
"served",
"storage"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}