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.

Potentially problematic release.


This version of pulumi-kubernetes might be problematic. Click here for more details.

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,52 +4,122 @@
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 meta as _meta
12
17
 
13
18
  __all__ = [
14
19
  'AuditAnnotationPatchArgs',
20
+ 'AuditAnnotationPatchArgsDict',
15
21
  'AuditAnnotationArgs',
22
+ 'AuditAnnotationArgsDict',
16
23
  'ExpressionWarningArgs',
24
+ 'ExpressionWarningArgsDict',
17
25
  'MatchConditionPatchArgs',
26
+ 'MatchConditionPatchArgsDict',
18
27
  'MatchConditionArgs',
28
+ 'MatchConditionArgsDict',
19
29
  'MatchResourcesPatchArgs',
30
+ 'MatchResourcesPatchArgsDict',
20
31
  'MatchResourcesArgs',
32
+ 'MatchResourcesArgsDict',
21
33
  'MutatingWebhookConfigurationArgs',
34
+ 'MutatingWebhookConfigurationArgsDict',
22
35
  'MutatingWebhookPatchArgs',
36
+ 'MutatingWebhookPatchArgsDict',
23
37
  'MutatingWebhookArgs',
38
+ 'MutatingWebhookArgsDict',
24
39
  'NamedRuleWithOperationsPatchArgs',
40
+ 'NamedRuleWithOperationsPatchArgsDict',
25
41
  'NamedRuleWithOperationsArgs',
42
+ 'NamedRuleWithOperationsArgsDict',
26
43
  'ParamKindPatchArgs',
44
+ 'ParamKindPatchArgsDict',
27
45
  'ParamKindArgs',
46
+ 'ParamKindArgsDict',
28
47
  'ParamRefPatchArgs',
48
+ 'ParamRefPatchArgsDict',
29
49
  'ParamRefArgs',
50
+ 'ParamRefArgsDict',
30
51
  'RuleWithOperationsPatchArgs',
52
+ 'RuleWithOperationsPatchArgsDict',
31
53
  'RuleWithOperationsArgs',
54
+ 'RuleWithOperationsArgsDict',
32
55
  'ServiceReferencePatchArgs',
56
+ 'ServiceReferencePatchArgsDict',
33
57
  'ServiceReferenceArgs',
58
+ 'ServiceReferenceArgsDict',
34
59
  'TypeCheckingArgs',
60
+ 'TypeCheckingArgsDict',
35
61
  'ValidatingAdmissionPolicyBindingSpecPatchArgs',
62
+ 'ValidatingAdmissionPolicyBindingSpecPatchArgsDict',
36
63
  'ValidatingAdmissionPolicyBindingSpecArgs',
64
+ 'ValidatingAdmissionPolicyBindingSpecArgsDict',
37
65
  'ValidatingAdmissionPolicyBindingArgs',
66
+ 'ValidatingAdmissionPolicyBindingArgsDict',
38
67
  'ValidatingAdmissionPolicySpecPatchArgs',
68
+ 'ValidatingAdmissionPolicySpecPatchArgsDict',
39
69
  'ValidatingAdmissionPolicySpecArgs',
70
+ 'ValidatingAdmissionPolicySpecArgsDict',
40
71
  'ValidatingAdmissionPolicyStatusArgs',
72
+ 'ValidatingAdmissionPolicyStatusArgsDict',
41
73
  'ValidatingAdmissionPolicyArgs',
74
+ 'ValidatingAdmissionPolicyArgsDict',
42
75
  'ValidatingWebhookConfigurationArgs',
76
+ 'ValidatingWebhookConfigurationArgsDict',
43
77
  'ValidatingWebhookPatchArgs',
78
+ 'ValidatingWebhookPatchArgsDict',
44
79
  'ValidatingWebhookArgs',
80
+ 'ValidatingWebhookArgsDict',
45
81
  'ValidationPatchArgs',
82
+ 'ValidationPatchArgsDict',
46
83
  'ValidationArgs',
84
+ 'ValidationArgsDict',
47
85
  'VariablePatchArgs',
86
+ 'VariablePatchArgsDict',
48
87
  'VariableArgs',
88
+ 'VariableArgsDict',
49
89
  'WebhookClientConfigPatchArgs',
90
+ 'WebhookClientConfigPatchArgsDict',
50
91
  'WebhookClientConfigArgs',
92
+ 'WebhookClientConfigArgsDict',
51
93
  ]
52
94
 
95
+ MYPY = False
96
+
97
+ if not MYPY:
98
+ class AuditAnnotationPatchArgsDict(TypedDict):
99
+ """
100
+ AuditAnnotation describes how to produce an audit annotation for an API request.
101
+ """
102
+ key: NotRequired[pulumi.Input[str]]
103
+ """
104
+ key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
105
+
106
+ The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
107
+
108
+ If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
109
+
110
+ Required.
111
+ """
112
+ value_expression: NotRequired[pulumi.Input[str]]
113
+ """
114
+ valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
115
+
116
+ If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
117
+
118
+ Required.
119
+ """
120
+ elif False:
121
+ AuditAnnotationPatchArgsDict: TypeAlias = Mapping[str, Any]
122
+
53
123
  @pulumi.input_type
54
124
  class AuditAnnotationPatchArgs:
55
125
  def __init__(__self__, *,
@@ -110,6 +180,32 @@ class AuditAnnotationPatchArgs:
110
180
  pulumi.set(self, "value_expression", value)
111
181
 
112
182
 
183
+ if not MYPY:
184
+ class AuditAnnotationArgsDict(TypedDict):
185
+ """
186
+ AuditAnnotation describes how to produce an audit annotation for an API request.
187
+ """
188
+ key: pulumi.Input[str]
189
+ """
190
+ key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
191
+
192
+ The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
193
+
194
+ If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
195
+
196
+ Required.
197
+ """
198
+ value_expression: pulumi.Input[str]
199
+ """
200
+ valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
201
+
202
+ If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
203
+
204
+ Required.
205
+ """
206
+ elif False:
207
+ AuditAnnotationArgsDict: TypeAlias = Mapping[str, Any]
208
+
113
209
  @pulumi.input_type
114
210
  class AuditAnnotationArgs:
115
211
  def __init__(__self__, *,
@@ -168,6 +264,22 @@ class AuditAnnotationArgs:
168
264
  pulumi.set(self, "value_expression", value)
169
265
 
170
266
 
267
+ if not MYPY:
268
+ class ExpressionWarningArgsDict(TypedDict):
269
+ """
270
+ ExpressionWarning is a warning information that targets a specific expression.
271
+ """
272
+ field_ref: pulumi.Input[str]
273
+ """
274
+ The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
275
+ """
276
+ warning: pulumi.Input[str]
277
+ """
278
+ The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
279
+ """
280
+ elif False:
281
+ ExpressionWarningArgsDict: TypeAlias = Mapping[str, Any]
282
+
171
283
  @pulumi.input_type
172
284
  class ExpressionWarningArgs:
173
285
  def __init__(__self__, *,
@@ -206,6 +318,32 @@ class ExpressionWarningArgs:
206
318
  pulumi.set(self, "warning", value)
207
319
 
208
320
 
321
+ if not MYPY:
322
+ class MatchConditionPatchArgsDict(TypedDict):
323
+ """
324
+ MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
325
+ """
326
+ expression: NotRequired[pulumi.Input[str]]
327
+ """
328
+ Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
329
+
330
+ 'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
331
+ See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
332
+ 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
333
+ request resource.
334
+ Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
335
+
336
+ Required.
337
+ """
338
+ name: NotRequired[pulumi.Input[str]]
339
+ """
340
+ Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
341
+
342
+ Required.
343
+ """
344
+ elif False:
345
+ MatchConditionPatchArgsDict: TypeAlias = Mapping[str, Any]
346
+
209
347
  @pulumi.input_type
210
348
  class MatchConditionPatchArgs:
211
349
  def __init__(__self__, *,
@@ -266,6 +404,32 @@ class MatchConditionPatchArgs:
266
404
  pulumi.set(self, "name", value)
267
405
 
268
406
 
407
+ if not MYPY:
408
+ class MatchConditionArgsDict(TypedDict):
409
+ """
410
+ MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
411
+ """
412
+ expression: pulumi.Input[str]
413
+ """
414
+ Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
415
+
416
+ 'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
417
+ See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
418
+ 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
419
+ request resource.
420
+ Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
421
+
422
+ Required.
423
+ """
424
+ name: pulumi.Input[str]
425
+ """
426
+ Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
427
+
428
+ Required.
429
+ """
430
+ elif False:
431
+ MatchConditionArgsDict: TypeAlias = Mapping[str, Any]
432
+
269
433
  @pulumi.input_type
270
434
  class MatchConditionArgs:
271
435
  def __init__(__self__, *,
@@ -324,6 +488,70 @@ class MatchConditionArgs:
324
488
  pulumi.set(self, "name", value)
325
489
 
326
490
 
491
+ if not MYPY:
492
+ class MatchResourcesPatchArgsDict(TypedDict):
493
+ """
494
+ MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
495
+ """
496
+ exclude_resource_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgsDict']]]]
497
+ """
498
+ ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
499
+ """
500
+ match_policy: NotRequired[pulumi.Input[str]]
501
+ """
502
+ matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
503
+
504
+ - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
505
+
506
+ - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
507
+
508
+ Defaults to "Equivalent"
509
+ """
510
+ namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
511
+ """
512
+ NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
513
+
514
+ For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
515
+ "matchExpressions": [
516
+ {
517
+ "key": "runlevel",
518
+ "operator": "NotIn",
519
+ "values": [
520
+ "0",
521
+ "1"
522
+ ]
523
+ }
524
+ ]
525
+ }
526
+
527
+ If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
528
+ "matchExpressions": [
529
+ {
530
+ "key": "environment",
531
+ "operator": "In",
532
+ "values": [
533
+ "prod",
534
+ "staging"
535
+ ]
536
+ }
537
+ ]
538
+ }
539
+
540
+ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
541
+
542
+ Default to the empty LabelSelector, which matches everything.
543
+ """
544
+ object_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
545
+ """
546
+ ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
547
+ """
548
+ resource_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgsDict']]]]
549
+ """
550
+ ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
551
+ """
552
+ elif False:
553
+ MatchResourcesPatchArgsDict: TypeAlias = Mapping[str, Any]
554
+
327
555
  @pulumi.input_type
328
556
  class MatchResourcesPatchArgs:
329
557
  def __init__(__self__, *,
@@ -484,6 +712,70 @@ class MatchResourcesPatchArgs:
484
712
  pulumi.set(self, "resource_rules", value)
485
713
 
486
714
 
715
+ if not MYPY:
716
+ class MatchResourcesArgsDict(TypedDict):
717
+ """
718
+ MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
719
+ """
720
+ exclude_resource_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgsDict']]]]
721
+ """
722
+ ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
723
+ """
724
+ match_policy: NotRequired[pulumi.Input[str]]
725
+ """
726
+ matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
727
+
728
+ - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
729
+
730
+ - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
731
+
732
+ Defaults to "Equivalent"
733
+ """
734
+ namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
735
+ """
736
+ NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
737
+
738
+ For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
739
+ "matchExpressions": [
740
+ {
741
+ "key": "runlevel",
742
+ "operator": "NotIn",
743
+ "values": [
744
+ "0",
745
+ "1"
746
+ ]
747
+ }
748
+ ]
749
+ }
750
+
751
+ If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
752
+ "matchExpressions": [
753
+ {
754
+ "key": "environment",
755
+ "operator": "In",
756
+ "values": [
757
+ "prod",
758
+ "staging"
759
+ ]
760
+ }
761
+ ]
762
+ }
763
+
764
+ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
765
+
766
+ Default to the empty LabelSelector, which matches everything.
767
+ """
768
+ object_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
769
+ """
770
+ ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
771
+ """
772
+ resource_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgsDict']]]]
773
+ """
774
+ ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
775
+ """
776
+ elif False:
777
+ MatchResourcesArgsDict: TypeAlias = Mapping[str, Any]
778
+
487
779
  @pulumi.input_type
488
780
  class MatchResourcesArgs:
489
781
  def __init__(__self__, *,
@@ -644,6 +936,30 @@ class MatchResourcesArgs:
644
936
  pulumi.set(self, "resource_rules", value)
645
937
 
646
938
 
939
+ if not MYPY:
940
+ class MutatingWebhookConfigurationArgsDict(TypedDict):
941
+ """
942
+ MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
943
+ """
944
+ api_version: NotRequired[pulumi.Input[str]]
945
+ """
946
+ 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
947
+ """
948
+ kind: NotRequired[pulumi.Input[str]]
949
+ """
950
+ 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
951
+ """
952
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
953
+ """
954
+ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
955
+ """
956
+ webhooks: NotRequired[pulumi.Input[Sequence[pulumi.Input['MutatingWebhookArgsDict']]]]
957
+ """
958
+ Webhooks is a list of webhooks and the affected resources and operations.
959
+ """
960
+ elif False:
961
+ MutatingWebhookConfigurationArgsDict: TypeAlias = Mapping[str, Any]
962
+
647
963
  @pulumi.input_type
648
964
  class MutatingWebhookConfigurationArgs:
649
965
  def __init__(__self__, *,
@@ -716,6 +1032,111 @@ class MutatingWebhookConfigurationArgs:
716
1032
  pulumi.set(self, "webhooks", value)
717
1033
 
718
1034
 
1035
+ if not MYPY:
1036
+ class MutatingWebhookPatchArgsDict(TypedDict):
1037
+ """
1038
+ MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1039
+ """
1040
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1041
+ """
1042
+ AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1043
+ """
1044
+ client_config: NotRequired[pulumi.Input['WebhookClientConfigPatchArgsDict']]
1045
+ """
1046
+ ClientConfig defines how to communicate with the hook. Required
1047
+ """
1048
+ failure_policy: NotRequired[pulumi.Input[str]]
1049
+ """
1050
+ FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1051
+ """
1052
+ match_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgsDict']]]]
1053
+ """
1054
+ MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
1055
+
1056
+ The exact matching logic is (in order):
1057
+ 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
1058
+ 2. If ALL matchConditions evaluate to TRUE, the webhook is called.
1059
+ 3. If any matchCondition evaluates to an error (but none are FALSE):
1060
+ - If failurePolicy=Fail, reject the request
1061
+ - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
1062
+ """
1063
+ match_policy: NotRequired[pulumi.Input[str]]
1064
+ """
1065
+ matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1066
+
1067
+ - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
1068
+
1069
+ - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
1070
+
1071
+ Defaults to "Equivalent"
1072
+ """
1073
+ name: NotRequired[pulumi.Input[str]]
1074
+ """
1075
+ The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1076
+ """
1077
+ namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
1078
+ """
1079
+ NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
1080
+
1081
+ For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
1082
+ "matchExpressions": [
1083
+ {
1084
+ "key": "runlevel",
1085
+ "operator": "NotIn",
1086
+ "values": [
1087
+ "0",
1088
+ "1"
1089
+ ]
1090
+ }
1091
+ ]
1092
+ }
1093
+
1094
+ If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
1095
+ "matchExpressions": [
1096
+ {
1097
+ "key": "environment",
1098
+ "operator": "In",
1099
+ "values": [
1100
+ "prod",
1101
+ "staging"
1102
+ ]
1103
+ }
1104
+ ]
1105
+ }
1106
+
1107
+ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
1108
+
1109
+ Default to the empty LabelSelector, which matches everything.
1110
+ """
1111
+ object_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
1112
+ """
1113
+ ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
1114
+ """
1115
+ reinvocation_policy: NotRequired[pulumi.Input[str]]
1116
+ """
1117
+ reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1118
+
1119
+ Never: the webhook will not be called more than once in a single admission evaluation.
1120
+
1121
+ IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.
1122
+
1123
+ Defaults to "Never".
1124
+ """
1125
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgsDict']]]]
1126
+ """
1127
+ Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
1128
+ """
1129
+ side_effects: NotRequired[pulumi.Input[str]]
1130
+ """
1131
+ SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1132
+ """
1133
+ timeout_seconds: NotRequired[pulumi.Input[int]]
1134
+ """
1135
+ TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1136
+ """
1137
+ elif False:
1138
+ MutatingWebhookPatchArgsDict: TypeAlias = Mapping[str, Any]
1139
+
719
1140
  @pulumi.input_type
720
1141
  class MutatingWebhookPatchArgs:
721
1142
  def __init__(__self__, *,
@@ -1014,6 +1435,111 @@ class MutatingWebhookPatchArgs:
1014
1435
  pulumi.set(self, "timeout_seconds", value)
1015
1436
 
1016
1437
 
1438
+ if not MYPY:
1439
+ class MutatingWebhookArgsDict(TypedDict):
1440
+ """
1441
+ MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1442
+ """
1443
+ admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]]
1444
+ """
1445
+ AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1446
+ """
1447
+ client_config: pulumi.Input['WebhookClientConfigArgsDict']
1448
+ """
1449
+ ClientConfig defines how to communicate with the hook. Required
1450
+ """
1451
+ name: pulumi.Input[str]
1452
+ """
1453
+ The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1454
+ """
1455
+ side_effects: pulumi.Input[str]
1456
+ """
1457
+ SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1458
+ """
1459
+ failure_policy: NotRequired[pulumi.Input[str]]
1460
+ """
1461
+ FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1462
+ """
1463
+ match_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgsDict']]]]
1464
+ """
1465
+ MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
1466
+
1467
+ The exact matching logic is (in order):
1468
+ 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
1469
+ 2. If ALL matchConditions evaluate to TRUE, the webhook is called.
1470
+ 3. If any matchCondition evaluates to an error (but none are FALSE):
1471
+ - If failurePolicy=Fail, reject the request
1472
+ - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
1473
+ """
1474
+ match_policy: NotRequired[pulumi.Input[str]]
1475
+ """
1476
+ matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1477
+
1478
+ - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
1479
+
1480
+ - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
1481
+
1482
+ Defaults to "Equivalent"
1483
+ """
1484
+ namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
1485
+ """
1486
+ NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
1487
+
1488
+ For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
1489
+ "matchExpressions": [
1490
+ {
1491
+ "key": "runlevel",
1492
+ "operator": "NotIn",
1493
+ "values": [
1494
+ "0",
1495
+ "1"
1496
+ ]
1497
+ }
1498
+ ]
1499
+ }
1500
+
1501
+ If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
1502
+ "matchExpressions": [
1503
+ {
1504
+ "key": "environment",
1505
+ "operator": "In",
1506
+ "values": [
1507
+ "prod",
1508
+ "staging"
1509
+ ]
1510
+ }
1511
+ ]
1512
+ }
1513
+
1514
+ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
1515
+
1516
+ Default to the empty LabelSelector, which matches everything.
1517
+ """
1518
+ object_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
1519
+ """
1520
+ ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
1521
+ """
1522
+ reinvocation_policy: NotRequired[pulumi.Input[str]]
1523
+ """
1524
+ reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1525
+
1526
+ Never: the webhook will not be called more than once in a single admission evaluation.
1527
+
1528
+ IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.
1529
+
1530
+ Defaults to "Never".
1531
+ """
1532
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgsDict']]]]
1533
+ """
1534
+ Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
1535
+ """
1536
+ timeout_seconds: NotRequired[pulumi.Input[int]]
1537
+ """
1538
+ TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1539
+ """
1540
+ elif False:
1541
+ MutatingWebhookArgsDict: TypeAlias = Mapping[str, Any]
1542
+
1017
1543
  @pulumi.input_type
1018
1544
  class MutatingWebhookArgs:
1019
1545
  def __init__(__self__, *,
@@ -1308,6 +1834,44 @@ class MutatingWebhookArgs:
1308
1834
  pulumi.set(self, "timeout_seconds", value)
1309
1835
 
1310
1836
 
1837
+ if not MYPY:
1838
+ class NamedRuleWithOperationsPatchArgsDict(TypedDict):
1839
+ """
1840
+ NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1841
+ """
1842
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1843
+ """
1844
+ APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1845
+ """
1846
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1847
+ """
1848
+ APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1849
+ """
1850
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1851
+ """
1852
+ Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
1853
+ """
1854
+ resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1855
+ """
1856
+ ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1857
+ """
1858
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1859
+ """
1860
+ Resources is a list of resources this rule applies to.
1861
+
1862
+ For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
1863
+
1864
+ If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1865
+
1866
+ Depending on the enclosing object, subresources might not be allowed. Required.
1867
+ """
1868
+ scope: NotRequired[pulumi.Input[str]]
1869
+ """
1870
+ scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
1871
+ """
1872
+ elif False:
1873
+ NamedRuleWithOperationsPatchArgsDict: TypeAlias = Mapping[str, Any]
1874
+
1311
1875
  @pulumi.input_type
1312
1876
  class NamedRuleWithOperationsPatchArgs:
1313
1877
  def __init__(__self__, *,
@@ -1417,12 +1981,50 @@ class NamedRuleWithOperationsPatchArgs:
1417
1981
  """
1418
1982
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
1419
1983
  """
1420
- return pulumi.get(self, "scope")
1421
-
1422
- @scope.setter
1423
- def scope(self, value: Optional[pulumi.Input[str]]):
1424
- pulumi.set(self, "scope", value)
1425
-
1984
+ return pulumi.get(self, "scope")
1985
+
1986
+ @scope.setter
1987
+ def scope(self, value: Optional[pulumi.Input[str]]):
1988
+ pulumi.set(self, "scope", value)
1989
+
1990
+
1991
+ if not MYPY:
1992
+ class NamedRuleWithOperationsArgsDict(TypedDict):
1993
+ """
1994
+ NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1995
+ """
1996
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1997
+ """
1998
+ APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1999
+ """
2000
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2001
+ """
2002
+ APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2003
+ """
2004
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2005
+ """
2006
+ Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2007
+ """
2008
+ resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2009
+ """
2010
+ ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
2011
+ """
2012
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2013
+ """
2014
+ Resources is a list of resources this rule applies to.
2015
+
2016
+ For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
2017
+
2018
+ If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2019
+
2020
+ Depending on the enclosing object, subresources might not be allowed. Required.
2021
+ """
2022
+ scope: NotRequired[pulumi.Input[str]]
2023
+ """
2024
+ scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2025
+ """
2026
+ elif False:
2027
+ NamedRuleWithOperationsArgsDict: TypeAlias = Mapping[str, Any]
1426
2028
 
1427
2029
  @pulumi.input_type
1428
2030
  class NamedRuleWithOperationsArgs:
@@ -1540,6 +2142,22 @@ class NamedRuleWithOperationsArgs:
1540
2142
  pulumi.set(self, "scope", value)
1541
2143
 
1542
2144
 
2145
+ if not MYPY:
2146
+ class ParamKindPatchArgsDict(TypedDict):
2147
+ """
2148
+ ParamKind is a tuple of Group Kind and Version.
2149
+ """
2150
+ api_version: NotRequired[pulumi.Input[str]]
2151
+ """
2152
+ APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2153
+ """
2154
+ kind: NotRequired[pulumi.Input[str]]
2155
+ """
2156
+ Kind is the API kind the resources belong to. Required.
2157
+ """
2158
+ elif False:
2159
+ ParamKindPatchArgsDict: TypeAlias = Mapping[str, Any]
2160
+
1543
2161
  @pulumi.input_type
1544
2162
  class ParamKindPatchArgs:
1545
2163
  def __init__(__self__, *,
@@ -1580,6 +2198,22 @@ class ParamKindPatchArgs:
1580
2198
  pulumi.set(self, "kind", value)
1581
2199
 
1582
2200
 
2201
+ if not MYPY:
2202
+ class ParamKindArgsDict(TypedDict):
2203
+ """
2204
+ ParamKind is a tuple of Group Kind and Version.
2205
+ """
2206
+ api_version: NotRequired[pulumi.Input[str]]
2207
+ """
2208
+ APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2209
+ """
2210
+ kind: NotRequired[pulumi.Input[str]]
2211
+ """
2212
+ Kind is the API kind the resources belong to. Required.
2213
+ """
2214
+ elif False:
2215
+ ParamKindArgsDict: TypeAlias = Mapping[str, Any]
2216
+
1583
2217
  @pulumi.input_type
1584
2218
  class ParamKindArgs:
1585
2219
  def __init__(__self__, *,
@@ -1620,6 +2254,48 @@ class ParamKindArgs:
1620
2254
  pulumi.set(self, "kind", value)
1621
2255
 
1622
2256
 
2257
+ if not MYPY:
2258
+ class ParamRefPatchArgsDict(TypedDict):
2259
+ """
2260
+ ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2261
+ """
2262
+ name: NotRequired[pulumi.Input[str]]
2263
+ """
2264
+ name is the name of the resource being referenced.
2265
+
2266
+ One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
2267
+
2268
+ A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
2269
+ """
2270
+ namespace: NotRequired[pulumi.Input[str]]
2271
+ """
2272
+ namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2273
+
2274
+ A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
2275
+
2276
+ - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
2277
+
2278
+ - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
2279
+ """
2280
+ parameter_not_found_action: NotRequired[pulumi.Input[str]]
2281
+ """
2282
+ `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2283
+
2284
+ Allowed values are `Allow` or `Deny`
2285
+
2286
+ Required
2287
+ """
2288
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
2289
+ """
2290
+ selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
2291
+
2292
+ If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
2293
+
2294
+ One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
2295
+ """
2296
+ elif False:
2297
+ ParamRefPatchArgsDict: TypeAlias = Mapping[str, Any]
2298
+
1623
2299
  @pulumi.input_type
1624
2300
  class ParamRefPatchArgs:
1625
2301
  def __init__(__self__, *,
@@ -1728,6 +2404,48 @@ class ParamRefPatchArgs:
1728
2404
  pulumi.set(self, "selector", value)
1729
2405
 
1730
2406
 
2407
+ if not MYPY:
2408
+ class ParamRefArgsDict(TypedDict):
2409
+ """
2410
+ ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2411
+ """
2412
+ name: NotRequired[pulumi.Input[str]]
2413
+ """
2414
+ name is the name of the resource being referenced.
2415
+
2416
+ One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
2417
+
2418
+ A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
2419
+ """
2420
+ namespace: NotRequired[pulumi.Input[str]]
2421
+ """
2422
+ namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2423
+
2424
+ A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
2425
+
2426
+ - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
2427
+
2428
+ - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
2429
+ """
2430
+ parameter_not_found_action: NotRequired[pulumi.Input[str]]
2431
+ """
2432
+ `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2433
+
2434
+ Allowed values are `Allow` or `Deny`
2435
+
2436
+ Required
2437
+ """
2438
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
2439
+ """
2440
+ selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
2441
+
2442
+ If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
2443
+
2444
+ One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
2445
+ """
2446
+ elif False:
2447
+ ParamRefArgsDict: TypeAlias = Mapping[str, Any]
2448
+
1731
2449
  @pulumi.input_type
1732
2450
  class ParamRefArgs:
1733
2451
  def __init__(__self__, *,
@@ -1836,6 +2554,40 @@ class ParamRefArgs:
1836
2554
  pulumi.set(self, "selector", value)
1837
2555
 
1838
2556
 
2557
+ if not MYPY:
2558
+ class RuleWithOperationsPatchArgsDict(TypedDict):
2559
+ """
2560
+ RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2561
+ """
2562
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2563
+ """
2564
+ APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2565
+ """
2566
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2567
+ """
2568
+ APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2569
+ """
2570
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2571
+ """
2572
+ Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2573
+ """
2574
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2575
+ """
2576
+ Resources is a list of resources this rule applies to.
2577
+
2578
+ For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
2579
+
2580
+ If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2581
+
2582
+ Depending on the enclosing object, subresources might not be allowed. Required.
2583
+ """
2584
+ scope: NotRequired[pulumi.Input[str]]
2585
+ """
2586
+ scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2587
+ """
2588
+ elif False:
2589
+ RuleWithOperationsPatchArgsDict: TypeAlias = Mapping[str, Any]
2590
+
1839
2591
  @pulumi.input_type
1840
2592
  class RuleWithOperationsPatchArgs:
1841
2593
  def __init__(__self__, *,
@@ -1936,6 +2688,40 @@ class RuleWithOperationsPatchArgs:
1936
2688
  pulumi.set(self, "scope", value)
1937
2689
 
1938
2690
 
2691
+ if not MYPY:
2692
+ class RuleWithOperationsArgsDict(TypedDict):
2693
+ """
2694
+ RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2695
+ """
2696
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2697
+ """
2698
+ APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2699
+ """
2700
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2701
+ """
2702
+ APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2703
+ """
2704
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2705
+ """
2706
+ Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2707
+ """
2708
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2709
+ """
2710
+ Resources is a list of resources this rule applies to.
2711
+
2712
+ For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
2713
+
2714
+ If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2715
+
2716
+ Depending on the enclosing object, subresources might not be allowed. Required.
2717
+ """
2718
+ scope: NotRequired[pulumi.Input[str]]
2719
+ """
2720
+ scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2721
+ """
2722
+ elif False:
2723
+ RuleWithOperationsArgsDict: TypeAlias = Mapping[str, Any]
2724
+
1939
2725
  @pulumi.input_type
1940
2726
  class RuleWithOperationsArgs:
1941
2727
  def __init__(__self__, *,
@@ -2036,6 +2822,30 @@ class RuleWithOperationsArgs:
2036
2822
  pulumi.set(self, "scope", value)
2037
2823
 
2038
2824
 
2825
+ if not MYPY:
2826
+ class ServiceReferencePatchArgsDict(TypedDict):
2827
+ """
2828
+ ServiceReference holds a reference to Service.legacy.k8s.io
2829
+ """
2830
+ name: NotRequired[pulumi.Input[str]]
2831
+ """
2832
+ `name` is the name of the service. Required
2833
+ """
2834
+ namespace: NotRequired[pulumi.Input[str]]
2835
+ """
2836
+ `namespace` is the namespace of the service. Required
2837
+ """
2838
+ path: NotRequired[pulumi.Input[str]]
2839
+ """
2840
+ `path` is an optional URL path which will be sent in any request to this service.
2841
+ """
2842
+ port: NotRequired[pulumi.Input[int]]
2843
+ """
2844
+ If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2845
+ """
2846
+ elif False:
2847
+ ServiceReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
2848
+
2039
2849
  @pulumi.input_type
2040
2850
  class ServiceReferencePatchArgs:
2041
2851
  def __init__(__self__, *,
@@ -2108,6 +2918,30 @@ class ServiceReferencePatchArgs:
2108
2918
  pulumi.set(self, "port", value)
2109
2919
 
2110
2920
 
2921
+ if not MYPY:
2922
+ class ServiceReferenceArgsDict(TypedDict):
2923
+ """
2924
+ ServiceReference holds a reference to Service.legacy.k8s.io
2925
+ """
2926
+ name: pulumi.Input[str]
2927
+ """
2928
+ `name` is the name of the service. Required
2929
+ """
2930
+ namespace: pulumi.Input[str]
2931
+ """
2932
+ `namespace` is the namespace of the service. Required
2933
+ """
2934
+ path: NotRequired[pulumi.Input[str]]
2935
+ """
2936
+ `path` is an optional URL path which will be sent in any request to this service.
2937
+ """
2938
+ port: NotRequired[pulumi.Input[int]]
2939
+ """
2940
+ If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2941
+ """
2942
+ elif False:
2943
+ ServiceReferenceArgsDict: TypeAlias = Mapping[str, Any]
2944
+
2111
2945
  @pulumi.input_type
2112
2946
  class ServiceReferenceArgs:
2113
2947
  def __init__(__self__, *,
@@ -2178,6 +3012,18 @@ class ServiceReferenceArgs:
2178
3012
  pulumi.set(self, "port", value)
2179
3013
 
2180
3014
 
3015
+ if not MYPY:
3016
+ class TypeCheckingArgsDict(TypedDict):
3017
+ """
3018
+ TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy
3019
+ """
3020
+ expression_warnings: NotRequired[pulumi.Input[Sequence[pulumi.Input['ExpressionWarningArgsDict']]]]
3021
+ """
3022
+ The type checking warnings for each expression.
3023
+ """
3024
+ elif False:
3025
+ TypeCheckingArgsDict: TypeAlias = Mapping[str, Any]
3026
+
2181
3027
  @pulumi.input_type
2182
3028
  class TypeCheckingArgs:
2183
3029
  def __init__(__self__, *,
@@ -2202,6 +3048,48 @@ class TypeCheckingArgs:
2202
3048
  pulumi.set(self, "expression_warnings", value)
2203
3049
 
2204
3050
 
3051
+ if not MYPY:
3052
+ class ValidatingAdmissionPolicyBindingSpecPatchArgsDict(TypedDict):
3053
+ """
3054
+ ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
3055
+ """
3056
+ match_resources: NotRequired[pulumi.Input['MatchResourcesPatchArgsDict']]
3057
+ """
3058
+ MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
3059
+ """
3060
+ param_ref: NotRequired[pulumi.Input['ParamRefPatchArgsDict']]
3061
+ """
3062
+ paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
3063
+ """
3064
+ policy_name: NotRequired[pulumi.Input[str]]
3065
+ """
3066
+ PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3067
+ """
3068
+ validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
3069
+ """
3070
+ validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3071
+
3072
+ Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
3073
+
3074
+ validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.
3075
+
3076
+ The supported actions values are:
3077
+
3078
+ "Deny" specifies that a validation failure results in a denied request.
3079
+
3080
+ "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3081
+
3082
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3083
+
3084
+ Clients should expect to handle additional values by ignoring any values not recognized.
3085
+
3086
+ "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.
3087
+
3088
+ Required.
3089
+ """
3090
+ elif False:
3091
+ ValidatingAdmissionPolicyBindingSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
3092
+
2205
3093
  @pulumi.input_type
2206
3094
  class ValidatingAdmissionPolicyBindingSpecPatchArgs:
2207
3095
  def __init__(__self__, *,
@@ -2303,12 +3191,54 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
2303
3191
 
2304
3192
  Required.
2305
3193
  """
2306
- return pulumi.get(self, "validation_actions")
2307
-
2308
- @validation_actions.setter
2309
- def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2310
- pulumi.set(self, "validation_actions", value)
2311
-
3194
+ return pulumi.get(self, "validation_actions")
3195
+
3196
+ @validation_actions.setter
3197
+ def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
3198
+ pulumi.set(self, "validation_actions", value)
3199
+
3200
+
3201
+ if not MYPY:
3202
+ class ValidatingAdmissionPolicyBindingSpecArgsDict(TypedDict):
3203
+ """
3204
+ ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
3205
+ """
3206
+ match_resources: NotRequired[pulumi.Input['MatchResourcesArgsDict']]
3207
+ """
3208
+ MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
3209
+ """
3210
+ param_ref: NotRequired[pulumi.Input['ParamRefArgsDict']]
3211
+ """
3212
+ paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
3213
+ """
3214
+ policy_name: NotRequired[pulumi.Input[str]]
3215
+ """
3216
+ PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3217
+ """
3218
+ validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
3219
+ """
3220
+ validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3221
+
3222
+ Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
3223
+
3224
+ validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.
3225
+
3226
+ The supported actions values are:
3227
+
3228
+ "Deny" specifies that a validation failure results in a denied request.
3229
+
3230
+ "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3231
+
3232
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3233
+
3234
+ Clients should expect to handle additional values by ignoring any values not recognized.
3235
+
3236
+ "Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.
3237
+
3238
+ Required.
3239
+ """
3240
+ elif False:
3241
+ ValidatingAdmissionPolicyBindingSpecArgsDict: TypeAlias = Mapping[str, Any]
2312
3242
 
2313
3243
  @pulumi.input_type
2314
3244
  class ValidatingAdmissionPolicyBindingSpecArgs:
@@ -2418,6 +3348,34 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
2418
3348
  pulumi.set(self, "validation_actions", value)
2419
3349
 
2420
3350
 
3351
+ if not MYPY:
3352
+ class ValidatingAdmissionPolicyBindingArgsDict(TypedDict):
3353
+ """
3354
+ ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
3355
+
3356
+ For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
3357
+
3358
+ The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
3359
+ """
3360
+ api_version: NotRequired[pulumi.Input[str]]
3361
+ """
3362
+ 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
3363
+ """
3364
+ kind: NotRequired[pulumi.Input[str]]
3365
+ """
3366
+ 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
3367
+ """
3368
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
3369
+ """
3370
+ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
3371
+ """
3372
+ spec: NotRequired[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgsDict']]
3373
+ """
3374
+ Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
3375
+ """
3376
+ elif False:
3377
+ ValidatingAdmissionPolicyBindingArgsDict: TypeAlias = Mapping[str, Any]
3378
+
2421
3379
  @pulumi.input_type
2422
3380
  class ValidatingAdmissionPolicyBindingArgs:
2423
3381
  def __init__(__self__, *,
@@ -2494,6 +3452,61 @@ class ValidatingAdmissionPolicyBindingArgs:
2494
3452
  pulumi.set(self, "spec", value)
2495
3453
 
2496
3454
 
3455
+ if not MYPY:
3456
+ class ValidatingAdmissionPolicySpecPatchArgsDict(TypedDict):
3457
+ """
3458
+ ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
3459
+ """
3460
+ audit_annotations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgsDict']]]]
3461
+ """
3462
+ auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
3463
+ """
3464
+ failure_policy: NotRequired[pulumi.Input[str]]
3465
+ """
3466
+ failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3467
+
3468
+ A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
3469
+
3470
+ failurePolicy does not define how validations that evaluate to false are handled.
3471
+
3472
+ When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.
3473
+
3474
+ Allowed values are Ignore or Fail. Defaults to Fail.
3475
+ """
3476
+ match_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgsDict']]]]
3477
+ """
3478
+ MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
3479
+
3480
+ If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
3481
+
3482
+ The exact matching logic is (in order):
3483
+ 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
3484
+ 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
3485
+ 3. If any matchCondition evaluates to an error (but none are FALSE):
3486
+ - If failurePolicy=Fail, reject the request
3487
+ - If failurePolicy=Ignore, the policy is skipped
3488
+ """
3489
+ match_constraints: NotRequired[pulumi.Input['MatchResourcesPatchArgsDict']]
3490
+ """
3491
+ MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.
3492
+ """
3493
+ param_kind: NotRequired[pulumi.Input['ParamKindPatchArgsDict']]
3494
+ """
3495
+ ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
3496
+ """
3497
+ validations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgsDict']]]]
3498
+ """
3499
+ Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.
3500
+ """
3501
+ variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgsDict']]]]
3502
+ """
3503
+ Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.
3504
+
3505
+ The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.
3506
+ """
3507
+ elif False:
3508
+ ValidatingAdmissionPolicySpecPatchArgsDict: TypeAlias = Mapping[str, Any]
3509
+
2497
3510
  @pulumi.input_type
2498
3511
  class ValidatingAdmissionPolicySpecPatchArgs:
2499
3512
  def __init__(__self__, *,
@@ -2652,6 +3665,61 @@ class ValidatingAdmissionPolicySpecPatchArgs:
2652
3665
  pulumi.set(self, "variables", value)
2653
3666
 
2654
3667
 
3668
+ if not MYPY:
3669
+ class ValidatingAdmissionPolicySpecArgsDict(TypedDict):
3670
+ """
3671
+ ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
3672
+ """
3673
+ audit_annotations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgsDict']]]]
3674
+ """
3675
+ auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
3676
+ """
3677
+ failure_policy: NotRequired[pulumi.Input[str]]
3678
+ """
3679
+ failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3680
+
3681
+ A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
3682
+
3683
+ failurePolicy does not define how validations that evaluate to false are handled.
3684
+
3685
+ When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.
3686
+
3687
+ Allowed values are Ignore or Fail. Defaults to Fail.
3688
+ """
3689
+ match_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgsDict']]]]
3690
+ """
3691
+ MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
3692
+
3693
+ If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.
3694
+
3695
+ The exact matching logic is (in order):
3696
+ 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
3697
+ 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
3698
+ 3. If any matchCondition evaluates to an error (but none are FALSE):
3699
+ - If failurePolicy=Fail, reject the request
3700
+ - If failurePolicy=Ignore, the policy is skipped
3701
+ """
3702
+ match_constraints: NotRequired[pulumi.Input['MatchResourcesArgsDict']]
3703
+ """
3704
+ MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.
3705
+ """
3706
+ param_kind: NotRequired[pulumi.Input['ParamKindArgsDict']]
3707
+ """
3708
+ ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
3709
+ """
3710
+ validations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ValidationArgsDict']]]]
3711
+ """
3712
+ Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.
3713
+ """
3714
+ variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['VariableArgsDict']]]]
3715
+ """
3716
+ Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.
3717
+
3718
+ The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.
3719
+ """
3720
+ elif False:
3721
+ ValidatingAdmissionPolicySpecArgsDict: TypeAlias = Mapping[str, Any]
3722
+
2655
3723
  @pulumi.input_type
2656
3724
  class ValidatingAdmissionPolicySpecArgs:
2657
3725
  def __init__(__self__, *,
@@ -2810,6 +3878,26 @@ class ValidatingAdmissionPolicySpecArgs:
2810
3878
  pulumi.set(self, "variables", value)
2811
3879
 
2812
3880
 
3881
+ if not MYPY:
3882
+ class ValidatingAdmissionPolicyStatusArgsDict(TypedDict):
3883
+ """
3884
+ ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
3885
+ """
3886
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgsDict']]]]
3887
+ """
3888
+ The conditions represent the latest available observations of a policy's current state.
3889
+ """
3890
+ observed_generation: NotRequired[pulumi.Input[int]]
3891
+ """
3892
+ The generation observed by the controller.
3893
+ """
3894
+ type_checking: NotRequired[pulumi.Input['TypeCheckingArgsDict']]
3895
+ """
3896
+ The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
3897
+ """
3898
+ elif False:
3899
+ ValidatingAdmissionPolicyStatusArgsDict: TypeAlias = Mapping[str, Any]
3900
+
2813
3901
  @pulumi.input_type
2814
3902
  class ValidatingAdmissionPolicyStatusArgs:
2815
3903
  def __init__(__self__, *,
@@ -2866,6 +3954,34 @@ class ValidatingAdmissionPolicyStatusArgs:
2866
3954
  pulumi.set(self, "type_checking", value)
2867
3955
 
2868
3956
 
3957
+ if not MYPY:
3958
+ class ValidatingAdmissionPolicyArgsDict(TypedDict):
3959
+ """
3960
+ ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
3961
+ """
3962
+ api_version: NotRequired[pulumi.Input[str]]
3963
+ """
3964
+ 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
3965
+ """
3966
+ kind: NotRequired[pulumi.Input[str]]
3967
+ """
3968
+ 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
3969
+ """
3970
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
3971
+ """
3972
+ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
3973
+ """
3974
+ spec: NotRequired[pulumi.Input['ValidatingAdmissionPolicySpecArgsDict']]
3975
+ """
3976
+ Specification of the desired behavior of the ValidatingAdmissionPolicy.
3977
+ """
3978
+ status: NotRequired[pulumi.Input['ValidatingAdmissionPolicyStatusArgsDict']]
3979
+ """
3980
+ The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
3981
+ """
3982
+ elif False:
3983
+ ValidatingAdmissionPolicyArgsDict: TypeAlias = Mapping[str, Any]
3984
+
2869
3985
  @pulumi.input_type
2870
3986
  class ValidatingAdmissionPolicyArgs:
2871
3987
  def __init__(__self__, *,
@@ -2954,6 +4070,30 @@ class ValidatingAdmissionPolicyArgs:
2954
4070
  pulumi.set(self, "status", value)
2955
4071
 
2956
4072
 
4073
+ if not MYPY:
4074
+ class ValidatingWebhookConfigurationArgsDict(TypedDict):
4075
+ """
4076
+ ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
4077
+ """
4078
+ api_version: NotRequired[pulumi.Input[str]]
4079
+ """
4080
+ 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
4081
+ """
4082
+ kind: NotRequired[pulumi.Input[str]]
4083
+ """
4084
+ 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
4085
+ """
4086
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
4087
+ """
4088
+ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
4089
+ """
4090
+ webhooks: NotRequired[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgsDict']]]]
4091
+ """
4092
+ Webhooks is a list of webhooks and the affected resources and operations.
4093
+ """
4094
+ elif False:
4095
+ ValidatingWebhookConfigurationArgsDict: TypeAlias = Mapping[str, Any]
4096
+
2957
4097
  @pulumi.input_type
2958
4098
  class ValidatingWebhookConfigurationArgs:
2959
4099
  def __init__(__self__, *,
@@ -3005,26 +4145,121 @@ class ValidatingWebhookConfigurationArgs:
3005
4145
  @pulumi.getter
3006
4146
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
3007
4147
  """
3008
- Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
4148
+ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
4149
+ """
4150
+ return pulumi.get(self, "metadata")
4151
+
4152
+ @metadata.setter
4153
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
4154
+ pulumi.set(self, "metadata", value)
4155
+
4156
+ @property
4157
+ @pulumi.getter
4158
+ def webhooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]:
4159
+ """
4160
+ Webhooks is a list of webhooks and the affected resources and operations.
4161
+ """
4162
+ return pulumi.get(self, "webhooks")
4163
+
4164
+ @webhooks.setter
4165
+ def webhooks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]):
4166
+ pulumi.set(self, "webhooks", value)
4167
+
4168
+
4169
+ if not MYPY:
4170
+ class ValidatingWebhookPatchArgsDict(TypedDict):
4171
+ """
4172
+ ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4173
+ """
4174
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
4175
+ """
4176
+ AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4177
+ """
4178
+ client_config: NotRequired[pulumi.Input['WebhookClientConfigPatchArgsDict']]
4179
+ """
4180
+ ClientConfig defines how to communicate with the hook. Required
4181
+ """
4182
+ failure_policy: NotRequired[pulumi.Input[str]]
4183
+ """
4184
+ FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4185
+ """
4186
+ match_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgsDict']]]]
4187
+ """
4188
+ MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
4189
+
4190
+ The exact matching logic is (in order):
4191
+ 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
4192
+ 2. If ALL matchConditions evaluate to TRUE, the webhook is called.
4193
+ 3. If any matchCondition evaluates to an error (but none are FALSE):
4194
+ - If failurePolicy=Fail, reject the request
4195
+ - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
4196
+ """
4197
+ match_policy: NotRequired[pulumi.Input[str]]
4198
+ """
4199
+ matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4200
+
4201
+ - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
4202
+
4203
+ - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
4204
+
4205
+ Defaults to "Equivalent"
4206
+ """
4207
+ name: NotRequired[pulumi.Input[str]]
4208
+ """
4209
+ The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4210
+ """
4211
+ namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
4212
+ """
4213
+ NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
4214
+
4215
+ For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
4216
+ "matchExpressions": [
4217
+ {
4218
+ "key": "runlevel",
4219
+ "operator": "NotIn",
4220
+ "values": [
4221
+ "0",
4222
+ "1"
4223
+ ]
4224
+ }
4225
+ ]
4226
+ }
4227
+
4228
+ If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
4229
+ "matchExpressions": [
4230
+ {
4231
+ "key": "environment",
4232
+ "operator": "In",
4233
+ "values": [
4234
+ "prod",
4235
+ "staging"
4236
+ ]
4237
+ }
4238
+ ]
4239
+ }
4240
+
4241
+ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.
4242
+
4243
+ Default to the empty LabelSelector, which matches everything.
4244
+ """
4245
+ object_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
4246
+ """
4247
+ ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
4248
+ """
4249
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgsDict']]]]
3009
4250
  """
3010
- return pulumi.get(self, "metadata")
3011
-
3012
- @metadata.setter
3013
- def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
3014
- pulumi.set(self, "metadata", value)
3015
-
3016
- @property
3017
- @pulumi.getter
3018
- def webhooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]:
4251
+ Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
3019
4252
  """
3020
- Webhooks is a list of webhooks and the affected resources and operations.
4253
+ side_effects: NotRequired[pulumi.Input[str]]
3021
4254
  """
3022
- return pulumi.get(self, "webhooks")
3023
-
3024
- @webhooks.setter
3025
- def webhooks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]):
3026
- pulumi.set(self, "webhooks", value)
3027
-
4255
+ SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4256
+ """
4257
+ timeout_seconds: NotRequired[pulumi.Input[int]]
4258
+ """
4259
+ TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4260
+ """
4261
+ elif False:
4262
+ ValidatingWebhookPatchArgsDict: TypeAlias = Mapping[str, Any]
3028
4263
 
3029
4264
  @pulumi.input_type
3030
4265
  class ValidatingWebhookPatchArgs:
@@ -3296,6 +4531,101 @@ class ValidatingWebhookPatchArgs:
3296
4531
  pulumi.set(self, "timeout_seconds", value)
3297
4532
 
3298
4533
 
4534
+ if not MYPY:
4535
+ class ValidatingWebhookArgsDict(TypedDict):
4536
+ """
4537
+ ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4538
+ """
4539
+ admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]]
4540
+ """
4541
+ AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4542
+ """
4543
+ client_config: pulumi.Input['WebhookClientConfigArgsDict']
4544
+ """
4545
+ ClientConfig defines how to communicate with the hook. Required
4546
+ """
4547
+ name: pulumi.Input[str]
4548
+ """
4549
+ The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4550
+ """
4551
+ side_effects: pulumi.Input[str]
4552
+ """
4553
+ SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4554
+ """
4555
+ failure_policy: NotRequired[pulumi.Input[str]]
4556
+ """
4557
+ FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4558
+ """
4559
+ match_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgsDict']]]]
4560
+ """
4561
+ MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
4562
+
4563
+ The exact matching logic is (in order):
4564
+ 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
4565
+ 2. If ALL matchConditions evaluate to TRUE, the webhook is called.
4566
+ 3. If any matchCondition evaluates to an error (but none are FALSE):
4567
+ - If failurePolicy=Fail, reject the request
4568
+ - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
4569
+ """
4570
+ match_policy: NotRequired[pulumi.Input[str]]
4571
+ """
4572
+ matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4573
+
4574
+ - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
4575
+
4576
+ - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
4577
+
4578
+ Defaults to "Equivalent"
4579
+ """
4580
+ namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
4581
+ """
4582
+ NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
4583
+
4584
+ For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
4585
+ "matchExpressions": [
4586
+ {
4587
+ "key": "runlevel",
4588
+ "operator": "NotIn",
4589
+ "values": [
4590
+ "0",
4591
+ "1"
4592
+ ]
4593
+ }
4594
+ ]
4595
+ }
4596
+
4597
+ If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
4598
+ "matchExpressions": [
4599
+ {
4600
+ "key": "environment",
4601
+ "operator": "In",
4602
+ "values": [
4603
+ "prod",
4604
+ "staging"
4605
+ ]
4606
+ }
4607
+ ]
4608
+ }
4609
+
4610
+ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.
4611
+
4612
+ Default to the empty LabelSelector, which matches everything.
4613
+ """
4614
+ object_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
4615
+ """
4616
+ ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
4617
+ """
4618
+ rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgsDict']]]]
4619
+ """
4620
+ Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
4621
+ """
4622
+ timeout_seconds: NotRequired[pulumi.Input[int]]
4623
+ """
4624
+ TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4625
+ """
4626
+ elif False:
4627
+ ValidatingWebhookArgsDict: TypeAlias = Mapping[str, Any]
4628
+
3299
4629
  @pulumi.input_type
3300
4630
  class ValidatingWebhookArgs:
3301
4631
  def __init__(__self__, *,
@@ -3562,6 +4892,55 @@ class ValidatingWebhookArgs:
3562
4892
  pulumi.set(self, "timeout_seconds", value)
3563
4893
 
3564
4894
 
4895
+ if not MYPY:
4896
+ class ValidationPatchArgsDict(TypedDict):
4897
+ """
4898
+ Validation specifies the CEL expression which is used to apply the validation.
4899
+ """
4900
+ expression: NotRequired[pulumi.Input[str]]
4901
+ """
4902
+ Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
4903
+
4904
+ - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
4905
+ For example, a variable named 'foo' can be accessed as 'variables.foo'.
4906
+ - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
4907
+ See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
4908
+ - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
4909
+ request resource.
4910
+
4911
+ The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.
4912
+
4913
+ Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
4914
+ "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
4915
+ "import", "let", "loop", "package", "namespace", "return".
4916
+ Examples:
4917
+ - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
4918
+ - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
4919
+ - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
4920
+
4921
+ Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
4922
+ - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
4923
+ non-intersecting elements in `Y` are appended, retaining their partial order.
4924
+ - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
4925
+ are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
4926
+ non-intersecting keys are appended, retaining their partial order.
4927
+ Required.
4928
+ """
4929
+ message: NotRequired[pulumi.Input[str]]
4930
+ """
4931
+ Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
4932
+ """
4933
+ message_expression: NotRequired[pulumi.Input[str]]
4934
+ """
4935
+ messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
4936
+ """
4937
+ reason: NotRequired[pulumi.Input[str]]
4938
+ """
4939
+ Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
4940
+ """
4941
+ elif False:
4942
+ ValidationPatchArgsDict: TypeAlias = Mapping[str, Any]
4943
+
3565
4944
  @pulumi.input_type
3566
4945
  class ValidationPatchArgs:
3567
4946
  def __init__(__self__, *,
@@ -3684,6 +5063,55 @@ class ValidationPatchArgs:
3684
5063
  pulumi.set(self, "reason", value)
3685
5064
 
3686
5065
 
5066
+ if not MYPY:
5067
+ class ValidationArgsDict(TypedDict):
5068
+ """
5069
+ Validation specifies the CEL expression which is used to apply the validation.
5070
+ """
5071
+ expression: pulumi.Input[str]
5072
+ """
5073
+ Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
5074
+
5075
+ - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
5076
+ For example, a variable named 'foo' can be accessed as 'variables.foo'.
5077
+ - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
5078
+ See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
5079
+ - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
5080
+ request resource.
5081
+
5082
+ The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.
5083
+
5084
+ Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
5085
+ "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
5086
+ "import", "let", "loop", "package", "namespace", "return".
5087
+ Examples:
5088
+ - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
5089
+ - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
5090
+ - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
5091
+
5092
+ Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
5093
+ - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
5094
+ non-intersecting elements in `Y` are appended, retaining their partial order.
5095
+ - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
5096
+ are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
5097
+ non-intersecting keys are appended, retaining their partial order.
5098
+ Required.
5099
+ """
5100
+ message: NotRequired[pulumi.Input[str]]
5101
+ """
5102
+ Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
5103
+ """
5104
+ message_expression: NotRequired[pulumi.Input[str]]
5105
+ """
5106
+ messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
5107
+ """
5108
+ reason: NotRequired[pulumi.Input[str]]
5109
+ """
5110
+ Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
5111
+ """
5112
+ elif False:
5113
+ ValidationArgsDict: TypeAlias = Mapping[str, Any]
5114
+
3687
5115
  @pulumi.input_type
3688
5116
  class ValidationArgs:
3689
5117
  def __init__(__self__, *,
@@ -3805,6 +5233,22 @@ class ValidationArgs:
3805
5233
  pulumi.set(self, "reason", value)
3806
5234
 
3807
5235
 
5236
+ if not MYPY:
5237
+ class VariablePatchArgsDict(TypedDict):
5238
+ """
5239
+ Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5240
+ """
5241
+ expression: NotRequired[pulumi.Input[str]]
5242
+ """
5243
+ Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5244
+ """
5245
+ name: NotRequired[pulumi.Input[str]]
5246
+ """
5247
+ Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5248
+ """
5249
+ elif False:
5250
+ VariablePatchArgsDict: TypeAlias = Mapping[str, Any]
5251
+
3808
5252
  @pulumi.input_type
3809
5253
  class VariablePatchArgs:
3810
5254
  def __init__(__self__, *,
@@ -3845,6 +5289,22 @@ class VariablePatchArgs:
3845
5289
  pulumi.set(self, "name", value)
3846
5290
 
3847
5291
 
5292
+ if not MYPY:
5293
+ class VariableArgsDict(TypedDict):
5294
+ """
5295
+ Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5296
+ """
5297
+ expression: pulumi.Input[str]
5298
+ """
5299
+ Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5300
+ """
5301
+ name: pulumi.Input[str]
5302
+ """
5303
+ Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5304
+ """
5305
+ elif False:
5306
+ VariableArgsDict: TypeAlias = Mapping[str, Any]
5307
+
3848
5308
  @pulumi.input_type
3849
5309
  class VariableArgs:
3850
5310
  def __init__(__self__, *,
@@ -3883,6 +5343,38 @@ class VariableArgs:
3883
5343
  pulumi.set(self, "name", value)
3884
5344
 
3885
5345
 
5346
+ if not MYPY:
5347
+ class WebhookClientConfigPatchArgsDict(TypedDict):
5348
+ """
5349
+ WebhookClientConfig contains the information to make a TLS connection with the webhook
5350
+ """
5351
+ ca_bundle: NotRequired[pulumi.Input[str]]
5352
+ """
5353
+ `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5354
+ """
5355
+ service: NotRequired[pulumi.Input['ServiceReferencePatchArgsDict']]
5356
+ """
5357
+ `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
5358
+
5359
+ If the webhook is running within the cluster, then you should use `service`.
5360
+ """
5361
+ url: NotRequired[pulumi.Input[str]]
5362
+ """
5363
+ `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5364
+
5365
+ The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
5366
+
5367
+ Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
5368
+
5369
+ The scheme must be "https"; the URL must begin with "https://".
5370
+
5371
+ A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
5372
+
5373
+ Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
5374
+ """
5375
+ elif False:
5376
+ WebhookClientConfigPatchArgsDict: TypeAlias = Mapping[str, Any]
5377
+
3886
5378
  @pulumi.input_type
3887
5379
  class WebhookClientConfigPatchArgs:
3888
5380
  def __init__(__self__, *,
@@ -3963,6 +5455,38 @@ class WebhookClientConfigPatchArgs:
3963
5455
  pulumi.set(self, "url", value)
3964
5456
 
3965
5457
 
5458
+ if not MYPY:
5459
+ class WebhookClientConfigArgsDict(TypedDict):
5460
+ """
5461
+ WebhookClientConfig contains the information to make a TLS connection with the webhook
5462
+ """
5463
+ ca_bundle: NotRequired[pulumi.Input[str]]
5464
+ """
5465
+ `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5466
+ """
5467
+ service: NotRequired[pulumi.Input['ServiceReferenceArgsDict']]
5468
+ """
5469
+ `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
5470
+
5471
+ If the webhook is running within the cluster, then you should use `service`.
5472
+ """
5473
+ url: NotRequired[pulumi.Input[str]]
5474
+ """
5475
+ `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5476
+
5477
+ The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
5478
+
5479
+ Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.
5480
+
5481
+ The scheme must be "https"; the URL must begin with "https://".
5482
+
5483
+ A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.
5484
+
5485
+ Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.
5486
+ """
5487
+ elif False:
5488
+ WebhookClientConfigArgsDict: TypeAlias = Mapping[str, Any]
5489
+
3966
5490
  @pulumi.input_type
3967
5491
  class WebhookClientConfigArgs:
3968
5492
  def __init__(__self__, *,