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,464 @@
1
+ {
2
+ "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.",
3
+ "type": "object",
4
+ "required": [
5
+ "spec"
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
+ "kind": {
16
+ "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",
17
+ "type": [
18
+ "string",
19
+ "null"
20
+ ],
21
+ "enum": [
22
+ "CertificateSigningRequest"
23
+ ]
24
+ },
25
+ "metadata": {
26
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
27
+ "type": [
28
+ "object",
29
+ "null"
30
+ ],
31
+ "properties": {
32
+ "annotations": {
33
+ "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",
34
+ "type": [
35
+ "object",
36
+ "null"
37
+ ],
38
+ "additionalProperties": {
39
+ "type": [
40
+ "string",
41
+ "null"
42
+ ]
43
+ }
44
+ },
45
+ "clusterName": {
46
+ "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.",
47
+ "type": [
48
+ "string",
49
+ "null"
50
+ ]
51
+ },
52
+ "creationTimestamp": {
53
+ "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.",
54
+ "type": [
55
+ "string",
56
+ "null"
57
+ ],
58
+ "format": "date-time"
59
+ },
60
+ "deletionGracePeriodSeconds": {
61
+ "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.",
62
+ "type": [
63
+ "integer",
64
+ "null"
65
+ ],
66
+ "format": "int64"
67
+ },
68
+ "deletionTimestamp": {
69
+ "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.",
70
+ "type": [
71
+ "string",
72
+ "null"
73
+ ],
74
+ "format": "date-time"
75
+ },
76
+ "finalizers": {
77
+ "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.",
78
+ "type": [
79
+ "array",
80
+ "null"
81
+ ],
82
+ "items": {
83
+ "type": [
84
+ "string",
85
+ "null"
86
+ ]
87
+ },
88
+ "x-kubernetes-patch-strategy": "merge"
89
+ },
90
+ "generateName": {
91
+ "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",
92
+ "type": [
93
+ "string",
94
+ "null"
95
+ ]
96
+ },
97
+ "generation": {
98
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
99
+ "type": [
100
+ "integer",
101
+ "null"
102
+ ],
103
+ "format": "int64"
104
+ },
105
+ "labels": {
106
+ "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",
107
+ "type": [
108
+ "object",
109
+ "null"
110
+ ],
111
+ "additionalProperties": {
112
+ "type": [
113
+ "string",
114
+ "null"
115
+ ]
116
+ }
117
+ },
118
+ "managedFields": {
119
+ "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.",
120
+ "type": [
121
+ "array",
122
+ "null"
123
+ ],
124
+ "items": {
125
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
126
+ "type": [
127
+ "object",
128
+ "null"
129
+ ],
130
+ "properties": {
131
+ "apiVersion": {
132
+ "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.",
133
+ "type": [
134
+ "string",
135
+ "null"
136
+ ]
137
+ },
138
+ "fieldsType": {
139
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
140
+ "type": [
141
+ "string",
142
+ "null"
143
+ ]
144
+ },
145
+ "fieldsV1": {
146
+ "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",
147
+ "type": [
148
+ "object",
149
+ "null"
150
+ ]
151
+ },
152
+ "manager": {
153
+ "description": "Manager is an identifier of the workflow managing these fields.",
154
+ "type": [
155
+ "string",
156
+ "null"
157
+ ]
158
+ },
159
+ "operation": {
160
+ "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'.",
161
+ "type": [
162
+ "string",
163
+ "null"
164
+ ]
165
+ },
166
+ "subresource": {
167
+ "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.",
168
+ "type": [
169
+ "string",
170
+ "null"
171
+ ]
172
+ },
173
+ "time": {
174
+ "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.",
175
+ "type": [
176
+ "string",
177
+ "null"
178
+ ],
179
+ "format": "date-time"
180
+ }
181
+ },
182
+ "additionalProperties": false
183
+ }
184
+ },
185
+ "name": {
186
+ "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",
187
+ "type": [
188
+ "string",
189
+ "null"
190
+ ]
191
+ },
192
+ "namespace": {
193
+ "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",
194
+ "type": [
195
+ "string",
196
+ "null"
197
+ ]
198
+ },
199
+ "ownerReferences": {
200
+ "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.",
201
+ "type": [
202
+ "array",
203
+ "null"
204
+ ],
205
+ "items": {
206
+ "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.",
207
+ "type": [
208
+ "object",
209
+ "null"
210
+ ],
211
+ "required": [
212
+ "apiVersion",
213
+ "kind",
214
+ "name",
215
+ "uid"
216
+ ],
217
+ "properties": {
218
+ "apiVersion": {
219
+ "description": "API version of the referent.",
220
+ "type": "string"
221
+ },
222
+ "blockOwnerDeletion": {
223
+ "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.",
224
+ "type": [
225
+ "boolean",
226
+ "null"
227
+ ]
228
+ },
229
+ "controller": {
230
+ "description": "If true, this reference points to the managing controller.",
231
+ "type": [
232
+ "boolean",
233
+ "null"
234
+ ]
235
+ },
236
+ "kind": {
237
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
238
+ "type": "string"
239
+ },
240
+ "name": {
241
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
242
+ "type": "string"
243
+ },
244
+ "uid": {
245
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
246
+ "type": "string"
247
+ }
248
+ },
249
+ "x-kubernetes-map-type": "atomic",
250
+ "additionalProperties": false
251
+ },
252
+ "x-kubernetes-patch-merge-key": "uid",
253
+ "x-kubernetes-patch-strategy": "merge"
254
+ },
255
+ "resourceVersion": {
256
+ "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",
257
+ "type": [
258
+ "string",
259
+ "null"
260
+ ]
261
+ },
262
+ "selfLink": {
263
+ "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.",
264
+ "type": [
265
+ "string",
266
+ "null"
267
+ ]
268
+ },
269
+ "uid": {
270
+ "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",
271
+ "type": [
272
+ "string",
273
+ "null"
274
+ ]
275
+ }
276
+ },
277
+ "additionalProperties": false
278
+ },
279
+ "spec": {
280
+ "description": "CertificateSigningRequestSpec contains the certificate request.",
281
+ "type": [
282
+ "object",
283
+ "null"
284
+ ],
285
+ "required": [
286
+ "request",
287
+ "signerName"
288
+ ],
289
+ "properties": {
290
+ "expirationSeconds": {
291
+ "description": "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.\n\nCertificate signers may not honor this field for various reasons:\n\n 1. Old signer that is unaware of the field (such as the in-tree\n implementations prior to v1.22)\n 2. Signer whose configured maximum is shorter than the requested duration\n 3. Signer whose configured minimum is longer than the requested duration\n\nThe minimum valid value for expirationSeconds is 600, i.e. 10 minutes.\n\nAs of v1.22, this field is beta and is controlled via the CSRDuration feature gate.",
292
+ "type": [
293
+ "integer",
294
+ "null"
295
+ ],
296
+ "format": "int32"
297
+ },
298
+ "extra": {
299
+ "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
300
+ "type": [
301
+ "object",
302
+ "null"
303
+ ],
304
+ "additionalProperties": {
305
+ "type": [
306
+ "array",
307
+ "null"
308
+ ],
309
+ "items": {
310
+ "type": [
311
+ "string",
312
+ "null"
313
+ ]
314
+ }
315
+ }
316
+ },
317
+ "groups": {
318
+ "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
319
+ "type": [
320
+ "array",
321
+ "null"
322
+ ],
323
+ "items": {
324
+ "type": [
325
+ "string",
326
+ "null"
327
+ ]
328
+ },
329
+ "x-kubernetes-list-type": "atomic"
330
+ },
331
+ "request": {
332
+ "description": "request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.",
333
+ "type": "string",
334
+ "format": "byte",
335
+ "x-kubernetes-list-type": "atomic"
336
+ },
337
+ "signerName": {
338
+ "description": "signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed.",
339
+ "type": "string"
340
+ },
341
+ "uid": {
342
+ "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
343
+ "type": [
344
+ "string",
345
+ "null"
346
+ ]
347
+ },
348
+ "usages": {
349
+ "description": "usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\"",
350
+ "type": [
351
+ "array",
352
+ "null"
353
+ ],
354
+ "items": {
355
+ "type": [
356
+ "string",
357
+ "null"
358
+ ]
359
+ },
360
+ "x-kubernetes-list-type": "atomic"
361
+ },
362
+ "username": {
363
+ "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
364
+ "type": [
365
+ "string",
366
+ "null"
367
+ ]
368
+ }
369
+ },
370
+ "additionalProperties": false
371
+ },
372
+ "status": {
373
+ "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.",
374
+ "type": [
375
+ "object",
376
+ "null"
377
+ ],
378
+ "properties": {
379
+ "certificate": {
380
+ "description": "certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )",
381
+ "type": [
382
+ "string",
383
+ "null"
384
+ ],
385
+ "format": "byte",
386
+ "x-kubernetes-list-type": "atomic"
387
+ },
388
+ "conditions": {
389
+ "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\".",
390
+ "type": [
391
+ "array",
392
+ "null"
393
+ ],
394
+ "items": {
395
+ "description": "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object",
396
+ "type": [
397
+ "object",
398
+ "null"
399
+ ],
400
+ "required": [
401
+ "type",
402
+ "status"
403
+ ],
404
+ "properties": {
405
+ "lastTransitionTime": {
406
+ "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.",
407
+ "type": [
408
+ "string",
409
+ "null"
410
+ ],
411
+ "format": "date-time"
412
+ },
413
+ "lastUpdateTime": {
414
+ "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.",
415
+ "type": [
416
+ "string",
417
+ "null"
418
+ ],
419
+ "format": "date-time"
420
+ },
421
+ "message": {
422
+ "description": "message contains a human readable message with details about the request state",
423
+ "type": [
424
+ "string",
425
+ "null"
426
+ ]
427
+ },
428
+ "reason": {
429
+ "description": "reason indicates a brief reason for the request state",
430
+ "type": [
431
+ "string",
432
+ "null"
433
+ ]
434
+ },
435
+ "status": {
436
+ "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".",
437
+ "type": "string"
438
+ },
439
+ "type": {
440
+ "description": "type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed.",
441
+ "type": "string"
442
+ }
443
+ },
444
+ "additionalProperties": false
445
+ },
446
+ "x-kubernetes-list-map-keys": [
447
+ "type"
448
+ ],
449
+ "x-kubernetes-list-type": "map"
450
+ }
451
+ },
452
+ "additionalProperties": false
453
+ }
454
+ },
455
+ "x-kubernetes-group-version-kind": [
456
+ {
457
+ "group": "certificates.k8s.io",
458
+ "kind": "CertificateSigningRequest",
459
+ "version": "v1"
460
+ }
461
+ ],
462
+ "additionalProperties": false,
463
+ "$schema": "http://json-schema.org/schema#"
464
+ }