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.
- checksums.yaml +4 -4
- data/Rakefile +8 -3
- data/lib/kubernetes_schemas/version.rb +1 -1
- data/lib/kubernetes_schemas.rb +2 -1
- data/schemas/1.22-strict/apigroup.json +123 -0
- data/schemas/1.22-strict/apigrouplist.json +161 -0
- data/schemas/1.22-strict/apiresourcelist.json +140 -0
- data/schemas/1.22-strict/apiservice.json +439 -0
- data/schemas/1.22-strict/apiservicelist.json +522 -0
- data/schemas/1.22-strict/apiversions.json +78 -0
- data/schemas/1.22-strict/binding.json +349 -0
- data/schemas/1.22-strict/certificatesigningrequest.json +464 -0
- data/schemas/1.22-strict/certificatesigningrequestlist.json +544 -0
- data/schemas/1.22-strict/clusterrole.json +453 -0
- data/schemas/1.22-strict/clusterrolebinding.json +361 -0
- data/schemas/1.22-strict/clusterrolebindinglist.json +441 -0
- data/schemas/1.22-strict/clusterrolelist.json +536 -0
- data/schemas/1.22-strict/componentstatus.json +331 -0
- data/schemas/1.22-strict/componentstatuslist.json +414 -0
- data/schemas/1.22-strict/configmap.json +320 -0
- data/schemas/1.22-strict/configmaplist.json +403 -0
- data/schemas/1.22-strict/controllerrevision.json +304 -0
- data/schemas/1.22-strict/controllerrevisionlist.json +384 -0
- data/schemas/1.22-strict/cronjob.json +9985 -0
- data/schemas/1.22-strict/cronjoblist.json +10068 -0
- data/schemas/1.22-strict/csidriver.json +381 -0
- data/schemas/1.22-strict/csidriverlist.json +461 -0
- data/schemas/1.22-strict/csinode.json +361 -0
- data/schemas/1.22-strict/csinodelist.json +441 -0
- data/schemas/1.22-strict/csistoragecapacity.json +396 -0
- data/schemas/1.22-strict/csistoragecapacitylist.json +480 -0
- data/schemas/1.22-strict/daemonset.json +9715 -0
- data/schemas/1.22-strict/daemonsetlist.json +9798 -0
- data/schemas/1.22-strict/deleteoptions.json +336 -0
- data/schemas/1.22-strict/deployment.json +9736 -0
- data/schemas/1.22-strict/deploymentlist.json +9819 -0
- data/schemas/1.22-strict/endpoints.json +548 -0
- data/schemas/1.22-strict/endpointslice.json +529 -0
- data/schemas/1.22-strict/endpointslicelist.json +606 -0
- data/schemas/1.22-strict/endpointslist.json +631 -0
- data/schemas/1.22-strict/event.json +531 -0
- data/schemas/1.22-strict/eventlist.json +611 -0
- data/schemas/1.22-strict/eviction.json +624 -0
- data/schemas/1.22-strict/flowschema.json +635 -0
- data/schemas/1.22-strict/flowschemalist.json +718 -0
- data/schemas/1.22-strict/horizontalpodautoscaler.json +1825 -0
- data/schemas/1.22-strict/horizontalpodautoscalerlist.json +1908 -0
- data/schemas/1.22-strict/ingress.json +659 -0
- data/schemas/1.22-strict/ingressclass.json +346 -0
- data/schemas/1.22-strict/ingressclasslist.json +429 -0
- data/schemas/1.22-strict/ingresslist.json +742 -0
- data/schemas/1.22-strict/job.json +9731 -0
- data/schemas/1.22-strict/joblist.json +9814 -0
- data/schemas/1.22-strict/lease.json +335 -0
- data/schemas/1.22-strict/leaselist.json +418 -0
- data/schemas/1.22-strict/limitrange.json +435 -0
- data/schemas/1.22-strict/limitrangelist.json +518 -0
- data/schemas/1.22-strict/localsubjectaccessreview.json +466 -0
- data/schemas/1.22-strict/mutatingwebhookconfiguration.json +629 -0
- data/schemas/1.22-strict/mutatingwebhookconfigurationlist.json +712 -0
- data/schemas/1.22-strict/namespace.json +377 -0
- data/schemas/1.22-strict/namespacelist.json +460 -0
- data/schemas/1.22-strict/networkpolicy.json +873 -0
- data/schemas/1.22-strict/networkpolicylist.json +956 -0
- data/schemas/1.22-strict/node.json +928 -0
- data/schemas/1.22-strict/nodelist.json +1011 -0
- data/schemas/1.22-strict/persistentvolume.json +1820 -0
- data/schemas/1.22-strict/persistentvolumeclaim.json +626 -0
- data/schemas/1.22-strict/persistentvolumeclaimlist.json +709 -0
- data/schemas/1.22-strict/persistentvolumelist.json +1903 -0
- data/schemas/1.22-strict/pod.json +10192 -0
- data/schemas/1.22-strict/poddisruptionbudget.json +514 -0
- data/schemas/1.22-strict/poddisruptionbudgetlist.json +597 -0
- data/schemas/1.22-strict/podlist.json +10275 -0
- data/schemas/1.22-strict/podsecuritypolicy.json +817 -0
- data/schemas/1.22-strict/podsecuritypolicylist.json +900 -0
- data/schemas/1.22-strict/podtemplate.json +9435 -0
- data/schemas/1.22-strict/podtemplatelist.json +9518 -0
- data/schemas/1.22-strict/priorityclass.json +318 -0
- data/schemas/1.22-strict/priorityclasslist.json +398 -0
- data/schemas/1.22-strict/prioritylevelconfiguration.json +455 -0
- data/schemas/1.22-strict/prioritylevelconfigurationlist.json +538 -0
- data/schemas/1.22-strict/replicaset.json +9632 -0
- data/schemas/1.22-strict/replicasetlist.json +9715 -0
- data/schemas/1.22-strict/replicationcontroller.json +9578 -0
- data/schemas/1.22-strict/replicationcontrollerlist.json +9661 -0
- data/schemas/1.22-strict/resourcequota.json +441 -0
- data/schemas/1.22-strict/resourcequotalist.json +524 -0
- data/schemas/1.22-strict/role.json +368 -0
- data/schemas/1.22-strict/rolebinding.json +361 -0
- data/schemas/1.22-strict/rolebindinglist.json +441 -0
- data/schemas/1.22-strict/rolelist.json +451 -0
- data/schemas/1.22-strict/runtimeclass.json +407 -0
- data/schemas/1.22-strict/runtimeclasslist.json +487 -0
- data/schemas/1.22-strict/scale.json +329 -0
- data/schemas/1.22-strict/secret.json +327 -0
- data/schemas/1.22-strict/secretlist.json +410 -0
- data/schemas/1.22-strict/selfsubjectaccessreview.json +420 -0
- data/schemas/1.22-strict/selfsubjectrulesreview.json +438 -0
- data/schemas/1.22-strict/service.json +701 -0
- data/schemas/1.22-strict/serviceaccount.json +387 -0
- data/schemas/1.22-strict/serviceaccountlist.json +470 -0
- data/schemas/1.22-strict/servicelist.json +784 -0
- data/schemas/1.22-strict/statefulset.json +10350 -0
- data/schemas/1.22-strict/statefulsetlist.json +10433 -0
- data/schemas/1.22-strict/status.json +184 -0
- data/schemas/1.22-strict/storageclass.json +397 -0
- data/schemas/1.22-strict/storageclasslist.json +477 -0
- data/schemas/1.22-strict/subjectaccessreview.json +466 -0
- data/schemas/1.22-strict/tokenreview.json +412 -0
- data/schemas/1.22-strict/validatingwebhookconfiguration.json +622 -0
- data/schemas/1.22-strict/validatingwebhookconfigurationlist.json +705 -0
- data/schemas/1.22-strict/volumeattachment.json +1909 -0
- data/schemas/1.22-strict/volumeattachmentlist.json +1989 -0
- data/schemas/1.22-strict/watchevent.json +277 -0
- metadata +112 -1
@@ -0,0 +1,544 @@
|
|
1
|
+
{
|
2
|
+
"description": "CertificateSigningRequestList is a collection of CertificateSigningRequest objects",
|
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 a collection of CertificateSigningRequest objects",
|
17
|
+
"type": [
|
18
|
+
"array",
|
19
|
+
"null"
|
20
|
+
],
|
21
|
+
"items": {
|
22
|
+
"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.",
|
23
|
+
"type": [
|
24
|
+
"object",
|
25
|
+
"null"
|
26
|
+
],
|
27
|
+
"required": [
|
28
|
+
"spec"
|
29
|
+
],
|
30
|
+
"properties": {
|
31
|
+
"apiVersion": {
|
32
|
+
"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",
|
33
|
+
"type": [
|
34
|
+
"string",
|
35
|
+
"null"
|
36
|
+
]
|
37
|
+
},
|
38
|
+
"kind": {
|
39
|
+
"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",
|
40
|
+
"type": [
|
41
|
+
"string",
|
42
|
+
"null"
|
43
|
+
],
|
44
|
+
"enum": [
|
45
|
+
"CertificateSigningRequest"
|
46
|
+
]
|
47
|
+
},
|
48
|
+
"metadata": {
|
49
|
+
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
|
50
|
+
"type": [
|
51
|
+
"object",
|
52
|
+
"null"
|
53
|
+
],
|
54
|
+
"properties": {
|
55
|
+
"annotations": {
|
56
|
+
"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",
|
57
|
+
"type": [
|
58
|
+
"object",
|
59
|
+
"null"
|
60
|
+
],
|
61
|
+
"additionalProperties": {
|
62
|
+
"type": [
|
63
|
+
"string",
|
64
|
+
"null"
|
65
|
+
]
|
66
|
+
}
|
67
|
+
},
|
68
|
+
"clusterName": {
|
69
|
+
"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.",
|
70
|
+
"type": [
|
71
|
+
"string",
|
72
|
+
"null"
|
73
|
+
]
|
74
|
+
},
|
75
|
+
"creationTimestamp": {
|
76
|
+
"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.",
|
77
|
+
"type": [
|
78
|
+
"string",
|
79
|
+
"null"
|
80
|
+
],
|
81
|
+
"format": "date-time"
|
82
|
+
},
|
83
|
+
"deletionGracePeriodSeconds": {
|
84
|
+
"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.",
|
85
|
+
"type": [
|
86
|
+
"integer",
|
87
|
+
"null"
|
88
|
+
],
|
89
|
+
"format": "int64"
|
90
|
+
},
|
91
|
+
"deletionTimestamp": {
|
92
|
+
"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.",
|
93
|
+
"type": [
|
94
|
+
"string",
|
95
|
+
"null"
|
96
|
+
],
|
97
|
+
"format": "date-time"
|
98
|
+
},
|
99
|
+
"finalizers": {
|
100
|
+
"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.",
|
101
|
+
"type": [
|
102
|
+
"array",
|
103
|
+
"null"
|
104
|
+
],
|
105
|
+
"items": {
|
106
|
+
"type": [
|
107
|
+
"string",
|
108
|
+
"null"
|
109
|
+
]
|
110
|
+
},
|
111
|
+
"x-kubernetes-patch-strategy": "merge"
|
112
|
+
},
|
113
|
+
"generateName": {
|
114
|
+
"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",
|
115
|
+
"type": [
|
116
|
+
"string",
|
117
|
+
"null"
|
118
|
+
]
|
119
|
+
},
|
120
|
+
"generation": {
|
121
|
+
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
|
122
|
+
"type": [
|
123
|
+
"integer",
|
124
|
+
"null"
|
125
|
+
],
|
126
|
+
"format": "int64"
|
127
|
+
},
|
128
|
+
"labels": {
|
129
|
+
"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",
|
130
|
+
"type": [
|
131
|
+
"object",
|
132
|
+
"null"
|
133
|
+
],
|
134
|
+
"additionalProperties": {
|
135
|
+
"type": [
|
136
|
+
"string",
|
137
|
+
"null"
|
138
|
+
]
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"managedFields": {
|
142
|
+
"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.",
|
143
|
+
"type": [
|
144
|
+
"array",
|
145
|
+
"null"
|
146
|
+
],
|
147
|
+
"items": {
|
148
|
+
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
|
149
|
+
"type": [
|
150
|
+
"object",
|
151
|
+
"null"
|
152
|
+
],
|
153
|
+
"properties": {
|
154
|
+
"apiVersion": {
|
155
|
+
"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.",
|
156
|
+
"type": [
|
157
|
+
"string",
|
158
|
+
"null"
|
159
|
+
]
|
160
|
+
},
|
161
|
+
"fieldsType": {
|
162
|
+
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
|
163
|
+
"type": [
|
164
|
+
"string",
|
165
|
+
"null"
|
166
|
+
]
|
167
|
+
},
|
168
|
+
"fieldsV1": {
|
169
|
+
"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",
|
170
|
+
"type": [
|
171
|
+
"object",
|
172
|
+
"null"
|
173
|
+
]
|
174
|
+
},
|
175
|
+
"manager": {
|
176
|
+
"description": "Manager is an identifier of the workflow managing these fields.",
|
177
|
+
"type": [
|
178
|
+
"string",
|
179
|
+
"null"
|
180
|
+
]
|
181
|
+
},
|
182
|
+
"operation": {
|
183
|
+
"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'.",
|
184
|
+
"type": [
|
185
|
+
"string",
|
186
|
+
"null"
|
187
|
+
]
|
188
|
+
},
|
189
|
+
"subresource": {
|
190
|
+
"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.",
|
191
|
+
"type": [
|
192
|
+
"string",
|
193
|
+
"null"
|
194
|
+
]
|
195
|
+
},
|
196
|
+
"time": {
|
197
|
+
"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.",
|
198
|
+
"type": [
|
199
|
+
"string",
|
200
|
+
"null"
|
201
|
+
],
|
202
|
+
"format": "date-time"
|
203
|
+
}
|
204
|
+
},
|
205
|
+
"additionalProperties": false
|
206
|
+
}
|
207
|
+
},
|
208
|
+
"name": {
|
209
|
+
"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",
|
210
|
+
"type": [
|
211
|
+
"string",
|
212
|
+
"null"
|
213
|
+
]
|
214
|
+
},
|
215
|
+
"namespace": {
|
216
|
+
"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",
|
217
|
+
"type": [
|
218
|
+
"string",
|
219
|
+
"null"
|
220
|
+
]
|
221
|
+
},
|
222
|
+
"ownerReferences": {
|
223
|
+
"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.",
|
224
|
+
"type": [
|
225
|
+
"array",
|
226
|
+
"null"
|
227
|
+
],
|
228
|
+
"items": {
|
229
|
+
"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.",
|
230
|
+
"type": [
|
231
|
+
"object",
|
232
|
+
"null"
|
233
|
+
],
|
234
|
+
"required": [
|
235
|
+
"apiVersion",
|
236
|
+
"kind",
|
237
|
+
"name",
|
238
|
+
"uid"
|
239
|
+
],
|
240
|
+
"properties": {
|
241
|
+
"apiVersion": {
|
242
|
+
"description": "API version of the referent.",
|
243
|
+
"type": "string"
|
244
|
+
},
|
245
|
+
"blockOwnerDeletion": {
|
246
|
+
"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.",
|
247
|
+
"type": [
|
248
|
+
"boolean",
|
249
|
+
"null"
|
250
|
+
]
|
251
|
+
},
|
252
|
+
"controller": {
|
253
|
+
"description": "If true, this reference points to the managing controller.",
|
254
|
+
"type": [
|
255
|
+
"boolean",
|
256
|
+
"null"
|
257
|
+
]
|
258
|
+
},
|
259
|
+
"kind": {
|
260
|
+
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
261
|
+
"type": "string"
|
262
|
+
},
|
263
|
+
"name": {
|
264
|
+
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
|
265
|
+
"type": "string"
|
266
|
+
},
|
267
|
+
"uid": {
|
268
|
+
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
|
269
|
+
"type": "string"
|
270
|
+
}
|
271
|
+
},
|
272
|
+
"x-kubernetes-map-type": "atomic",
|
273
|
+
"additionalProperties": false
|
274
|
+
},
|
275
|
+
"x-kubernetes-patch-merge-key": "uid",
|
276
|
+
"x-kubernetes-patch-strategy": "merge"
|
277
|
+
},
|
278
|
+
"resourceVersion": {
|
279
|
+
"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",
|
280
|
+
"type": [
|
281
|
+
"string",
|
282
|
+
"null"
|
283
|
+
]
|
284
|
+
},
|
285
|
+
"selfLink": {
|
286
|
+
"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.",
|
287
|
+
"type": [
|
288
|
+
"string",
|
289
|
+
"null"
|
290
|
+
]
|
291
|
+
},
|
292
|
+
"uid": {
|
293
|
+
"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",
|
294
|
+
"type": [
|
295
|
+
"string",
|
296
|
+
"null"
|
297
|
+
]
|
298
|
+
}
|
299
|
+
},
|
300
|
+
"additionalProperties": false
|
301
|
+
},
|
302
|
+
"spec": {
|
303
|
+
"description": "CertificateSigningRequestSpec contains the certificate request.",
|
304
|
+
"type": "object",
|
305
|
+
"required": [
|
306
|
+
"request",
|
307
|
+
"signerName"
|
308
|
+
],
|
309
|
+
"properties": {
|
310
|
+
"expirationSeconds": {
|
311
|
+
"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.",
|
312
|
+
"type": [
|
313
|
+
"integer",
|
314
|
+
"null"
|
315
|
+
],
|
316
|
+
"format": "int32"
|
317
|
+
},
|
318
|
+
"extra": {
|
319
|
+
"description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
|
320
|
+
"type": [
|
321
|
+
"object",
|
322
|
+
"null"
|
323
|
+
],
|
324
|
+
"additionalProperties": {
|
325
|
+
"type": [
|
326
|
+
"array",
|
327
|
+
"null"
|
328
|
+
],
|
329
|
+
"items": {
|
330
|
+
"type": [
|
331
|
+
"string",
|
332
|
+
"null"
|
333
|
+
]
|
334
|
+
}
|
335
|
+
}
|
336
|
+
},
|
337
|
+
"groups": {
|
338
|
+
"description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
|
339
|
+
"type": [
|
340
|
+
"array",
|
341
|
+
"null"
|
342
|
+
],
|
343
|
+
"items": {
|
344
|
+
"type": [
|
345
|
+
"string",
|
346
|
+
"null"
|
347
|
+
]
|
348
|
+
},
|
349
|
+
"x-kubernetes-list-type": "atomic"
|
350
|
+
},
|
351
|
+
"request": {
|
352
|
+
"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.",
|
353
|
+
"type": "string",
|
354
|
+
"format": "byte",
|
355
|
+
"x-kubernetes-list-type": "atomic"
|
356
|
+
},
|
357
|
+
"signerName": {
|
358
|
+
"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.",
|
359
|
+
"type": "string"
|
360
|
+
},
|
361
|
+
"uid": {
|
362
|
+
"description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
|
363
|
+
"type": [
|
364
|
+
"string",
|
365
|
+
"null"
|
366
|
+
]
|
367
|
+
},
|
368
|
+
"usages": {
|
369
|
+
"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\"",
|
370
|
+
"type": [
|
371
|
+
"array",
|
372
|
+
"null"
|
373
|
+
],
|
374
|
+
"items": {
|
375
|
+
"type": [
|
376
|
+
"string",
|
377
|
+
"null"
|
378
|
+
]
|
379
|
+
},
|
380
|
+
"x-kubernetes-list-type": "atomic"
|
381
|
+
},
|
382
|
+
"username": {
|
383
|
+
"description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.",
|
384
|
+
"type": [
|
385
|
+
"string",
|
386
|
+
"null"
|
387
|
+
]
|
388
|
+
}
|
389
|
+
},
|
390
|
+
"additionalProperties": false
|
391
|
+
},
|
392
|
+
"status": {
|
393
|
+
"description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.",
|
394
|
+
"type": [
|
395
|
+
"object",
|
396
|
+
"null"
|
397
|
+
],
|
398
|
+
"properties": {
|
399
|
+
"certificate": {
|
400
|
+
"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 )",
|
401
|
+
"type": [
|
402
|
+
"string",
|
403
|
+
"null"
|
404
|
+
],
|
405
|
+
"format": "byte",
|
406
|
+
"x-kubernetes-list-type": "atomic"
|
407
|
+
},
|
408
|
+
"conditions": {
|
409
|
+
"description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\".",
|
410
|
+
"type": [
|
411
|
+
"array",
|
412
|
+
"null"
|
413
|
+
],
|
414
|
+
"items": {
|
415
|
+
"description": "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object",
|
416
|
+
"type": [
|
417
|
+
"object",
|
418
|
+
"null"
|
419
|
+
],
|
420
|
+
"required": [
|
421
|
+
"type",
|
422
|
+
"status"
|
423
|
+
],
|
424
|
+
"properties": {
|
425
|
+
"lastTransitionTime": {
|
426
|
+
"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.",
|
427
|
+
"type": [
|
428
|
+
"string",
|
429
|
+
"null"
|
430
|
+
],
|
431
|
+
"format": "date-time"
|
432
|
+
},
|
433
|
+
"lastUpdateTime": {
|
434
|
+
"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.",
|
435
|
+
"type": [
|
436
|
+
"string",
|
437
|
+
"null"
|
438
|
+
],
|
439
|
+
"format": "date-time"
|
440
|
+
},
|
441
|
+
"message": {
|
442
|
+
"description": "message contains a human readable message with details about the request state",
|
443
|
+
"type": [
|
444
|
+
"string",
|
445
|
+
"null"
|
446
|
+
]
|
447
|
+
},
|
448
|
+
"reason": {
|
449
|
+
"description": "reason indicates a brief reason for the request state",
|
450
|
+
"type": [
|
451
|
+
"string",
|
452
|
+
"null"
|
453
|
+
]
|
454
|
+
},
|
455
|
+
"status": {
|
456
|
+
"description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".",
|
457
|
+
"type": "string"
|
458
|
+
},
|
459
|
+
"type": {
|
460
|
+
"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.",
|
461
|
+
"type": "string"
|
462
|
+
}
|
463
|
+
},
|
464
|
+
"additionalProperties": false
|
465
|
+
},
|
466
|
+
"x-kubernetes-list-map-keys": [
|
467
|
+
"type"
|
468
|
+
],
|
469
|
+
"x-kubernetes-list-type": "map"
|
470
|
+
}
|
471
|
+
},
|
472
|
+
"additionalProperties": false
|
473
|
+
}
|
474
|
+
},
|
475
|
+
"x-kubernetes-group-version-kind": [
|
476
|
+
{
|
477
|
+
"group": "certificates.k8s.io",
|
478
|
+
"kind": "CertificateSigningRequest",
|
479
|
+
"version": "v1"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"additionalProperties": false
|
483
|
+
}
|
484
|
+
},
|
485
|
+
"kind": {
|
486
|
+
"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",
|
487
|
+
"type": [
|
488
|
+
"string",
|
489
|
+
"null"
|
490
|
+
],
|
491
|
+
"enum": [
|
492
|
+
"CertificateSigningRequestList"
|
493
|
+
]
|
494
|
+
},
|
495
|
+
"metadata": {
|
496
|
+
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
|
497
|
+
"type": [
|
498
|
+
"object",
|
499
|
+
"null"
|
500
|
+
],
|
501
|
+
"properties": {
|
502
|
+
"continue": {
|
503
|
+
"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.",
|
504
|
+
"type": [
|
505
|
+
"string",
|
506
|
+
"null"
|
507
|
+
]
|
508
|
+
},
|
509
|
+
"remainingItemCount": {
|
510
|
+
"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.",
|
511
|
+
"type": [
|
512
|
+
"integer",
|
513
|
+
"null"
|
514
|
+
],
|
515
|
+
"format": "int64"
|
516
|
+
},
|
517
|
+
"resourceVersion": {
|
518
|
+
"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",
|
519
|
+
"type": [
|
520
|
+
"string",
|
521
|
+
"null"
|
522
|
+
]
|
523
|
+
},
|
524
|
+
"selfLink": {
|
525
|
+
"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.",
|
526
|
+
"type": [
|
527
|
+
"string",
|
528
|
+
"null"
|
529
|
+
]
|
530
|
+
}
|
531
|
+
},
|
532
|
+
"additionalProperties": false
|
533
|
+
}
|
534
|
+
},
|
535
|
+
"x-kubernetes-group-version-kind": [
|
536
|
+
{
|
537
|
+
"group": "certificates.k8s.io",
|
538
|
+
"kind": "CertificateSigningRequestList",
|
539
|
+
"version": "v1"
|
540
|
+
}
|
541
|
+
],
|
542
|
+
"additionalProperties": false,
|
543
|
+
"$schema": "http://json-schema.org/schema#"
|
544
|
+
}
|