pulumi-kubernetes 4.13.1__py3-none-any.whl → 4.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (523) hide show
  1. pulumi_kubernetes/_inputs.py +57 -0
  2. pulumi_kubernetes/_utilities.py +35 -0
  3. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
  4. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
  6. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +11 -6
  7. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +11 -6
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +11 -6
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +11 -6
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +11 -6
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
  15. pulumi_kubernetes/admissionregistration/v1/_inputs.py +1553 -29
  16. pulumi_kubernetes/admissionregistration/v1/outputs.py +5 -0
  17. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +11 -6
  18. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +11 -6
  19. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +11 -6
  20. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  21. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +11 -6
  22. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +11 -6
  23. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +876 -6
  24. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +5 -0
  25. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
  26. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
  27. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
  28. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +11 -6
  29. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +11 -6
  30. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +11 -6
  31. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  32. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +11 -6
  33. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +11 -6
  34. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
  35. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
  36. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
  37. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1525 -45
  38. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +5 -0
  39. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
  40. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
  41. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
  42. pulumi_kubernetes/apiextensions/v1/_inputs.py +1097 -15
  43. pulumi_kubernetes/apiextensions/v1/outputs.py +5 -0
  44. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
  45. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
  46. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
  47. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
  48. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
  49. pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
  50. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
  51. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
  52. pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
  53. pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
  54. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
  55. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
  56. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
  57. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
  58. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
  59. pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
  60. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
  61. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
  62. pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
  63. pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
  64. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
  65. pulumi_kubernetes/apps/v1/Deployment.py +11 -6
  66. pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
  67. pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
  68. pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
  69. pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
  70. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
  71. pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
  72. pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
  73. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
  74. pulumi_kubernetes/apps/v1/_inputs.py +1049 -0
  75. pulumi_kubernetes/apps/v1/outputs.py +5 -0
  76. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
  77. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
  78. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
  79. pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
  80. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
  81. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
  82. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
  83. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
  84. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
  85. pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
  86. pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
  87. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
  88. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
  89. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
  90. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
  91. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
  92. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
  93. pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
  94. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
  95. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
  96. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
  97. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
  98. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
  99. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
  100. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
  101. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
  102. pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
  103. pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
  104. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
  105. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
  106. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
  107. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
  108. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
  109. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
  110. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
  111. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
  112. pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
  113. pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
  114. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
  115. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
  116. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
  117. pulumi_kubernetes/autoscaling/v2/_inputs.py +805 -0
  118. pulumi_kubernetes/autoscaling/v2/outputs.py +5 -0
  119. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
  120. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
  121. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
  122. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
  123. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
  124. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
  125. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
  126. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
  127. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
  128. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
  129. pulumi_kubernetes/batch/v1/CronJob.py +11 -6
  130. pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
  131. pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
  132. pulumi_kubernetes/batch/v1/Job.py +11 -6
  133. pulumi_kubernetes/batch/v1/JobList.py +11 -6
  134. pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
  135. pulumi_kubernetes/batch/v1/_inputs.py +773 -3
  136. pulumi_kubernetes/batch/v1/outputs.py +5 -0
  137. pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
  138. pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
  139. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
  140. pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
  141. pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
  142. pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
  143. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
  144. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
  145. pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
  146. pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
  147. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
  148. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
  149. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
  150. pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
  151. pulumi_kubernetes/certificates/v1/outputs.py +5 -0
  152. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
  153. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
  154. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
  155. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
  156. pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
  157. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
  158. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
  159. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
  160. pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
  161. pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
  162. pulumi_kubernetes/coordination/v1/Lease.py +11 -6
  163. pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
  164. pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
  165. pulumi_kubernetes/coordination/v1/_inputs.py +90 -0
  166. pulumi_kubernetes/coordination/v1/outputs.py +5 -0
  167. pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
  168. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
  169. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
  170. pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
  171. pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
  172. pulumi_kubernetes/core/v1/Binding.py +11 -6
  173. pulumi_kubernetes/core/v1/BindingPatch.py +11 -6
  174. pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
  175. pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
  176. pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
  177. pulumi_kubernetes/core/v1/Endpoints.py +11 -6
  178. pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
  179. pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
  180. pulumi_kubernetes/core/v1/Event.py +20 -15
  181. pulumi_kubernetes/core/v1/EventList.py +11 -6
  182. pulumi_kubernetes/core/v1/EventPatch.py +20 -15
  183. pulumi_kubernetes/core/v1/LimitRange.py +11 -6
  184. pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
  185. pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
  186. pulumi_kubernetes/core/v1/Namespace.py +11 -6
  187. pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
  188. pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
  189. pulumi_kubernetes/core/v1/Node.py +11 -6
  190. pulumi_kubernetes/core/v1/NodeList.py +11 -6
  191. pulumi_kubernetes/core/v1/NodePatch.py +11 -6
  192. pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
  193. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
  194. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
  195. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
  196. pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
  197. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
  198. pulumi_kubernetes/core/v1/Pod.py +11 -6
  199. pulumi_kubernetes/core/v1/PodList.py +11 -6
  200. pulumi_kubernetes/core/v1/PodPatch.py +11 -6
  201. pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
  202. pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
  203. pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
  204. pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
  205. pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
  206. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
  207. pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
  208. pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
  209. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
  210. pulumi_kubernetes/core/v1/Secret.py +8 -3
  211. pulumi_kubernetes/core/v1/SecretList.py +11 -6
  212. pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
  213. pulumi_kubernetes/core/v1/Service.py +11 -6
  214. pulumi_kubernetes/core/v1/ServiceAccount.py +14 -9
  215. pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
  216. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +14 -9
  217. pulumi_kubernetes/core/v1/ServiceList.py +11 -6
  218. pulumi_kubernetes/core/v1/ServicePatch.py +11 -6
  219. pulumi_kubernetes/core/v1/_inputs.py +10070 -478
  220. pulumi_kubernetes/core/v1/outputs.py +5 -0
  221. pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
  222. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
  223. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
  224. pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
  225. pulumi_kubernetes/discovery/v1/outputs.py +5 -0
  226. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
  227. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
  228. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
  229. pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
  230. pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
  231. pulumi_kubernetes/events/v1/Event.py +20 -15
  232. pulumi_kubernetes/events/v1/EventList.py +11 -6
  233. pulumi_kubernetes/events/v1/EventPatch.py +20 -15
  234. pulumi_kubernetes/events/v1/_inputs.py +118 -0
  235. pulumi_kubernetes/events/v1/outputs.py +5 -0
  236. pulumi_kubernetes/events/v1beta1/Event.py +19 -14
  237. pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
  238. pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
  239. pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
  240. pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
  241. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
  242. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
  243. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
  244. pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
  245. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
  246. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
  247. pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
  248. pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
  249. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
  250. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
  251. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
  252. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
  253. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
  254. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
  255. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
  256. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
  257. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
  258. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
  259. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
  260. pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
  261. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
  262. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
  263. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
  264. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
  265. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
  266. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
  267. pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
  268. pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
  269. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
  270. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
  271. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
  272. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
  273. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
  274. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
  275. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
  276. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
  277. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
  278. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
  279. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
  280. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
  281. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
  282. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
  283. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
  284. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
  285. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
  286. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
  287. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
  288. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
  289. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
  290. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
  291. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
  292. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
  293. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
  294. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
  295. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
  296. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
  297. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
  298. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
  299. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +771 -0
  300. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +5 -0
  301. pulumi_kubernetes/helm/v3/Release.py +8 -3
  302. pulumi_kubernetes/helm/v3/_inputs.py +40 -0
  303. pulumi_kubernetes/helm/v3/outputs.py +5 -0
  304. pulumi_kubernetes/helm/v4/Chart.py +15 -6
  305. pulumi_kubernetes/helm/v4/_inputs.py +57 -0
  306. pulumi_kubernetes/kustomize/v2/Directory.py +5 -0
  307. pulumi_kubernetes/meta/v1/Status.py +11 -6
  308. pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
  309. pulumi_kubernetes/meta/v1/_inputs.py +596 -0
  310. pulumi_kubernetes/meta/v1/outputs.py +5 -0
  311. pulumi_kubernetes/networking/v1/Ingress.py +11 -6
  312. pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
  313. pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
  314. pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
  315. pulumi_kubernetes/networking/v1/IngressList.py +11 -6
  316. pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
  317. pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
  318. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
  319. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
  320. pulumi_kubernetes/networking/v1/_inputs.py +840 -0
  321. pulumi_kubernetes/networking/v1/outputs.py +5 -0
  322. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
  323. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
  324. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
  325. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +11 -6
  326. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
  327. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +11 -6
  328. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +11 -6
  329. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
  330. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +11 -6
  331. pulumi_kubernetes/networking/v1alpha1/_inputs.py +259 -0
  332. pulumi_kubernetes/networking/v1alpha1/outputs.py +5 -0
  333. pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
  334. pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
  335. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
  336. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
  337. pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
  338. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
  339. pulumi_kubernetes/networking/v1beta1/_inputs.py +374 -0
  340. pulumi_kubernetes/networking/v1beta1/outputs.py +5 -0
  341. pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
  342. pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
  343. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
  344. pulumi_kubernetes/node/v1/_inputs.py +101 -0
  345. pulumi_kubernetes/node/v1/outputs.py +5 -0
  346. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
  347. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
  348. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
  349. pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
  350. pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
  351. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
  352. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
  353. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
  354. pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
  355. pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
  356. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
  357. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
  358. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
  359. pulumi_kubernetes/policy/v1/_inputs.py +151 -0
  360. pulumi_kubernetes/policy/v1/outputs.py +5 -0
  361. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
  362. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
  363. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
  364. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
  365. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
  366. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
  367. pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
  368. pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
  369. pulumi_kubernetes/provider.py +11 -6
  370. pulumi_kubernetes/pulumi-plugin.json +1 -1
  371. pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
  372. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
  373. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
  374. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
  375. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
  376. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
  377. pulumi_kubernetes/rbac/v1/Role.py +11 -6
  378. pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
  379. pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
  380. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
  381. pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
  382. pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
  383. pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
  384. pulumi_kubernetes/rbac/v1/outputs.py +5 -0
  385. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
  386. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
  387. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
  388. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
  389. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
  390. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
  391. pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
  392. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
  393. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
  394. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
  395. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
  396. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
  397. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
  398. pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
  399. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
  400. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
  401. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
  402. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
  403. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
  404. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
  405. pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
  406. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
  407. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
  408. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
  409. pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
  410. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
  411. pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
  412. pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
  413. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
  414. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
  415. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
  416. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +11 -6
  417. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
  418. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +11 -6
  419. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +11 -6
  420. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
  421. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +11 -6
  422. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
  423. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
  424. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
  425. pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
  426. pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
  427. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +11 -6
  428. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
  429. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +11 -6
  430. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +11 -6
  431. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
  432. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +14 -9
  433. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +11 -6
  434. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +14 -9
  435. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +11 -6
  436. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +11 -6
  437. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
  438. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +11 -6
  439. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +14 -9
  440. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
  441. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -12
  442. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +11 -6
  443. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -12
  444. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +14 -9
  445. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +11 -6
  446. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +11 -6
  447. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +11 -6
  448. pulumi_kubernetes/resource/v1alpha2/_inputs.py +1059 -6
  449. pulumi_kubernetes/resource/v1alpha2/outputs.py +5 -0
  450. pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
  451. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
  452. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
  453. pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
  454. pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
  455. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
  456. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
  457. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
  458. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
  459. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
  460. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
  461. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
  462. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
  463. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
  464. pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
  465. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
  466. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
  467. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
  468. pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
  469. pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
  470. pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
  471. pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
  472. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
  473. pulumi_kubernetes/storage/v1/CSINode.py +11 -6
  474. pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
  475. pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
  476. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
  477. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
  478. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
  479. pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
  480. pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
  481. pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
  482. pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
  483. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
  484. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
  485. pulumi_kubernetes/storage/v1/_inputs.py +614 -0
  486. pulumi_kubernetes/storage/v1/outputs.py +5 -0
  487. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
  488. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
  489. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
  490. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +8 -3
  491. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
  492. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +8 -3
  493. pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
  494. pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
  495. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
  496. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
  497. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
  498. pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
  499. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
  500. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
  501. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
  502. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
  503. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
  504. pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
  505. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
  506. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
  507. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
  508. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
  509. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
  510. pulumi_kubernetes/storage/v1beta1/_inputs.py +566 -0
  511. pulumi_kubernetes/storage/v1beta1/outputs.py +5 -0
  512. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +11 -6
  513. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +11 -6
  514. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +11 -6
  515. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +158 -0
  516. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +5 -0
  517. pulumi_kubernetes/yaml/v2/ConfigFile.py +5 -0
  518. pulumi_kubernetes/yaml/v2/ConfigGroup.py +5 -0
  519. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/METADATA +2 -1
  520. pulumi_kubernetes-4.14.0.dist-info/RECORD +619 -0
  521. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/WHEEL +1 -1
  522. pulumi_kubernetes-4.13.1.dist-info/RECORD +0 -619
  523. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/top_level.txt +0 -0
@@ -4,37 +4,124 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from ... import _utilities
11
16
  from ... import core as _core
12
17
  from ... import meta as _meta
13
18
 
14
19
  __all__ = [
15
20
  'CSIDriverSpecPatchArgs',
21
+ 'CSIDriverSpecPatchArgsDict',
16
22
  'CSIDriverSpecArgs',
23
+ 'CSIDriverSpecArgsDict',
17
24
  'CSIDriverArgs',
25
+ 'CSIDriverArgsDict',
18
26
  'CSINodeDriverPatchArgs',
27
+ 'CSINodeDriverPatchArgsDict',
19
28
  'CSINodeDriverArgs',
29
+ 'CSINodeDriverArgsDict',
20
30
  'CSINodeSpecPatchArgs',
31
+ 'CSINodeSpecPatchArgsDict',
21
32
  'CSINodeSpecArgs',
33
+ 'CSINodeSpecArgsDict',
22
34
  'CSINodeArgs',
35
+ 'CSINodeArgsDict',
23
36
  'CSIStorageCapacityArgs',
37
+ 'CSIStorageCapacityArgsDict',
24
38
  'StorageClassArgs',
39
+ 'StorageClassArgsDict',
25
40
  'TokenRequestPatchArgs',
41
+ 'TokenRequestPatchArgsDict',
26
42
  'TokenRequestArgs',
43
+ 'TokenRequestArgsDict',
27
44
  'VolumeAttachmentSourcePatchArgs',
45
+ 'VolumeAttachmentSourcePatchArgsDict',
28
46
  'VolumeAttachmentSourceArgs',
47
+ 'VolumeAttachmentSourceArgsDict',
29
48
  'VolumeAttachmentSpecPatchArgs',
49
+ 'VolumeAttachmentSpecPatchArgsDict',
30
50
  'VolumeAttachmentSpecArgs',
51
+ 'VolumeAttachmentSpecArgsDict',
31
52
  'VolumeAttachmentStatusArgs',
53
+ 'VolumeAttachmentStatusArgsDict',
32
54
  'VolumeAttachmentArgs',
55
+ 'VolumeAttachmentArgsDict',
33
56
  'VolumeErrorArgs',
57
+ 'VolumeErrorArgsDict',
34
58
  'VolumeNodeResourcesPatchArgs',
59
+ 'VolumeNodeResourcesPatchArgsDict',
35
60
  'VolumeNodeResourcesArgs',
61
+ 'VolumeNodeResourcesArgsDict',
36
62
  ]
37
63
 
64
+ MYPY = False
65
+
66
+ if not MYPY:
67
+ class CSIDriverSpecPatchArgsDict(TypedDict):
68
+ """
69
+ CSIDriverSpec is the specification of a CSIDriver.
70
+ """
71
+ attach_required: NotRequired[pulumi.Input[bool]]
72
+ """
73
+ attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
74
+ """
75
+ fs_group_policy: NotRequired[pulumi.Input[str]]
76
+ """
77
+ Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
78
+ """
79
+ pod_info_on_mount: NotRequired[pulumi.Input[bool]]
80
+ """
81
+ If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
82
+ defined by a CSIVolumeSource, otherwise "false"
83
+
84
+ "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
85
+ """
86
+ requires_republish: NotRequired[pulumi.Input[bool]]
87
+ """
88
+ RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
89
+
90
+ Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
91
+
92
+ This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
93
+ """
94
+ storage_capacity: NotRequired[pulumi.Input[bool]]
95
+ """
96
+ If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
97
+
98
+ The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
99
+
100
+ Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
101
+
102
+ This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.
103
+ """
104
+ token_requests: NotRequired[pulumi.Input[Sequence[pulumi.Input['TokenRequestPatchArgsDict']]]]
105
+ """
106
+ TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {
107
+ "<audience>": {
108
+ "token": <token>,
109
+ "expirationTimestamp": <expiration timestamp in RFC3339>,
110
+ },
111
+ ...
112
+ }
113
+
114
+ Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
115
+
116
+ This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
117
+ """
118
+ volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
119
+ """
120
+ VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
121
+ """
122
+ elif False:
123
+ CSIDriverSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
124
+
38
125
  @pulumi.input_type
39
126
  class CSIDriverSpecPatchArgs:
40
127
  def __init__(__self__, *,
@@ -201,6 +288,65 @@ class CSIDriverSpecPatchArgs:
201
288
  pulumi.set(self, "volume_lifecycle_modes", value)
202
289
 
203
290
 
291
+ if not MYPY:
292
+ class CSIDriverSpecArgsDict(TypedDict):
293
+ """
294
+ CSIDriverSpec is the specification of a CSIDriver.
295
+ """
296
+ attach_required: NotRequired[pulumi.Input[bool]]
297
+ """
298
+ attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.
299
+ """
300
+ fs_group_policy: NotRequired[pulumi.Input[str]]
301
+ """
302
+ Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.
303
+ """
304
+ pod_info_on_mount: NotRequired[pulumi.Input[bool]]
305
+ """
306
+ If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" iff the volume is an ephemeral inline volume
307
+ defined by a CSIVolumeSource, otherwise "false"
308
+
309
+ "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.
310
+ """
311
+ requires_republish: NotRequired[pulumi.Input[bool]]
312
+ """
313
+ RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.
314
+
315
+ Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.
316
+
317
+ This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
318
+ """
319
+ storage_capacity: NotRequired[pulumi.Input[bool]]
320
+ """
321
+ If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.
322
+
323
+ The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.
324
+
325
+ Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.
326
+
327
+ This is an alpha field and only available when the CSIStorageCapacity feature is enabled. The default is false.
328
+ """
329
+ token_requests: NotRequired[pulumi.Input[Sequence[pulumi.Input['TokenRequestArgsDict']]]]
330
+ """
331
+ TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {
332
+ "<audience>": {
333
+ "token": <token>,
334
+ "expirationTimestamp": <expiration timestamp in RFC3339>,
335
+ },
336
+ ...
337
+ }
338
+
339
+ Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.
340
+
341
+ This is an alpha feature and only available when the CSIServiceAccountToken feature is enabled.
342
+ """
343
+ volume_lifecycle_modes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
344
+ """
345
+ VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.
346
+ """
347
+ elif False:
348
+ CSIDriverSpecArgsDict: TypeAlias = Mapping[str, Any]
349
+
204
350
  @pulumi.input_type
205
351
  class CSIDriverSpecArgs:
206
352
  def __init__(__self__, *,
@@ -367,6 +513,30 @@ class CSIDriverSpecArgs:
367
513
  pulumi.set(self, "volume_lifecycle_modes", value)
368
514
 
369
515
 
516
+ if not MYPY:
517
+ class CSIDriverArgsDict(TypedDict):
518
+ """
519
+ CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
520
+ """
521
+ spec: pulumi.Input['CSIDriverSpecArgsDict']
522
+ """
523
+ Specification of the CSI Driver.
524
+ """
525
+ api_version: NotRequired[pulumi.Input[str]]
526
+ """
527
+ 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
528
+ """
529
+ kind: NotRequired[pulumi.Input[str]]
530
+ """
531
+ 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
532
+ """
533
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
534
+ """
535
+ Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
536
+ """
537
+ elif False:
538
+ CSIDriverArgsDict: TypeAlias = Mapping[str, Any]
539
+
370
540
  @pulumi.input_type
371
541
  class CSIDriverArgs:
372
542
  def __init__(__self__, *,
@@ -438,6 +608,30 @@ class CSIDriverArgs:
438
608
  pulumi.set(self, "metadata", value)
439
609
 
440
610
 
611
+ if not MYPY:
612
+ class CSINodeDriverPatchArgsDict(TypedDict):
613
+ """
614
+ CSINodeDriver holds information about the specification of one CSI driver installed on a node
615
+ """
616
+ allocatable: NotRequired[pulumi.Input['VolumeNodeResourcesPatchArgsDict']]
617
+ """
618
+ allocatable represents the volume resources of a node that are available for scheduling.
619
+ """
620
+ name: NotRequired[pulumi.Input[str]]
621
+ """
622
+ This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
623
+ """
624
+ node_id: NotRequired[pulumi.Input[str]]
625
+ """
626
+ nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
627
+ """
628
+ topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
629
+ """
630
+ topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
631
+ """
632
+ elif False:
633
+ CSINodeDriverPatchArgsDict: TypeAlias = Mapping[str, Any]
634
+
441
635
  @pulumi.input_type
442
636
  class CSINodeDriverPatchArgs:
443
637
  def __init__(__self__, *,
@@ -510,6 +704,30 @@ class CSINodeDriverPatchArgs:
510
704
  pulumi.set(self, "topology_keys", value)
511
705
 
512
706
 
707
+ if not MYPY:
708
+ class CSINodeDriverArgsDict(TypedDict):
709
+ """
710
+ CSINodeDriver holds information about the specification of one CSI driver installed on a node
711
+ """
712
+ name: pulumi.Input[str]
713
+ """
714
+ This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.
715
+ """
716
+ node_id: pulumi.Input[str]
717
+ """
718
+ nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.
719
+ """
720
+ allocatable: NotRequired[pulumi.Input['VolumeNodeResourcesArgsDict']]
721
+ """
722
+ allocatable represents the volume resources of a node that are available for scheduling.
723
+ """
724
+ topology_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
725
+ """
726
+ topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.
727
+ """
728
+ elif False:
729
+ CSINodeDriverArgsDict: TypeAlias = Mapping[str, Any]
730
+
513
731
  @pulumi.input_type
514
732
  class CSINodeDriverArgs:
515
733
  def __init__(__self__, *,
@@ -580,6 +798,18 @@ class CSINodeDriverArgs:
580
798
  pulumi.set(self, "topology_keys", value)
581
799
 
582
800
 
801
+ if not MYPY:
802
+ class CSINodeSpecPatchArgsDict(TypedDict):
803
+ """
804
+ CSINodeSpec holds information about the specification of all CSI drivers installed on a node
805
+ """
806
+ drivers: NotRequired[pulumi.Input[Sequence[pulumi.Input['CSINodeDriverPatchArgsDict']]]]
807
+ """
808
+ drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
809
+ """
810
+ elif False:
811
+ CSINodeSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
812
+
583
813
  @pulumi.input_type
584
814
  class CSINodeSpecPatchArgs:
585
815
  def __init__(__self__, *,
@@ -604,6 +834,18 @@ class CSINodeSpecPatchArgs:
604
834
  pulumi.set(self, "drivers", value)
605
835
 
606
836
 
837
+ if not MYPY:
838
+ class CSINodeSpecArgsDict(TypedDict):
839
+ """
840
+ CSINodeSpec holds information about the specification of all CSI drivers installed on a node
841
+ """
842
+ drivers: pulumi.Input[Sequence[pulumi.Input['CSINodeDriverArgsDict']]]
843
+ """
844
+ drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
845
+ """
846
+ elif False:
847
+ CSINodeSpecArgsDict: TypeAlias = Mapping[str, Any]
848
+
607
849
  @pulumi.input_type
608
850
  class CSINodeSpecArgs:
609
851
  def __init__(__self__, *,
@@ -627,6 +869,30 @@ class CSINodeSpecArgs:
627
869
  pulumi.set(self, "drivers", value)
628
870
 
629
871
 
872
+ if not MYPY:
873
+ class CSINodeArgsDict(TypedDict):
874
+ """
875
+ CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.
876
+ """
877
+ spec: pulumi.Input['CSINodeSpecArgsDict']
878
+ """
879
+ spec is the specification of CSINode
880
+ """
881
+ api_version: NotRequired[pulumi.Input[str]]
882
+ """
883
+ 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
884
+ """
885
+ kind: NotRequired[pulumi.Input[str]]
886
+ """
887
+ 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
888
+ """
889
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
890
+ """
891
+ metadata.name must be the Kubernetes node name.
892
+ """
893
+ elif False:
894
+ CSINodeArgsDict: TypeAlias = Mapping[str, Any]
895
+
630
896
  @pulumi.input_type
631
897
  class CSINodeArgs:
632
898
  def __init__(__self__, *,
@@ -698,6 +964,58 @@ class CSINodeArgs:
698
964
  pulumi.set(self, "metadata", value)
699
965
 
700
966
 
967
+ if not MYPY:
968
+ class CSIStorageCapacityArgsDict(TypedDict):
969
+ """
970
+ CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.
971
+
972
+ For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
973
+
974
+ The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero
975
+
976
+ The producer of these objects can decide which approach is more suitable.
977
+
978
+ They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.
979
+ """
980
+ storage_class_name: pulumi.Input[str]
981
+ """
982
+ The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.
983
+ """
984
+ api_version: NotRequired[pulumi.Input[str]]
985
+ """
986
+ 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
987
+ """
988
+ capacity: NotRequired[pulumi.Input[str]]
989
+ """
990
+ Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
991
+
992
+ The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.
993
+ """
994
+ kind: NotRequired[pulumi.Input[str]]
995
+ """
996
+ 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
997
+ """
998
+ maximum_volume_size: NotRequired[pulumi.Input[str]]
999
+ """
1000
+ MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.
1001
+
1002
+ This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.
1003
+ """
1004
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1005
+ """
1006
+ Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.
1007
+
1008
+ Objects are namespaced.
1009
+
1010
+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1011
+ """
1012
+ node_topology: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
1013
+ """
1014
+ NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.
1015
+ """
1016
+ elif False:
1017
+ CSIStorageCapacityArgsDict: TypeAlias = Mapping[str, Any]
1018
+
701
1019
  @pulumi.input_type
702
1020
  class CSIStorageCapacityArgs:
703
1021
  def __init__(__self__, *,
@@ -841,6 +1159,56 @@ class CSIStorageCapacityArgs:
841
1159
  pulumi.set(self, "node_topology", value)
842
1160
 
843
1161
 
1162
+ if not MYPY:
1163
+ class StorageClassArgsDict(TypedDict):
1164
+ """
1165
+ StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
1166
+
1167
+ StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
1168
+ """
1169
+ provisioner: pulumi.Input[str]
1170
+ """
1171
+ Provisioner indicates the type of the provisioner.
1172
+ """
1173
+ allow_volume_expansion: NotRequired[pulumi.Input[bool]]
1174
+ """
1175
+ AllowVolumeExpansion shows whether the storage class allow volume expand
1176
+ """
1177
+ allowed_topologies: NotRequired[pulumi.Input[Sequence[pulumi.Input['_core.v1.TopologySelectorTermArgsDict']]]]
1178
+ """
1179
+ Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
1180
+ """
1181
+ api_version: NotRequired[pulumi.Input[str]]
1182
+ """
1183
+ 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
1184
+ """
1185
+ kind: NotRequired[pulumi.Input[str]]
1186
+ """
1187
+ 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
1188
+ """
1189
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1190
+ """
1191
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1192
+ """
1193
+ mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1194
+ """
1195
+ Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
1196
+ """
1197
+ parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1198
+ """
1199
+ Parameters holds the parameters for the provisioner that should create volumes of this storage class.
1200
+ """
1201
+ reclaim_policy: NotRequired[pulumi.Input[str]]
1202
+ """
1203
+ Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
1204
+ """
1205
+ volume_binding_mode: NotRequired[pulumi.Input[str]]
1206
+ """
1207
+ VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
1208
+ """
1209
+ elif False:
1210
+ StorageClassArgsDict: TypeAlias = Mapping[str, Any]
1211
+
844
1212
  @pulumi.input_type
845
1213
  class StorageClassArgs:
846
1214
  def __init__(__self__, *,
@@ -1010,6 +1378,22 @@ class StorageClassArgs:
1010
1378
  pulumi.set(self, "volume_binding_mode", value)
1011
1379
 
1012
1380
 
1381
+ if not MYPY:
1382
+ class TokenRequestPatchArgsDict(TypedDict):
1383
+ """
1384
+ TokenRequest contains parameters of a service account token.
1385
+ """
1386
+ audience: NotRequired[pulumi.Input[str]]
1387
+ """
1388
+ Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
1389
+ """
1390
+ expiration_seconds: NotRequired[pulumi.Input[int]]
1391
+ """
1392
+ ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
1393
+ """
1394
+ elif False:
1395
+ TokenRequestPatchArgsDict: TypeAlias = Mapping[str, Any]
1396
+
1013
1397
  @pulumi.input_type
1014
1398
  class TokenRequestPatchArgs:
1015
1399
  def __init__(__self__, *,
@@ -1050,6 +1434,22 @@ class TokenRequestPatchArgs:
1050
1434
  pulumi.set(self, "expiration_seconds", value)
1051
1435
 
1052
1436
 
1437
+ if not MYPY:
1438
+ class TokenRequestArgsDict(TypedDict):
1439
+ """
1440
+ TokenRequest contains parameters of a service account token.
1441
+ """
1442
+ audience: pulumi.Input[str]
1443
+ """
1444
+ Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
1445
+ """
1446
+ expiration_seconds: NotRequired[pulumi.Input[int]]
1447
+ """
1448
+ ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"
1449
+ """
1450
+ elif False:
1451
+ TokenRequestArgsDict: TypeAlias = Mapping[str, Any]
1452
+
1053
1453
  @pulumi.input_type
1054
1454
  class TokenRequestArgs:
1055
1455
  def __init__(__self__, *,
@@ -1089,6 +1489,22 @@ class TokenRequestArgs:
1089
1489
  pulumi.set(self, "expiration_seconds", value)
1090
1490
 
1091
1491
 
1492
+ if not MYPY:
1493
+ class VolumeAttachmentSourcePatchArgsDict(TypedDict):
1494
+ """
1495
+ VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
1496
+ """
1497
+ inline_volume_spec: NotRequired[pulumi.Input['_core.v1.PersistentVolumeSpecPatchArgsDict']]
1498
+ """
1499
+ inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
1500
+ """
1501
+ persistent_volume_name: NotRequired[pulumi.Input[str]]
1502
+ """
1503
+ Name of the persistent volume to attach.
1504
+ """
1505
+ elif False:
1506
+ VolumeAttachmentSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
1507
+
1092
1508
  @pulumi.input_type
1093
1509
  class VolumeAttachmentSourcePatchArgs:
1094
1510
  def __init__(__self__, *,
@@ -1129,6 +1545,22 @@ class VolumeAttachmentSourcePatchArgs:
1129
1545
  pulumi.set(self, "persistent_volume_name", value)
1130
1546
 
1131
1547
 
1548
+ if not MYPY:
1549
+ class VolumeAttachmentSourceArgsDict(TypedDict):
1550
+ """
1551
+ VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
1552
+ """
1553
+ inline_volume_spec: NotRequired[pulumi.Input['_core.v1.PersistentVolumeSpecArgsDict']]
1554
+ """
1555
+ inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
1556
+ """
1557
+ persistent_volume_name: NotRequired[pulumi.Input[str]]
1558
+ """
1559
+ Name of the persistent volume to attach.
1560
+ """
1561
+ elif False:
1562
+ VolumeAttachmentSourceArgsDict: TypeAlias = Mapping[str, Any]
1563
+
1132
1564
  @pulumi.input_type
1133
1565
  class VolumeAttachmentSourceArgs:
1134
1566
  def __init__(__self__, *,
@@ -1169,6 +1601,26 @@ class VolumeAttachmentSourceArgs:
1169
1601
  pulumi.set(self, "persistent_volume_name", value)
1170
1602
 
1171
1603
 
1604
+ if not MYPY:
1605
+ class VolumeAttachmentSpecPatchArgsDict(TypedDict):
1606
+ """
1607
+ VolumeAttachmentSpec is the specification of a VolumeAttachment request.
1608
+ """
1609
+ attacher: NotRequired[pulumi.Input[str]]
1610
+ """
1611
+ Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
1612
+ """
1613
+ node_name: NotRequired[pulumi.Input[str]]
1614
+ """
1615
+ The node that the volume should be attached to.
1616
+ """
1617
+ source: NotRequired[pulumi.Input['VolumeAttachmentSourcePatchArgsDict']]
1618
+ """
1619
+ Source represents the volume that should be attached.
1620
+ """
1621
+ elif False:
1622
+ VolumeAttachmentSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1623
+
1172
1624
  @pulumi.input_type
1173
1625
  class VolumeAttachmentSpecPatchArgs:
1174
1626
  def __init__(__self__, *,
@@ -1225,6 +1677,26 @@ class VolumeAttachmentSpecPatchArgs:
1225
1677
  pulumi.set(self, "source", value)
1226
1678
 
1227
1679
 
1680
+ if not MYPY:
1681
+ class VolumeAttachmentSpecArgsDict(TypedDict):
1682
+ """
1683
+ VolumeAttachmentSpec is the specification of a VolumeAttachment request.
1684
+ """
1685
+ attacher: pulumi.Input[str]
1686
+ """
1687
+ Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
1688
+ """
1689
+ node_name: pulumi.Input[str]
1690
+ """
1691
+ The node that the volume should be attached to.
1692
+ """
1693
+ source: pulumi.Input['VolumeAttachmentSourceArgsDict']
1694
+ """
1695
+ Source represents the volume that should be attached.
1696
+ """
1697
+ elif False:
1698
+ VolumeAttachmentSpecArgsDict: TypeAlias = Mapping[str, Any]
1699
+
1228
1700
  @pulumi.input_type
1229
1701
  class VolumeAttachmentSpecArgs:
1230
1702
  def __init__(__self__, *,
@@ -1278,6 +1750,30 @@ class VolumeAttachmentSpecArgs:
1278
1750
  pulumi.set(self, "source", value)
1279
1751
 
1280
1752
 
1753
+ if not MYPY:
1754
+ class VolumeAttachmentStatusArgsDict(TypedDict):
1755
+ """
1756
+ VolumeAttachmentStatus is the status of a VolumeAttachment request.
1757
+ """
1758
+ attached: pulumi.Input[bool]
1759
+ """
1760
+ Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
1761
+ """
1762
+ attach_error: NotRequired[pulumi.Input['VolumeErrorArgsDict']]
1763
+ """
1764
+ The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
1765
+ """
1766
+ attachment_metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1767
+ """
1768
+ Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
1769
+ """
1770
+ detach_error: NotRequired[pulumi.Input['VolumeErrorArgsDict']]
1771
+ """
1772
+ The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
1773
+ """
1774
+ elif False:
1775
+ VolumeAttachmentStatusArgsDict: TypeAlias = Mapping[str, Any]
1776
+
1281
1777
  @pulumi.input_type
1282
1778
  class VolumeAttachmentStatusArgs:
1283
1779
  def __init__(__self__, *,
@@ -1349,6 +1845,36 @@ class VolumeAttachmentStatusArgs:
1349
1845
  pulumi.set(self, "detach_error", value)
1350
1846
 
1351
1847
 
1848
+ if not MYPY:
1849
+ class VolumeAttachmentArgsDict(TypedDict):
1850
+ """
1851
+ VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.
1852
+
1853
+ VolumeAttachment objects are non-namespaced.
1854
+ """
1855
+ spec: pulumi.Input['VolumeAttachmentSpecArgsDict']
1856
+ """
1857
+ Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
1858
+ """
1859
+ api_version: NotRequired[pulumi.Input[str]]
1860
+ """
1861
+ 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
1862
+ """
1863
+ kind: NotRequired[pulumi.Input[str]]
1864
+ """
1865
+ 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
1866
+ """
1867
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1868
+ """
1869
+ Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1870
+ """
1871
+ status: NotRequired[pulumi.Input['VolumeAttachmentStatusArgsDict']]
1872
+ """
1873
+ Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.
1874
+ """
1875
+ elif False:
1876
+ VolumeAttachmentArgsDict: TypeAlias = Mapping[str, Any]
1877
+
1352
1878
  @pulumi.input_type
1353
1879
  class VolumeAttachmentArgs:
1354
1880
  def __init__(__self__, *,
@@ -1438,6 +1964,22 @@ class VolumeAttachmentArgs:
1438
1964
  pulumi.set(self, "status", value)
1439
1965
 
1440
1966
 
1967
+ if not MYPY:
1968
+ class VolumeErrorArgsDict(TypedDict):
1969
+ """
1970
+ VolumeError captures an error encountered during a volume operation.
1971
+ """
1972
+ message: NotRequired[pulumi.Input[str]]
1973
+ """
1974
+ String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
1975
+ """
1976
+ time: NotRequired[pulumi.Input[str]]
1977
+ """
1978
+ Time the error was encountered.
1979
+ """
1980
+ elif False:
1981
+ VolumeErrorArgsDict: TypeAlias = Mapping[str, Any]
1982
+
1441
1983
  @pulumi.input_type
1442
1984
  class VolumeErrorArgs:
1443
1985
  def __init__(__self__, *,
@@ -1478,6 +2020,18 @@ class VolumeErrorArgs:
1478
2020
  pulumi.set(self, "time", value)
1479
2021
 
1480
2022
 
2023
+ if not MYPY:
2024
+ class VolumeNodeResourcesPatchArgsDict(TypedDict):
2025
+ """
2026
+ VolumeNodeResources is a set of resource limits for scheduling of volumes.
2027
+ """
2028
+ count: NotRequired[pulumi.Input[int]]
2029
+ """
2030
+ Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
2031
+ """
2032
+ elif False:
2033
+ VolumeNodeResourcesPatchArgsDict: TypeAlias = Mapping[str, Any]
2034
+
1481
2035
  @pulumi.input_type
1482
2036
  class VolumeNodeResourcesPatchArgs:
1483
2037
  def __init__(__self__, *,
@@ -1502,6 +2056,18 @@ class VolumeNodeResourcesPatchArgs:
1502
2056
  pulumi.set(self, "count", value)
1503
2057
 
1504
2058
 
2059
+ if not MYPY:
2060
+ class VolumeNodeResourcesArgsDict(TypedDict):
2061
+ """
2062
+ VolumeNodeResources is a set of resource limits for scheduling of volumes.
2063
+ """
2064
+ count: NotRequired[pulumi.Input[int]]
2065
+ """
2066
+ Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
2067
+ """
2068
+ elif False:
2069
+ VolumeNodeResourcesArgsDict: TypeAlias = Mapping[str, Any]
2070
+
1505
2071
  @pulumi.input_type
1506
2072
  class VolumeNodeResourcesArgs:
1507
2073
  def __init__(__self__, *,