kubernetes_schemas 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +6 -0
  4. data/README.md +35 -0
  5. data/Rakefile +28 -0
  6. data/bin/console +14 -0
  7. data/bin/setup +8 -0
  8. data/kubernetes_schemas.gemspec +30 -0
  9. data/lib/kubernetes_schemas/kubernetes_versions.rb +3 -0
  10. data/lib/kubernetes_schemas/version.rb +3 -0
  11. data/lib/kubernetes_schemas.rb +33 -0
  12. data/schemas/1.22/apigroup.json +119 -0
  13. data/schemas/1.22/apigrouplist.json +156 -0
  14. data/schemas/1.22/apiresourcelist.json +138 -0
  15. data/schemas/1.22/apiservice.json +431 -0
  16. data/schemas/1.22/apiservicelist.json +512 -0
  17. data/schemas/1.22/apiversions.json +76 -0
  18. data/schemas/1.22/binding.json +344 -0
  19. data/schemas/1.22/certificatesigningrequest.json +457 -0
  20. data/schemas/1.22/certificatesigningrequestlist.json +535 -0
  21. data/schemas/1.22/clusterrole.json +445 -0
  22. data/schemas/1.22/clusterrolebinding.json +355 -0
  23. data/schemas/1.22/clusterrolebindinglist.json +433 -0
  24. data/schemas/1.22/clusterrolelist.json +526 -0
  25. data/schemas/1.22/componentstatus.json +326 -0
  26. data/schemas/1.22/componentstatuslist.json +407 -0
  27. data/schemas/1.22/configmap.json +316 -0
  28. data/schemas/1.22/configmaplist.json +397 -0
  29. data/schemas/1.22/controllerrevision.json +300 -0
  30. data/schemas/1.22/controllerrevisionlist.json +378 -0
  31. data/schemas/1.22/cronjob.json +9720 -0
  32. data/schemas/1.22/cronjoblist.json +9801 -0
  33. data/schemas/1.22/csidriver.json +375 -0
  34. data/schemas/1.22/csidriverlist.json +453 -0
  35. data/schemas/1.22/csinode.json +354 -0
  36. data/schemas/1.22/csinodelist.json +432 -0
  37. data/schemas/1.22/csistoragecapacity.json +390 -0
  38. data/schemas/1.22/csistoragecapacitylist.json +472 -0
  39. data/schemas/1.22/daemonset.json +9453 -0
  40. data/schemas/1.22/daemonsetlist.json +9534 -0
  41. data/schemas/1.22/deleteoptions.json +334 -0
  42. data/schemas/1.22/deployment.json +9474 -0
  43. data/schemas/1.22/deploymentlist.json +9555 -0
  44. data/schemas/1.22/endpoints.json +538 -0
  45. data/schemas/1.22/endpointslice.json +519 -0
  46. data/schemas/1.22/endpointslicelist.json +594 -0
  47. data/schemas/1.22/endpointslist.json +619 -0
  48. data/schemas/1.22/event.json +523 -0
  49. data/schemas/1.22/eventlist.json +601 -0
  50. data/schemas/1.22/eviction.json +618 -0
  51. data/schemas/1.22/flowschema.json +619 -0
  52. data/schemas/1.22/flowschemalist.json +700 -0
  53. data/schemas/1.22/horizontalpodautoscaler.json +1770 -0
  54. data/schemas/1.22/horizontalpodautoscalerlist.json +1851 -0
  55. data/schemas/1.22/ingress.json +638 -0
  56. data/schemas/1.22/ingressclass.json +340 -0
  57. data/schemas/1.22/ingressclasslist.json +421 -0
  58. data/schemas/1.22/ingresslist.json +719 -0
  59. data/schemas/1.22/job.json +9470 -0
  60. data/schemas/1.22/joblist.json +9551 -0
  61. data/schemas/1.22/lease.json +330 -0
  62. data/schemas/1.22/leaselist.json +411 -0
  63. data/schemas/1.22/limitrange.json +429 -0
  64. data/schemas/1.22/limitrangelist.json +510 -0
  65. data/schemas/1.22/localsubjectaccessreview.json +458 -0
  66. data/schemas/1.22/mutatingwebhookconfiguration.json +617 -0
  67. data/schemas/1.22/mutatingwebhookconfigurationlist.json +698 -0
  68. data/schemas/1.22/namespace.json +370 -0
  69. data/schemas/1.22/namespacelist.json +451 -0
  70. data/schemas/1.22/networkpolicy.json +850 -0
  71. data/schemas/1.22/networkpolicylist.json +931 -0
  72. data/schemas/1.22/node.json +905 -0
  73. data/schemas/1.22/nodelist.json +986 -0
  74. data/schemas/1.22/persistentvolume.json +1775 -0
  75. data/schemas/1.22/persistentvolumeclaim.json +614 -0
  76. data/schemas/1.22/persistentvolumeclaimlist.json +695 -0
  77. data/schemas/1.22/persistentvolumelist.json +1856 -0
  78. data/schemas/1.22/pod.json +9911 -0
  79. data/schemas/1.22/poddisruptionbudget.json +505 -0
  80. data/schemas/1.22/poddisruptionbudgetlist.json +586 -0
  81. data/schemas/1.22/podlist.json +9992 -0
  82. data/schemas/1.22/podsecuritypolicy.json +797 -0
  83. data/schemas/1.22/podsecuritypolicylist.json +878 -0
  84. data/schemas/1.22/podtemplate.json +9180 -0
  85. data/schemas/1.22/podtemplatelist.json +9261 -0
  86. data/schemas/1.22/priorityclass.json +314 -0
  87. data/schemas/1.22/priorityclasslist.json +392 -0
  88. data/schemas/1.22/prioritylevelconfiguration.json +445 -0
  89. data/schemas/1.22/prioritylevelconfigurationlist.json +526 -0
  90. data/schemas/1.22/replicaset.json +9372 -0
  91. data/schemas/1.22/replicasetlist.json +9453 -0
  92. data/schemas/1.22/replicationcontroller.json +9320 -0
  93. data/schemas/1.22/replicationcontrollerlist.json +9401 -0
  94. data/schemas/1.22/resourcequota.json +433 -0
  95. data/schemas/1.22/resourcequotalist.json +514 -0
  96. data/schemas/1.22/role.json +363 -0
  97. data/schemas/1.22/rolebinding.json +355 -0
  98. data/schemas/1.22/rolebindinglist.json +433 -0
  99. data/schemas/1.22/rolelist.json +444 -0
  100. data/schemas/1.22/runtimeclass.json +400 -0
  101. data/schemas/1.22/runtimeclasslist.json +478 -0
  102. data/schemas/1.22/scale.json +323 -0
  103. data/schemas/1.22/secret.json +323 -0
  104. data/schemas/1.22/secretlist.json +404 -0
  105. data/schemas/1.22/selfsubjectaccessreview.json +412 -0
  106. data/schemas/1.22/selfsubjectrulesreview.json +430 -0
  107. data/schemas/1.22/service.json +688 -0
  108. data/schemas/1.22/serviceaccount.json +381 -0
  109. data/schemas/1.22/serviceaccountlist.json +462 -0
  110. data/schemas/1.22/servicelist.json +769 -0
  111. data/schemas/1.22/statefulset.json +10076 -0
  112. data/schemas/1.22/statefulsetlist.json +10157 -0
  113. data/schemas/1.22/status.json +180 -0
  114. data/schemas/1.22/storageclass.json +391 -0
  115. data/schemas/1.22/storageclasslist.json +469 -0
  116. data/schemas/1.22/subjectaccessreview.json +458 -0
  117. data/schemas/1.22/tokenreview.json +405 -0
  118. data/schemas/1.22/validatingwebhookconfiguration.json +610 -0
  119. data/schemas/1.22/validatingwebhookconfigurationlist.json +691 -0
  120. data/schemas/1.22/volumeattachment.json +1860 -0
  121. data/schemas/1.22/volumeattachmentlist.json +1938 -0
  122. data/schemas/1.22/watchevent.json +276 -0
  123. metadata +207 -0
@@ -0,0 +1,719 @@
1
+ {
2
+ "description": "IngressList is a collection of Ingress.",
3
+ "type": "object",
4
+ "required": [
5
+ "items"
6
+ ],
7
+ "properties": {
8
+ "apiVersion": {
9
+ "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",
10
+ "type": [
11
+ "string",
12
+ "null"
13
+ ]
14
+ },
15
+ "items": {
16
+ "description": "Items is the list of Ingress.",
17
+ "type": [
18
+ "array",
19
+ "null"
20
+ ],
21
+ "items": {
22
+ "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.",
23
+ "type": [
24
+ "object",
25
+ "null"
26
+ ],
27
+ "properties": {
28
+ "apiVersion": {
29
+ "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",
30
+ "type": [
31
+ "string",
32
+ "null"
33
+ ]
34
+ },
35
+ "kind": {
36
+ "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",
37
+ "type": [
38
+ "string",
39
+ "null"
40
+ ],
41
+ "enum": [
42
+ "Ingress"
43
+ ]
44
+ },
45
+ "metadata": {
46
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
47
+ "type": [
48
+ "object",
49
+ "null"
50
+ ],
51
+ "properties": {
52
+ "annotations": {
53
+ "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",
54
+ "type": [
55
+ "object",
56
+ "null"
57
+ ],
58
+ "additionalProperties": {
59
+ "type": [
60
+ "string",
61
+ "null"
62
+ ]
63
+ }
64
+ },
65
+ "clusterName": {
66
+ "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.",
67
+ "type": [
68
+ "string",
69
+ "null"
70
+ ]
71
+ },
72
+ "creationTimestamp": {
73
+ "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.",
74
+ "type": [
75
+ "string",
76
+ "null"
77
+ ],
78
+ "format": "date-time"
79
+ },
80
+ "deletionGracePeriodSeconds": {
81
+ "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.",
82
+ "type": [
83
+ "integer",
84
+ "null"
85
+ ],
86
+ "format": "int64"
87
+ },
88
+ "deletionTimestamp": {
89
+ "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.",
90
+ "type": [
91
+ "string",
92
+ "null"
93
+ ],
94
+ "format": "date-time"
95
+ },
96
+ "finalizers": {
97
+ "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.",
98
+ "type": [
99
+ "array",
100
+ "null"
101
+ ],
102
+ "items": {
103
+ "type": [
104
+ "string",
105
+ "null"
106
+ ]
107
+ },
108
+ "x-kubernetes-patch-strategy": "merge"
109
+ },
110
+ "generateName": {
111
+ "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",
112
+ "type": [
113
+ "string",
114
+ "null"
115
+ ]
116
+ },
117
+ "generation": {
118
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
119
+ "type": [
120
+ "integer",
121
+ "null"
122
+ ],
123
+ "format": "int64"
124
+ },
125
+ "labels": {
126
+ "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",
127
+ "type": [
128
+ "object",
129
+ "null"
130
+ ],
131
+ "additionalProperties": {
132
+ "type": [
133
+ "string",
134
+ "null"
135
+ ]
136
+ }
137
+ },
138
+ "managedFields": {
139
+ "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.",
140
+ "type": [
141
+ "array",
142
+ "null"
143
+ ],
144
+ "items": {
145
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
146
+ "type": [
147
+ "object",
148
+ "null"
149
+ ],
150
+ "properties": {
151
+ "apiVersion": {
152
+ "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.",
153
+ "type": [
154
+ "string",
155
+ "null"
156
+ ]
157
+ },
158
+ "fieldsType": {
159
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
160
+ "type": [
161
+ "string",
162
+ "null"
163
+ ]
164
+ },
165
+ "fieldsV1": {
166
+ "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",
167
+ "type": [
168
+ "object",
169
+ "null"
170
+ ]
171
+ },
172
+ "manager": {
173
+ "description": "Manager is an identifier of the workflow managing these fields.",
174
+ "type": [
175
+ "string",
176
+ "null"
177
+ ]
178
+ },
179
+ "operation": {
180
+ "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'.",
181
+ "type": [
182
+ "string",
183
+ "null"
184
+ ]
185
+ },
186
+ "subresource": {
187
+ "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.",
188
+ "type": [
189
+ "string",
190
+ "null"
191
+ ]
192
+ },
193
+ "time": {
194
+ "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.",
195
+ "type": [
196
+ "string",
197
+ "null"
198
+ ],
199
+ "format": "date-time"
200
+ }
201
+ }
202
+ }
203
+ },
204
+ "name": {
205
+ "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",
206
+ "type": [
207
+ "string",
208
+ "null"
209
+ ]
210
+ },
211
+ "namespace": {
212
+ "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",
213
+ "type": [
214
+ "string",
215
+ "null"
216
+ ]
217
+ },
218
+ "ownerReferences": {
219
+ "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.",
220
+ "type": [
221
+ "array",
222
+ "null"
223
+ ],
224
+ "items": {
225
+ "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.",
226
+ "type": [
227
+ "object",
228
+ "null"
229
+ ],
230
+ "required": [
231
+ "apiVersion",
232
+ "kind",
233
+ "name",
234
+ "uid"
235
+ ],
236
+ "properties": {
237
+ "apiVersion": {
238
+ "description": "API version of the referent.",
239
+ "type": "string"
240
+ },
241
+ "blockOwnerDeletion": {
242
+ "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.",
243
+ "type": [
244
+ "boolean",
245
+ "null"
246
+ ]
247
+ },
248
+ "controller": {
249
+ "description": "If true, this reference points to the managing controller.",
250
+ "type": [
251
+ "boolean",
252
+ "null"
253
+ ]
254
+ },
255
+ "kind": {
256
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
257
+ "type": "string"
258
+ },
259
+ "name": {
260
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
261
+ "type": "string"
262
+ },
263
+ "uid": {
264
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
265
+ "type": "string"
266
+ }
267
+ },
268
+ "x-kubernetes-map-type": "atomic"
269
+ },
270
+ "x-kubernetes-patch-merge-key": "uid",
271
+ "x-kubernetes-patch-strategy": "merge"
272
+ },
273
+ "resourceVersion": {
274
+ "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",
275
+ "type": [
276
+ "string",
277
+ "null"
278
+ ]
279
+ },
280
+ "selfLink": {
281
+ "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.",
282
+ "type": [
283
+ "string",
284
+ "null"
285
+ ]
286
+ },
287
+ "uid": {
288
+ "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",
289
+ "type": [
290
+ "string",
291
+ "null"
292
+ ]
293
+ }
294
+ }
295
+ },
296
+ "spec": {
297
+ "description": "IngressSpec describes the Ingress the user wishes to exist.",
298
+ "type": [
299
+ "object",
300
+ "null"
301
+ ],
302
+ "properties": {
303
+ "defaultBackend": {
304
+ "description": "IngressBackend describes all endpoints for a given service and port.",
305
+ "type": [
306
+ "object",
307
+ "null"
308
+ ],
309
+ "properties": {
310
+ "resource": {
311
+ "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
312
+ "type": [
313
+ "object",
314
+ "null"
315
+ ],
316
+ "required": [
317
+ "kind",
318
+ "name"
319
+ ],
320
+ "properties": {
321
+ "apiGroup": {
322
+ "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
323
+ "type": [
324
+ "string",
325
+ "null"
326
+ ]
327
+ },
328
+ "kind": {
329
+ "description": "Kind is the type of resource being referenced",
330
+ "type": "string"
331
+ },
332
+ "name": {
333
+ "description": "Name is the name of resource being referenced",
334
+ "type": "string"
335
+ }
336
+ },
337
+ "x-kubernetes-map-type": "atomic"
338
+ },
339
+ "service": {
340
+ "description": "IngressServiceBackend references a Kubernetes Service as a Backend.",
341
+ "type": [
342
+ "object",
343
+ "null"
344
+ ],
345
+ "required": [
346
+ "name"
347
+ ],
348
+ "properties": {
349
+ "name": {
350
+ "description": "Name is the referenced service. The service must exist in the same namespace as the Ingress object.",
351
+ "type": "string"
352
+ },
353
+ "port": {
354
+ "description": "ServiceBackendPort is the service port being referenced.",
355
+ "type": [
356
+ "object",
357
+ "null"
358
+ ],
359
+ "properties": {
360
+ "name": {
361
+ "description": "Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".",
362
+ "type": [
363
+ "string",
364
+ "null"
365
+ ]
366
+ },
367
+ "number": {
368
+ "description": "Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".",
369
+ "type": [
370
+ "integer",
371
+ "null"
372
+ ],
373
+ "format": "int32"
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "ingressClassName": {
382
+ "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.",
383
+ "type": [
384
+ "string",
385
+ "null"
386
+ ]
387
+ },
388
+ "rules": {
389
+ "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.",
390
+ "type": [
391
+ "array",
392
+ "null"
393
+ ],
394
+ "items": {
395
+ "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.",
396
+ "type": [
397
+ "object",
398
+ "null"
399
+ ],
400
+ "properties": {
401
+ "host": {
402
+ "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.",
403
+ "type": [
404
+ "string",
405
+ "null"
406
+ ]
407
+ },
408
+ "http": {
409
+ "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.",
410
+ "type": [
411
+ "object",
412
+ "null"
413
+ ],
414
+ "required": [
415
+ "paths"
416
+ ],
417
+ "properties": {
418
+ "paths": {
419
+ "description": "A collection of paths that map requests to backends.",
420
+ "type": "array",
421
+ "items": {
422
+ "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.",
423
+ "type": [
424
+ "object",
425
+ "null"
426
+ ],
427
+ "required": [
428
+ "pathType",
429
+ "backend"
430
+ ],
431
+ "properties": {
432
+ "backend": {
433
+ "description": "IngressBackend describes all endpoints for a given service and port.",
434
+ "type": "object",
435
+ "properties": {
436
+ "resource": {
437
+ "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
438
+ "type": [
439
+ "object",
440
+ "null"
441
+ ],
442
+ "required": [
443
+ "kind",
444
+ "name"
445
+ ],
446
+ "properties": {
447
+ "apiGroup": {
448
+ "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
449
+ "type": [
450
+ "string",
451
+ "null"
452
+ ]
453
+ },
454
+ "kind": {
455
+ "description": "Kind is the type of resource being referenced",
456
+ "type": "string"
457
+ },
458
+ "name": {
459
+ "description": "Name is the name of resource being referenced",
460
+ "type": "string"
461
+ }
462
+ },
463
+ "x-kubernetes-map-type": "atomic"
464
+ },
465
+ "service": {
466
+ "description": "IngressServiceBackend references a Kubernetes Service as a Backend.",
467
+ "type": [
468
+ "object",
469
+ "null"
470
+ ],
471
+ "required": [
472
+ "name"
473
+ ],
474
+ "properties": {
475
+ "name": {
476
+ "description": "Name is the referenced service. The service must exist in the same namespace as the Ingress object.",
477
+ "type": "string"
478
+ },
479
+ "port": {
480
+ "description": "ServiceBackendPort is the service port being referenced.",
481
+ "type": [
482
+ "object",
483
+ "null"
484
+ ],
485
+ "properties": {
486
+ "name": {
487
+ "description": "Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".",
488
+ "type": [
489
+ "string",
490
+ "null"
491
+ ]
492
+ },
493
+ "number": {
494
+ "description": "Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".",
495
+ "type": [
496
+ "integer",
497
+ "null"
498
+ ],
499
+ "format": "int32"
500
+ }
501
+ }
502
+ }
503
+ }
504
+ }
505
+ }
506
+ },
507
+ "path": {
508
+ "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".",
509
+ "type": [
510
+ "string",
511
+ "null"
512
+ ]
513
+ },
514
+ "pathType": {
515
+ "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.",
516
+ "type": "string"
517
+ }
518
+ }
519
+ },
520
+ "x-kubernetes-list-type": "atomic"
521
+ }
522
+ }
523
+ }
524
+ }
525
+ },
526
+ "x-kubernetes-list-type": "atomic"
527
+ },
528
+ "tls": {
529
+ "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.",
530
+ "type": [
531
+ "array",
532
+ "null"
533
+ ],
534
+ "items": {
535
+ "description": "IngressTLS describes the transport layer security associated with an Ingress.",
536
+ "type": [
537
+ "object",
538
+ "null"
539
+ ],
540
+ "properties": {
541
+ "hosts": {
542
+ "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.",
543
+ "type": [
544
+ "array",
545
+ "null"
546
+ ],
547
+ "items": {
548
+ "type": [
549
+ "string",
550
+ "null"
551
+ ]
552
+ },
553
+ "x-kubernetes-list-type": "atomic"
554
+ },
555
+ "secretName": {
556
+ "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.",
557
+ "type": [
558
+ "string",
559
+ "null"
560
+ ]
561
+ }
562
+ }
563
+ },
564
+ "x-kubernetes-list-type": "atomic"
565
+ }
566
+ }
567
+ },
568
+ "status": {
569
+ "description": "IngressStatus describe the current state of the Ingress.",
570
+ "type": [
571
+ "object",
572
+ "null"
573
+ ],
574
+ "properties": {
575
+ "loadBalancer": {
576
+ "description": "LoadBalancerStatus represents the status of a load-balancer.",
577
+ "type": [
578
+ "object",
579
+ "null"
580
+ ],
581
+ "properties": {
582
+ "ingress": {
583
+ "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
584
+ "type": [
585
+ "array",
586
+ "null"
587
+ ],
588
+ "items": {
589
+ "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
590
+ "type": [
591
+ "object",
592
+ "null"
593
+ ],
594
+ "properties": {
595
+ "hostname": {
596
+ "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
597
+ "type": [
598
+ "string",
599
+ "null"
600
+ ]
601
+ },
602
+ "ip": {
603
+ "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
604
+ "type": [
605
+ "string",
606
+ "null"
607
+ ]
608
+ },
609
+ "ports": {
610
+ "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it",
611
+ "type": [
612
+ "array",
613
+ "null"
614
+ ],
615
+ "items": {
616
+ "type": [
617
+ "object",
618
+ "null"
619
+ ],
620
+ "required": [
621
+ "port",
622
+ "protocol"
623
+ ],
624
+ "properties": {
625
+ "error": {
626
+ "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.",
627
+ "type": [
628
+ "string",
629
+ "null"
630
+ ]
631
+ },
632
+ "port": {
633
+ "description": "Port is the port number of the service port of which status is recorded here",
634
+ "type": "integer",
635
+ "format": "int32"
636
+ },
637
+ "protocol": {
638
+ "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"",
639
+ "type": "string"
640
+ }
641
+ }
642
+ },
643
+ "x-kubernetes-list-type": "atomic"
644
+ }
645
+ }
646
+ }
647
+ }
648
+ }
649
+ }
650
+ }
651
+ }
652
+ },
653
+ "x-kubernetes-group-version-kind": [
654
+ {
655
+ "group": "networking.k8s.io",
656
+ "kind": "Ingress",
657
+ "version": "v1"
658
+ }
659
+ ]
660
+ }
661
+ },
662
+ "kind": {
663
+ "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",
664
+ "type": [
665
+ "string",
666
+ "null"
667
+ ],
668
+ "enum": [
669
+ "IngressList"
670
+ ]
671
+ },
672
+ "metadata": {
673
+ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
674
+ "type": [
675
+ "object",
676
+ "null"
677
+ ],
678
+ "properties": {
679
+ "continue": {
680
+ "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
681
+ "type": [
682
+ "string",
683
+ "null"
684
+ ]
685
+ },
686
+ "remainingItemCount": {
687
+ "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
688
+ "type": [
689
+ "integer",
690
+ "null"
691
+ ],
692
+ "format": "int64"
693
+ },
694
+ "resourceVersion": {
695
+ "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
696
+ "type": [
697
+ "string",
698
+ "null"
699
+ ]
700
+ },
701
+ "selfLink": {
702
+ "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.",
703
+ "type": [
704
+ "string",
705
+ "null"
706
+ ]
707
+ }
708
+ }
709
+ }
710
+ },
711
+ "x-kubernetes-group-version-kind": [
712
+ {
713
+ "group": "networking.k8s.io",
714
+ "kind": "IngressList",
715
+ "version": "v1"
716
+ }
717
+ ],
718
+ "$schema": "http://json-schema.org/schema#"
719
+ }