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,445 @@
1
+ {
2
+ "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
3
+ "type": "object",
4
+ "properties": {
5
+ "aggregationRule": {
6
+ "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole",
7
+ "type": [
8
+ "object",
9
+ "null"
10
+ ],
11
+ "properties": {
12
+ "clusterRoleSelectors": {
13
+ "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added",
14
+ "type": [
15
+ "array",
16
+ "null"
17
+ ],
18
+ "items": {
19
+ "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
20
+ "type": [
21
+ "object",
22
+ "null"
23
+ ],
24
+ "properties": {
25
+ "matchExpressions": {
26
+ "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
27
+ "type": [
28
+ "array",
29
+ "null"
30
+ ],
31
+ "items": {
32
+ "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
33
+ "type": [
34
+ "object",
35
+ "null"
36
+ ],
37
+ "required": [
38
+ "key",
39
+ "operator"
40
+ ],
41
+ "properties": {
42
+ "key": {
43
+ "description": "key is the label key that the selector applies to.",
44
+ "type": "string",
45
+ "x-kubernetes-patch-merge-key": "key",
46
+ "x-kubernetes-patch-strategy": "merge"
47
+ },
48
+ "operator": {
49
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
50
+ "type": "string"
51
+ },
52
+ "values": {
53
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
54
+ "type": [
55
+ "array",
56
+ "null"
57
+ ],
58
+ "items": {
59
+ "type": [
60
+ "string",
61
+ "null"
62
+ ]
63
+ }
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "matchLabels": {
69
+ "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
70
+ "type": [
71
+ "object",
72
+ "null"
73
+ ],
74
+ "additionalProperties": {
75
+ "type": [
76
+ "string",
77
+ "null"
78
+ ]
79
+ }
80
+ }
81
+ },
82
+ "x-kubernetes-map-type": "atomic"
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "apiVersion": {
88
+ "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",
89
+ "type": [
90
+ "string",
91
+ "null"
92
+ ]
93
+ },
94
+ "kind": {
95
+ "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",
96
+ "type": [
97
+ "string",
98
+ "null"
99
+ ],
100
+ "enum": [
101
+ "ClusterRole"
102
+ ]
103
+ },
104
+ "metadata": {
105
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
106
+ "type": [
107
+ "object",
108
+ "null"
109
+ ],
110
+ "properties": {
111
+ "annotations": {
112
+ "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",
113
+ "type": [
114
+ "object",
115
+ "null"
116
+ ],
117
+ "additionalProperties": {
118
+ "type": [
119
+ "string",
120
+ "null"
121
+ ]
122
+ }
123
+ },
124
+ "clusterName": {
125
+ "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.",
126
+ "type": [
127
+ "string",
128
+ "null"
129
+ ]
130
+ },
131
+ "creationTimestamp": {
132
+ "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.",
133
+ "type": [
134
+ "string",
135
+ "null"
136
+ ],
137
+ "format": "date-time"
138
+ },
139
+ "deletionGracePeriodSeconds": {
140
+ "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.",
141
+ "type": [
142
+ "integer",
143
+ "null"
144
+ ],
145
+ "format": "int64"
146
+ },
147
+ "deletionTimestamp": {
148
+ "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.",
149
+ "type": [
150
+ "string",
151
+ "null"
152
+ ],
153
+ "format": "date-time"
154
+ },
155
+ "finalizers": {
156
+ "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.",
157
+ "type": [
158
+ "array",
159
+ "null"
160
+ ],
161
+ "items": {
162
+ "type": [
163
+ "string",
164
+ "null"
165
+ ]
166
+ },
167
+ "x-kubernetes-patch-strategy": "merge"
168
+ },
169
+ "generateName": {
170
+ "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",
171
+ "type": [
172
+ "string",
173
+ "null"
174
+ ]
175
+ },
176
+ "generation": {
177
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
178
+ "type": [
179
+ "integer",
180
+ "null"
181
+ ],
182
+ "format": "int64"
183
+ },
184
+ "labels": {
185
+ "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",
186
+ "type": [
187
+ "object",
188
+ "null"
189
+ ],
190
+ "additionalProperties": {
191
+ "type": [
192
+ "string",
193
+ "null"
194
+ ]
195
+ }
196
+ },
197
+ "managedFields": {
198
+ "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.",
199
+ "type": [
200
+ "array",
201
+ "null"
202
+ ],
203
+ "items": {
204
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
205
+ "type": [
206
+ "object",
207
+ "null"
208
+ ],
209
+ "properties": {
210
+ "apiVersion": {
211
+ "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.",
212
+ "type": [
213
+ "string",
214
+ "null"
215
+ ]
216
+ },
217
+ "fieldsType": {
218
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
219
+ "type": [
220
+ "string",
221
+ "null"
222
+ ]
223
+ },
224
+ "fieldsV1": {
225
+ "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",
226
+ "type": [
227
+ "object",
228
+ "null"
229
+ ]
230
+ },
231
+ "manager": {
232
+ "description": "Manager is an identifier of the workflow managing these fields.",
233
+ "type": [
234
+ "string",
235
+ "null"
236
+ ]
237
+ },
238
+ "operation": {
239
+ "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'.",
240
+ "type": [
241
+ "string",
242
+ "null"
243
+ ]
244
+ },
245
+ "subresource": {
246
+ "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.",
247
+ "type": [
248
+ "string",
249
+ "null"
250
+ ]
251
+ },
252
+ "time": {
253
+ "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.",
254
+ "type": [
255
+ "string",
256
+ "null"
257
+ ],
258
+ "format": "date-time"
259
+ }
260
+ }
261
+ }
262
+ },
263
+ "name": {
264
+ "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",
265
+ "type": [
266
+ "string",
267
+ "null"
268
+ ]
269
+ },
270
+ "namespace": {
271
+ "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",
272
+ "type": [
273
+ "string",
274
+ "null"
275
+ ]
276
+ },
277
+ "ownerReferences": {
278
+ "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.",
279
+ "type": [
280
+ "array",
281
+ "null"
282
+ ],
283
+ "items": {
284
+ "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.",
285
+ "type": [
286
+ "object",
287
+ "null"
288
+ ],
289
+ "required": [
290
+ "apiVersion",
291
+ "kind",
292
+ "name",
293
+ "uid"
294
+ ],
295
+ "properties": {
296
+ "apiVersion": {
297
+ "description": "API version of the referent.",
298
+ "type": "string"
299
+ },
300
+ "blockOwnerDeletion": {
301
+ "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.",
302
+ "type": [
303
+ "boolean",
304
+ "null"
305
+ ]
306
+ },
307
+ "controller": {
308
+ "description": "If true, this reference points to the managing controller.",
309
+ "type": [
310
+ "boolean",
311
+ "null"
312
+ ]
313
+ },
314
+ "kind": {
315
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
316
+ "type": "string"
317
+ },
318
+ "name": {
319
+ "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
320
+ "type": "string"
321
+ },
322
+ "uid": {
323
+ "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
324
+ "type": "string"
325
+ }
326
+ },
327
+ "x-kubernetes-map-type": "atomic"
328
+ },
329
+ "x-kubernetes-patch-merge-key": "uid",
330
+ "x-kubernetes-patch-strategy": "merge"
331
+ },
332
+ "resourceVersion": {
333
+ "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",
334
+ "type": [
335
+ "string",
336
+ "null"
337
+ ]
338
+ },
339
+ "selfLink": {
340
+ "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.",
341
+ "type": [
342
+ "string",
343
+ "null"
344
+ ]
345
+ },
346
+ "uid": {
347
+ "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",
348
+ "type": [
349
+ "string",
350
+ "null"
351
+ ]
352
+ }
353
+ }
354
+ },
355
+ "rules": {
356
+ "description": "Rules holds all the PolicyRules for this ClusterRole",
357
+ "type": [
358
+ "array",
359
+ "null"
360
+ ],
361
+ "items": {
362
+ "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
363
+ "type": [
364
+ "object",
365
+ "null"
366
+ ],
367
+ "required": [
368
+ "verbs"
369
+ ],
370
+ "properties": {
371
+ "apiGroups": {
372
+ "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.",
373
+ "type": [
374
+ "array",
375
+ "null"
376
+ ],
377
+ "items": {
378
+ "type": [
379
+ "string",
380
+ "null"
381
+ ]
382
+ }
383
+ },
384
+ "nonResourceURLs": {
385
+ "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
386
+ "type": [
387
+ "array",
388
+ "null"
389
+ ],
390
+ "items": {
391
+ "type": [
392
+ "string",
393
+ "null"
394
+ ]
395
+ }
396
+ },
397
+ "resourceNames": {
398
+ "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
399
+ "type": [
400
+ "array",
401
+ "null"
402
+ ],
403
+ "items": {
404
+ "type": [
405
+ "string",
406
+ "null"
407
+ ]
408
+ }
409
+ },
410
+ "resources": {
411
+ "description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
412
+ "type": [
413
+ "array",
414
+ "null"
415
+ ],
416
+ "items": {
417
+ "type": [
418
+ "string",
419
+ "null"
420
+ ]
421
+ }
422
+ },
423
+ "verbs": {
424
+ "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.",
425
+ "type": "array",
426
+ "items": {
427
+ "type": [
428
+ "string",
429
+ "null"
430
+ ]
431
+ }
432
+ }
433
+ }
434
+ }
435
+ }
436
+ },
437
+ "x-kubernetes-group-version-kind": [
438
+ {
439
+ "group": "rbac.authorization.k8s.io",
440
+ "kind": "ClusterRole",
441
+ "version": "v1"
442
+ }
443
+ ],
444
+ "$schema": "http://json-schema.org/schema#"
445
+ }