kubernetes_schemas 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -3
  3. data/lib/kubernetes_schemas/version.rb +1 -1
  4. data/lib/kubernetes_schemas.rb +2 -1
  5. data/schemas/1.22-strict/apigroup.json +123 -0
  6. data/schemas/1.22-strict/apigrouplist.json +161 -0
  7. data/schemas/1.22-strict/apiresourcelist.json +140 -0
  8. data/schemas/1.22-strict/apiservice.json +439 -0
  9. data/schemas/1.22-strict/apiservicelist.json +522 -0
  10. data/schemas/1.22-strict/apiversions.json +78 -0
  11. data/schemas/1.22-strict/binding.json +349 -0
  12. data/schemas/1.22-strict/certificatesigningrequest.json +464 -0
  13. data/schemas/1.22-strict/certificatesigningrequestlist.json +544 -0
  14. data/schemas/1.22-strict/clusterrole.json +453 -0
  15. data/schemas/1.22-strict/clusterrolebinding.json +361 -0
  16. data/schemas/1.22-strict/clusterrolebindinglist.json +441 -0
  17. data/schemas/1.22-strict/clusterrolelist.json +536 -0
  18. data/schemas/1.22-strict/componentstatus.json +331 -0
  19. data/schemas/1.22-strict/componentstatuslist.json +414 -0
  20. data/schemas/1.22-strict/configmap.json +320 -0
  21. data/schemas/1.22-strict/configmaplist.json +403 -0
  22. data/schemas/1.22-strict/controllerrevision.json +304 -0
  23. data/schemas/1.22-strict/controllerrevisionlist.json +384 -0
  24. data/schemas/1.22-strict/cronjob.json +9985 -0
  25. data/schemas/1.22-strict/cronjoblist.json +10068 -0
  26. data/schemas/1.22-strict/csidriver.json +381 -0
  27. data/schemas/1.22-strict/csidriverlist.json +461 -0
  28. data/schemas/1.22-strict/csinode.json +361 -0
  29. data/schemas/1.22-strict/csinodelist.json +441 -0
  30. data/schemas/1.22-strict/csistoragecapacity.json +396 -0
  31. data/schemas/1.22-strict/csistoragecapacitylist.json +480 -0
  32. data/schemas/1.22-strict/daemonset.json +9715 -0
  33. data/schemas/1.22-strict/daemonsetlist.json +9798 -0
  34. data/schemas/1.22-strict/deleteoptions.json +336 -0
  35. data/schemas/1.22-strict/deployment.json +9736 -0
  36. data/schemas/1.22-strict/deploymentlist.json +9819 -0
  37. data/schemas/1.22-strict/endpoints.json +548 -0
  38. data/schemas/1.22-strict/endpointslice.json +529 -0
  39. data/schemas/1.22-strict/endpointslicelist.json +606 -0
  40. data/schemas/1.22-strict/endpointslist.json +631 -0
  41. data/schemas/1.22-strict/event.json +531 -0
  42. data/schemas/1.22-strict/eventlist.json +611 -0
  43. data/schemas/1.22-strict/eviction.json +624 -0
  44. data/schemas/1.22-strict/flowschema.json +635 -0
  45. data/schemas/1.22-strict/flowschemalist.json +718 -0
  46. data/schemas/1.22-strict/horizontalpodautoscaler.json +1825 -0
  47. data/schemas/1.22-strict/horizontalpodautoscalerlist.json +1908 -0
  48. data/schemas/1.22-strict/ingress.json +659 -0
  49. data/schemas/1.22-strict/ingressclass.json +346 -0
  50. data/schemas/1.22-strict/ingressclasslist.json +429 -0
  51. data/schemas/1.22-strict/ingresslist.json +742 -0
  52. data/schemas/1.22-strict/job.json +9731 -0
  53. data/schemas/1.22-strict/joblist.json +9814 -0
  54. data/schemas/1.22-strict/lease.json +335 -0
  55. data/schemas/1.22-strict/leaselist.json +418 -0
  56. data/schemas/1.22-strict/limitrange.json +435 -0
  57. data/schemas/1.22-strict/limitrangelist.json +518 -0
  58. data/schemas/1.22-strict/localsubjectaccessreview.json +466 -0
  59. data/schemas/1.22-strict/mutatingwebhookconfiguration.json +629 -0
  60. data/schemas/1.22-strict/mutatingwebhookconfigurationlist.json +712 -0
  61. data/schemas/1.22-strict/namespace.json +377 -0
  62. data/schemas/1.22-strict/namespacelist.json +460 -0
  63. data/schemas/1.22-strict/networkpolicy.json +873 -0
  64. data/schemas/1.22-strict/networkpolicylist.json +956 -0
  65. data/schemas/1.22-strict/node.json +928 -0
  66. data/schemas/1.22-strict/nodelist.json +1011 -0
  67. data/schemas/1.22-strict/persistentvolume.json +1820 -0
  68. data/schemas/1.22-strict/persistentvolumeclaim.json +626 -0
  69. data/schemas/1.22-strict/persistentvolumeclaimlist.json +709 -0
  70. data/schemas/1.22-strict/persistentvolumelist.json +1903 -0
  71. data/schemas/1.22-strict/pod.json +10192 -0
  72. data/schemas/1.22-strict/poddisruptionbudget.json +514 -0
  73. data/schemas/1.22-strict/poddisruptionbudgetlist.json +597 -0
  74. data/schemas/1.22-strict/podlist.json +10275 -0
  75. data/schemas/1.22-strict/podsecuritypolicy.json +817 -0
  76. data/schemas/1.22-strict/podsecuritypolicylist.json +900 -0
  77. data/schemas/1.22-strict/podtemplate.json +9435 -0
  78. data/schemas/1.22-strict/podtemplatelist.json +9518 -0
  79. data/schemas/1.22-strict/priorityclass.json +318 -0
  80. data/schemas/1.22-strict/priorityclasslist.json +398 -0
  81. data/schemas/1.22-strict/prioritylevelconfiguration.json +455 -0
  82. data/schemas/1.22-strict/prioritylevelconfigurationlist.json +538 -0
  83. data/schemas/1.22-strict/replicaset.json +9632 -0
  84. data/schemas/1.22-strict/replicasetlist.json +9715 -0
  85. data/schemas/1.22-strict/replicationcontroller.json +9578 -0
  86. data/schemas/1.22-strict/replicationcontrollerlist.json +9661 -0
  87. data/schemas/1.22-strict/resourcequota.json +441 -0
  88. data/schemas/1.22-strict/resourcequotalist.json +524 -0
  89. data/schemas/1.22-strict/role.json +368 -0
  90. data/schemas/1.22-strict/rolebinding.json +361 -0
  91. data/schemas/1.22-strict/rolebindinglist.json +441 -0
  92. data/schemas/1.22-strict/rolelist.json +451 -0
  93. data/schemas/1.22-strict/runtimeclass.json +407 -0
  94. data/schemas/1.22-strict/runtimeclasslist.json +487 -0
  95. data/schemas/1.22-strict/scale.json +329 -0
  96. data/schemas/1.22-strict/secret.json +327 -0
  97. data/schemas/1.22-strict/secretlist.json +410 -0
  98. data/schemas/1.22-strict/selfsubjectaccessreview.json +420 -0
  99. data/schemas/1.22-strict/selfsubjectrulesreview.json +438 -0
  100. data/schemas/1.22-strict/service.json +701 -0
  101. data/schemas/1.22-strict/serviceaccount.json +387 -0
  102. data/schemas/1.22-strict/serviceaccountlist.json +470 -0
  103. data/schemas/1.22-strict/servicelist.json +784 -0
  104. data/schemas/1.22-strict/statefulset.json +10350 -0
  105. data/schemas/1.22-strict/statefulsetlist.json +10433 -0
  106. data/schemas/1.22-strict/status.json +184 -0
  107. data/schemas/1.22-strict/storageclass.json +397 -0
  108. data/schemas/1.22-strict/storageclasslist.json +477 -0
  109. data/schemas/1.22-strict/subjectaccessreview.json +466 -0
  110. data/schemas/1.22-strict/tokenreview.json +412 -0
  111. data/schemas/1.22-strict/validatingwebhookconfiguration.json +622 -0
  112. data/schemas/1.22-strict/validatingwebhookconfigurationlist.json +705 -0
  113. data/schemas/1.22-strict/volumeattachment.json +1909 -0
  114. data/schemas/1.22-strict/volumeattachmentlist.json +1989 -0
  115. data/schemas/1.22-strict/watchevent.json +277 -0
  116. metadata +112 -1
@@ -0,0 +1,529 @@
1
+ {
2
+ "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.",
3
+ "type": "object",
4
+ "required": [
5
+ "addressType",
6
+ "endpoints"
7
+ ],
8
+ "properties": {
9
+ "addressType": {
10
+ "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.",
11
+ "type": [
12
+ "string",
13
+ "null"
14
+ ]
15
+ },
16
+ "apiVersion": {
17
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
18
+ "type": [
19
+ "string",
20
+ "null"
21
+ ]
22
+ },
23
+ "endpoints": {
24
+ "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.",
25
+ "type": [
26
+ "array",
27
+ "null"
28
+ ],
29
+ "items": {
30
+ "description": "Endpoint represents a single logical \"backend\" implementing a service.",
31
+ "type": [
32
+ "object",
33
+ "null"
34
+ ],
35
+ "required": [
36
+ "addresses"
37
+ ],
38
+ "properties": {
39
+ "addresses": {
40
+ "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.",
41
+ "type": "array",
42
+ "items": {
43
+ "type": [
44
+ "string",
45
+ "null"
46
+ ]
47
+ },
48
+ "x-kubernetes-list-type": "set"
49
+ },
50
+ "conditions": {
51
+ "description": "EndpointConditions represents the current condition of an endpoint.",
52
+ "type": [
53
+ "object",
54
+ "null"
55
+ ],
56
+ "properties": {
57
+ "ready": {
58
+ "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.",
59
+ "type": [
60
+ "boolean",
61
+ "null"
62
+ ]
63
+ },
64
+ "serving": {
65
+ "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
66
+ "type": [
67
+ "boolean",
68
+ "null"
69
+ ]
70
+ },
71
+ "terminating": {
72
+ "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
73
+ "type": [
74
+ "boolean",
75
+ "null"
76
+ ]
77
+ }
78
+ },
79
+ "additionalProperties": false
80
+ },
81
+ "hints": {
82
+ "description": "EndpointHints provides hints describing how an endpoint should be consumed.",
83
+ "type": [
84
+ "object",
85
+ "null"
86
+ ],
87
+ "properties": {
88
+ "forZones": {
89
+ "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. May contain a maximum of 8 entries.",
90
+ "type": [
91
+ "array",
92
+ "null"
93
+ ],
94
+ "items": {
95
+ "description": "ForZone provides information about which zones should consume this endpoint.",
96
+ "type": [
97
+ "object",
98
+ "null"
99
+ ],
100
+ "required": [
101
+ "name"
102
+ ],
103
+ "properties": {
104
+ "name": {
105
+ "description": "name represents the name of the zone.",
106
+ "type": "string"
107
+ }
108
+ },
109
+ "additionalProperties": false
110
+ },
111
+ "x-kubernetes-list-type": "atomic"
112
+ }
113
+ },
114
+ "additionalProperties": false
115
+ },
116
+ "hostname": {
117
+ "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.",
118
+ "type": [
119
+ "string",
120
+ "null"
121
+ ]
122
+ },
123
+ "nodeName": {
124
+ "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.",
125
+ "type": [
126
+ "string",
127
+ "null"
128
+ ]
129
+ },
130
+ "targetRef": {
131
+ "description": "ObjectReference contains enough information to let you inspect or modify the referred object.",
132
+ "type": [
133
+ "object",
134
+ "null"
135
+ ],
136
+ "properties": {
137
+ "apiVersion": {
138
+ "description": "API version of the referent.",
139
+ "type": [
140
+ "string",
141
+ "null"
142
+ ]
143
+ },
144
+ "fieldPath": {
145
+ "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
146
+ "type": [
147
+ "string",
148
+ "null"
149
+ ]
150
+ },
151
+ "kind": {
152
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
153
+ "type": [
154
+ "string",
155
+ "null"
156
+ ]
157
+ },
158
+ "name": {
159
+ "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
160
+ "type": [
161
+ "string",
162
+ "null"
163
+ ]
164
+ },
165
+ "namespace": {
166
+ "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
167
+ "type": [
168
+ "string",
169
+ "null"
170
+ ]
171
+ },
172
+ "resourceVersion": {
173
+ "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
174
+ "type": [
175
+ "string",
176
+ "null"
177
+ ]
178
+ },
179
+ "uid": {
180
+ "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
181
+ "type": [
182
+ "string",
183
+ "null"
184
+ ]
185
+ }
186
+ },
187
+ "x-kubernetes-map-type": "atomic",
188
+ "additionalProperties": false
189
+ },
190
+ "topology": {
191
+ "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.\nThis field is deprecated and will be removed in future api versions.",
192
+ "type": [
193
+ "object",
194
+ "null"
195
+ ],
196
+ "additionalProperties": {
197
+ "type": [
198
+ "string",
199
+ "null"
200
+ ]
201
+ }
202
+ }
203
+ },
204
+ "additionalProperties": false
205
+ },
206
+ "x-kubernetes-list-type": "atomic"
207
+ },
208
+ "kind": {
209
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
210
+ "type": [
211
+ "string",
212
+ "null"
213
+ ],
214
+ "enum": [
215
+ "EndpointSlice"
216
+ ]
217
+ },
218
+ "metadata": {
219
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
220
+ "type": [
221
+ "object",
222
+ "null"
223
+ ],
224
+ "properties": {
225
+ "annotations": {
226
+ "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
227
+ "type": [
228
+ "object",
229
+ "null"
230
+ ],
231
+ "additionalProperties": {
232
+ "type": [
233
+ "string",
234
+ "null"
235
+ ]
236
+ }
237
+ },
238
+ "clusterName": {
239
+ "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
240
+ "type": [
241
+ "string",
242
+ "null"
243
+ ]
244
+ },
245
+ "creationTimestamp": {
246
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
247
+ "type": [
248
+ "string",
249
+ "null"
250
+ ],
251
+ "format": "date-time"
252
+ },
253
+ "deletionGracePeriodSeconds": {
254
+ "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
255
+ "type": [
256
+ "integer",
257
+ "null"
258
+ ],
259
+ "format": "int64"
260
+ },
261
+ "deletionTimestamp": {
262
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
263
+ "type": [
264
+ "string",
265
+ "null"
266
+ ],
267
+ "format": "date-time"
268
+ },
269
+ "finalizers": {
270
+ "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
271
+ "type": [
272
+ "array",
273
+ "null"
274
+ ],
275
+ "items": {
276
+ "type": [
277
+ "string",
278
+ "null"
279
+ ]
280
+ },
281
+ "x-kubernetes-patch-strategy": "merge"
282
+ },
283
+ "generateName": {
284
+ "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
285
+ "type": [
286
+ "string",
287
+ "null"
288
+ ]
289
+ },
290
+ "generation": {
291
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
292
+ "type": [
293
+ "integer",
294
+ "null"
295
+ ],
296
+ "format": "int64"
297
+ },
298
+ "labels": {
299
+ "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
300
+ "type": [
301
+ "object",
302
+ "null"
303
+ ],
304
+ "additionalProperties": {
305
+ "type": [
306
+ "string",
307
+ "null"
308
+ ]
309
+ }
310
+ },
311
+ "managedFields": {
312
+ "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
313
+ "type": [
314
+ "array",
315
+ "null"
316
+ ],
317
+ "items": {
318
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
319
+ "type": [
320
+ "object",
321
+ "null"
322
+ ],
323
+ "properties": {
324
+ "apiVersion": {
325
+ "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
326
+ "type": [
327
+ "string",
328
+ "null"
329
+ ]
330
+ },
331
+ "fieldsType": {
332
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
333
+ "type": [
334
+ "string",
335
+ "null"
336
+ ]
337
+ },
338
+ "fieldsV1": {
339
+ "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
340
+ "type": [
341
+ "object",
342
+ "null"
343
+ ]
344
+ },
345
+ "manager": {
346
+ "description": "Manager is an identifier of the workflow managing these fields.",
347
+ "type": [
348
+ "string",
349
+ "null"
350
+ ]
351
+ },
352
+ "operation": {
353
+ "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
354
+ "type": [
355
+ "string",
356
+ "null"
357
+ ]
358
+ },
359
+ "subresource": {
360
+ "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
361
+ "type": [
362
+ "string",
363
+ "null"
364
+ ]
365
+ },
366
+ "time": {
367
+ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
368
+ "type": [
369
+ "string",
370
+ "null"
371
+ ],
372
+ "format": "date-time"
373
+ }
374
+ },
375
+ "additionalProperties": false
376
+ }
377
+ },
378
+ "name": {
379
+ "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
380
+ "type": [
381
+ "string",
382
+ "null"
383
+ ]
384
+ },
385
+ "namespace": {
386
+ "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
387
+ "type": [
388
+ "string",
389
+ "null"
390
+ ]
391
+ },
392
+ "ownerReferences": {
393
+ "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
394
+ "type": [
395
+ "array",
396
+ "null"
397
+ ],
398
+ "items": {
399
+ "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
400
+ "type": [
401
+ "object",
402
+ "null"
403
+ ],
404
+ "required": [
405
+ "apiVersion",
406
+ "kind",
407
+ "name",
408
+ "uid"
409
+ ],
410
+ "properties": {
411
+ "apiVersion": {
412
+ "description": "API version of the referent.",
413
+ "type": "string"
414
+ },
415
+ "blockOwnerDeletion": {
416
+ "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
417
+ "type": [
418
+ "boolean",
419
+ "null"
420
+ ]
421
+ },
422
+ "controller": {
423
+ "description": "If true, this reference points to the managing controller.",
424
+ "type": [
425
+ "boolean",
426
+ "null"
427
+ ]
428
+ },
429
+ "kind": {
430
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
431
+ "type": "string"
432
+ },
433
+ "name": {
434
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
435
+ "type": "string"
436
+ },
437
+ "uid": {
438
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
439
+ "type": "string"
440
+ }
441
+ },
442
+ "x-kubernetes-map-type": "atomic",
443
+ "additionalProperties": false
444
+ },
445
+ "x-kubernetes-patch-merge-key": "uid",
446
+ "x-kubernetes-patch-strategy": "merge"
447
+ },
448
+ "resourceVersion": {
449
+ "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
450
+ "type": [
451
+ "string",
452
+ "null"
453
+ ]
454
+ },
455
+ "selfLink": {
456
+ "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
457
+ "type": [
458
+ "string",
459
+ "null"
460
+ ]
461
+ },
462
+ "uid": {
463
+ "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
464
+ "type": [
465
+ "string",
466
+ "null"
467
+ ]
468
+ }
469
+ },
470
+ "additionalProperties": false
471
+ },
472
+ "ports": {
473
+ "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.",
474
+ "type": [
475
+ "array",
476
+ "null"
477
+ ],
478
+ "items": {
479
+ "description": "EndpointPort represents a Port used by an EndpointSlice",
480
+ "type": [
481
+ "object",
482
+ "null"
483
+ ],
484
+ "properties": {
485
+ "appProtocol": {
486
+ "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.",
487
+ "type": [
488
+ "string",
489
+ "null"
490
+ ]
491
+ },
492
+ "name": {
493
+ "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.",
494
+ "type": [
495
+ "string",
496
+ "null"
497
+ ]
498
+ },
499
+ "port": {
500
+ "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.",
501
+ "type": [
502
+ "integer",
503
+ "null"
504
+ ],
505
+ "format": "int32"
506
+ },
507
+ "protocol": {
508
+ "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.",
509
+ "type": [
510
+ "string",
511
+ "null"
512
+ ]
513
+ }
514
+ },
515
+ "additionalProperties": false
516
+ },
517
+ "x-kubernetes-list-type": "atomic"
518
+ }
519
+ },
520
+ "x-kubernetes-group-version-kind": [
521
+ {
522
+ "group": "discovery.k8s.io",
523
+ "kind": "EndpointSlice",
524
+ "version": "v1beta1"
525
+ }
526
+ ],
527
+ "additionalProperties": false,
528
+ "$schema": "http://json-schema.org/schema#"
529
+ }