@pulumi/kubernetes 3.19.4 → 3.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (535) hide show
  1. package/admissionregistration/v1/index.d.ts +2 -0
  2. package/admissionregistration/v1/index.js +8 -0
  3. package/admissionregistration/v1/index.js.map +1 -1
  4. package/admissionregistration/v1/mutatingWebhookConfigurationPatch.d.ts +66 -0
  5. package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js +67 -0
  6. package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js.map +1 -0
  7. package/admissionregistration/v1/validatingWebhookConfigurationPatch.d.ts +66 -0
  8. package/admissionregistration/v1/validatingWebhookConfigurationPatch.js +67 -0
  9. package/admissionregistration/v1/validatingWebhookConfigurationPatch.js.map +1 -0
  10. package/admissionregistration/v1beta1/index.d.ts +2 -0
  11. package/admissionregistration/v1beta1/index.js +8 -0
  12. package/admissionregistration/v1beta1/index.js.map +1 -1
  13. package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.d.ts +66 -0
  14. package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js +67 -0
  15. package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js.map +1 -0
  16. package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.d.ts +66 -0
  17. package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.js +67 -0
  18. package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.js.map +1 -0
  19. package/apiextensions/customResourcePatch.d.ts +68 -0
  20. package/apiextensions/customResourcePatch.js +57 -0
  21. package/apiextensions/customResourcePatch.js.map +1 -0
  22. package/apiextensions/index.d.ts +1 -0
  23. package/apiextensions/index.js +1 -0
  24. package/apiextensions/index.js.map +1 -1
  25. package/apiextensions/v1/customResourceDefinitionPatch.d.ts +70 -0
  26. package/apiextensions/v1/customResourceDefinitionPatch.js +69 -0
  27. package/apiextensions/v1/customResourceDefinitionPatch.js.map +1 -0
  28. package/apiextensions/v1/index.d.ts +1 -0
  29. package/apiextensions/v1/index.js +4 -0
  30. package/apiextensions/v1/index.js.map +1 -1
  31. package/apiextensions/v1beta1/customResourceDefinitionPatch.d.ts +64 -0
  32. package/apiextensions/v1beta1/customResourceDefinitionPatch.js +69 -0
  33. package/apiextensions/v1beta1/customResourceDefinitionPatch.js.map +1 -0
  34. package/apiextensions/v1beta1/index.d.ts +1 -0
  35. package/apiextensions/v1beta1/index.js +4 -0
  36. package/apiextensions/v1beta1/index.js.map +1 -1
  37. package/apiregistration/v1/apiservicePatch.d.ts +70 -0
  38. package/apiregistration/v1/apiservicePatch.js +69 -0
  39. package/apiregistration/v1/apiservicePatch.js.map +1 -0
  40. package/apiregistration/v1/index.d.ts +1 -0
  41. package/apiregistration/v1/index.js +4 -0
  42. package/apiregistration/v1/index.js.map +1 -1
  43. package/apiregistration/v1beta1/apiservicePatch.d.ts +64 -0
  44. package/apiregistration/v1beta1/apiservicePatch.js +69 -0
  45. package/apiregistration/v1beta1/apiservicePatch.js.map +1 -0
  46. package/apiregistration/v1beta1/index.d.ts +1 -0
  47. package/apiregistration/v1beta1/index.js +4 -0
  48. package/apiregistration/v1beta1/index.js.map +1 -1
  49. package/apps/v1/controllerRevisionPatch.d.ts +74 -0
  50. package/apps/v1/controllerRevisionPatch.js +69 -0
  51. package/apps/v1/controllerRevisionPatch.js.map +1 -0
  52. package/apps/v1/daemonSetPatch.d.ts +70 -0
  53. package/apps/v1/daemonSetPatch.js +69 -0
  54. package/apps/v1/daemonSetPatch.js.map +1 -0
  55. package/apps/v1/deployment.d.ts +5 -6
  56. package/apps/v1/deployment.js +5 -6
  57. package/apps/v1/deployment.js.map +1 -1
  58. package/apps/v1/deploymentPatch.d.ts +92 -0
  59. package/apps/v1/deploymentPatch.js +91 -0
  60. package/apps/v1/deploymentPatch.js.map +1 -0
  61. package/apps/v1/index.d.ts +5 -0
  62. package/apps/v1/index.js +20 -0
  63. package/apps/v1/index.js.map +1 -1
  64. package/apps/v1/replicaSetPatch.d.ts +70 -0
  65. package/apps/v1/replicaSetPatch.js +69 -0
  66. package/apps/v1/replicaSetPatch.js.map +1 -0
  67. package/apps/v1/statefulSet.d.ts +52 -55
  68. package/apps/v1/statefulSet.js +52 -55
  69. package/apps/v1/statefulSet.js.map +1 -1
  70. package/apps/v1/statefulSetPatch.d.ts +86 -0
  71. package/apps/v1/statefulSetPatch.js +85 -0
  72. package/apps/v1/statefulSetPatch.js.map +1 -0
  73. package/apps/v1beta1/controllerRevisionPatch.d.ts +77 -0
  74. package/apps/v1beta1/controllerRevisionPatch.js +72 -0
  75. package/apps/v1beta1/controllerRevisionPatch.js.map +1 -0
  76. package/apps/v1beta1/deploymentPatch.d.ts +95 -0
  77. package/apps/v1beta1/deploymentPatch.js +94 -0
  78. package/apps/v1beta1/deploymentPatch.js.map +1 -0
  79. package/apps/v1beta1/index.d.ts +3 -0
  80. package/apps/v1beta1/index.js +12 -0
  81. package/apps/v1beta1/index.js.map +1 -1
  82. package/apps/v1beta1/statefulSetPatch.d.ts +83 -0
  83. package/apps/v1beta1/statefulSetPatch.js +88 -0
  84. package/apps/v1beta1/statefulSetPatch.js.map +1 -0
  85. package/apps/v1beta2/controllerRevisionPatch.d.ts +77 -0
  86. package/apps/v1beta2/controllerRevisionPatch.js +72 -0
  87. package/apps/v1beta2/controllerRevisionPatch.js.map +1 -0
  88. package/apps/v1beta2/daemonSetPatch.d.ts +73 -0
  89. package/apps/v1beta2/daemonSetPatch.js +72 -0
  90. package/apps/v1beta2/daemonSetPatch.js.map +1 -0
  91. package/apps/v1beta2/deploymentPatch.d.ts +95 -0
  92. package/apps/v1beta2/deploymentPatch.js +94 -0
  93. package/apps/v1beta2/deploymentPatch.js.map +1 -0
  94. package/apps/v1beta2/index.d.ts +5 -0
  95. package/apps/v1beta2/index.js +20 -0
  96. package/apps/v1beta2/index.js.map +1 -1
  97. package/apps/v1beta2/replicaSetPatch.d.ts +73 -0
  98. package/apps/v1beta2/replicaSetPatch.js +72 -0
  99. package/apps/v1beta2/replicaSetPatch.js.map +1 -0
  100. package/apps/v1beta2/statefulSetPatch.d.ts +83 -0
  101. package/apps/v1beta2/statefulSetPatch.js +88 -0
  102. package/apps/v1beta2/statefulSetPatch.js.map +1 -0
  103. package/auditregistration/v1alpha1/auditSinkPatch.d.ts +60 -0
  104. package/auditregistration/v1alpha1/auditSinkPatch.js +65 -0
  105. package/auditregistration/v1alpha1/auditSinkPatch.js.map +1 -0
  106. package/auditregistration/v1alpha1/index.d.ts +1 -0
  107. package/auditregistration/v1alpha1/index.js +4 -0
  108. package/auditregistration/v1alpha1/index.js.map +1 -1
  109. package/authentication/v1/index.d.ts +2 -0
  110. package/authentication/v1/index.js +8 -0
  111. package/authentication/v1/index.js.map +1 -1
  112. package/authentication/v1/tokenRequestPatch.d.ts +70 -0
  113. package/authentication/v1/tokenRequestPatch.js +67 -0
  114. package/authentication/v1/tokenRequestPatch.js.map +1 -0
  115. package/authentication/v1/tokenReviewPatch.d.ts +70 -0
  116. package/authentication/v1/tokenReviewPatch.js +69 -0
  117. package/authentication/v1/tokenReviewPatch.js.map +1 -0
  118. package/authentication/v1beta1/index.d.ts +1 -0
  119. package/authentication/v1beta1/index.js +4 -0
  120. package/authentication/v1beta1/index.js.map +1 -1
  121. package/authentication/v1beta1/tokenReviewPatch.d.ts +64 -0
  122. package/authentication/v1beta1/tokenReviewPatch.js +69 -0
  123. package/authentication/v1beta1/tokenReviewPatch.js.map +1 -0
  124. package/authorization/v1/index.d.ts +4 -0
  125. package/authorization/v1/index.js +16 -0
  126. package/authorization/v1/index.js.map +1 -1
  127. package/authorization/v1/localSubjectAccessReviewPatch.d.ts +70 -0
  128. package/authorization/v1/localSubjectAccessReviewPatch.js +69 -0
  129. package/authorization/v1/localSubjectAccessReviewPatch.js.map +1 -0
  130. package/authorization/v1/selfSubjectAccessReviewPatch.d.ts +70 -0
  131. package/authorization/v1/selfSubjectAccessReviewPatch.js +69 -0
  132. package/authorization/v1/selfSubjectAccessReviewPatch.js.map +1 -0
  133. package/authorization/v1/selfSubjectRulesReviewPatch.d.ts +70 -0
  134. package/authorization/v1/selfSubjectRulesReviewPatch.js +69 -0
  135. package/authorization/v1/selfSubjectRulesReviewPatch.js.map +1 -0
  136. package/authorization/v1/subjectAccessReviewPatch.d.ts +70 -0
  137. package/authorization/v1/subjectAccessReviewPatch.js +69 -0
  138. package/authorization/v1/subjectAccessReviewPatch.js.map +1 -0
  139. package/authorization/v1beta1/index.d.ts +4 -0
  140. package/authorization/v1beta1/index.js +16 -0
  141. package/authorization/v1beta1/index.js.map +1 -1
  142. package/authorization/v1beta1/localSubjectAccessReviewPatch.d.ts +64 -0
  143. package/authorization/v1beta1/localSubjectAccessReviewPatch.js +69 -0
  144. package/authorization/v1beta1/localSubjectAccessReviewPatch.js.map +1 -0
  145. package/authorization/v1beta1/selfSubjectAccessReviewPatch.d.ts +64 -0
  146. package/authorization/v1beta1/selfSubjectAccessReviewPatch.js +69 -0
  147. package/authorization/v1beta1/selfSubjectAccessReviewPatch.js.map +1 -0
  148. package/authorization/v1beta1/selfSubjectRulesReviewPatch.d.ts +64 -0
  149. package/authorization/v1beta1/selfSubjectRulesReviewPatch.js +69 -0
  150. package/authorization/v1beta1/selfSubjectRulesReviewPatch.js.map +1 -0
  151. package/authorization/v1beta1/subjectAccessReviewPatch.d.ts +64 -0
  152. package/authorization/v1beta1/subjectAccessReviewPatch.js +69 -0
  153. package/authorization/v1beta1/subjectAccessReviewPatch.js.map +1 -0
  154. package/autoscaling/v1/horizontalPodAutoscalerPatch.d.ts +70 -0
  155. package/autoscaling/v1/horizontalPodAutoscalerPatch.js +69 -0
  156. package/autoscaling/v1/horizontalPodAutoscalerPatch.js.map +1 -0
  157. package/autoscaling/v1/index.d.ts +1 -0
  158. package/autoscaling/v1/index.js +4 -0
  159. package/autoscaling/v1/index.js.map +1 -1
  160. package/autoscaling/v2/horizontalPodAutoscalerPatch.d.ts +70 -0
  161. package/autoscaling/v2/horizontalPodAutoscalerPatch.js +69 -0
  162. package/autoscaling/v2/horizontalPodAutoscalerPatch.js.map +1 -0
  163. package/autoscaling/v2/index.d.ts +1 -0
  164. package/autoscaling/v2/index.js +4 -0
  165. package/autoscaling/v2/index.js.map +1 -1
  166. package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.d.ts +70 -0
  167. package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.js +69 -0
  168. package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.js.map +1 -0
  169. package/autoscaling/v2beta1/index.d.ts +1 -0
  170. package/autoscaling/v2beta1/index.js +4 -0
  171. package/autoscaling/v2beta1/index.js.map +1 -1
  172. package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.d.ts +70 -0
  173. package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.js +69 -0
  174. package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.js.map +1 -0
  175. package/autoscaling/v2beta2/index.d.ts +1 -0
  176. package/autoscaling/v2beta2/index.js +4 -0
  177. package/autoscaling/v2beta2/index.js.map +1 -1
  178. package/batch/v1/cronJobPatch.d.ts +70 -0
  179. package/batch/v1/cronJobPatch.js +69 -0
  180. package/batch/v1/cronJobPatch.js.map +1 -0
  181. package/batch/v1/index.d.ts +2 -0
  182. package/batch/v1/index.js +8 -0
  183. package/batch/v1/index.js.map +1 -1
  184. package/batch/v1/job.d.ts +9 -9
  185. package/batch/v1/job.js +9 -9
  186. package/batch/v1/jobPatch.d.ts +90 -0
  187. package/batch/v1/jobPatch.js +87 -0
  188. package/batch/v1/jobPatch.js.map +1 -0
  189. package/batch/v1beta1/cronJobPatch.d.ts +70 -0
  190. package/batch/v1beta1/cronJobPatch.js +69 -0
  191. package/batch/v1beta1/cronJobPatch.js.map +1 -0
  192. package/batch/v1beta1/index.d.ts +1 -0
  193. package/batch/v1beta1/index.js +4 -0
  194. package/batch/v1beta1/index.js.map +1 -1
  195. package/batch/v2alpha1/cronJobPatch.d.ts +70 -0
  196. package/batch/v2alpha1/cronJobPatch.js +69 -0
  197. package/batch/v2alpha1/cronJobPatch.js.map +1 -0
  198. package/batch/v2alpha1/index.d.ts +1 -0
  199. package/batch/v2alpha1/index.js +4 -0
  200. package/batch/v2alpha1/index.js.map +1 -1
  201. package/certificates/v1/certificateSigningRequestPatch.d.ts +70 -0
  202. package/certificates/v1/certificateSigningRequestPatch.js +75 -0
  203. package/certificates/v1/certificateSigningRequestPatch.js.map +1 -0
  204. package/certificates/v1/index.d.ts +1 -0
  205. package/certificates/v1/index.js +4 -0
  206. package/certificates/v1/index.js.map +1 -1
  207. package/certificates/v1beta1/certificateSigningRequestPatch.d.ts +64 -0
  208. package/certificates/v1beta1/certificateSigningRequestPatch.js +69 -0
  209. package/certificates/v1beta1/certificateSigningRequestPatch.js.map +1 -0
  210. package/certificates/v1beta1/index.d.ts +1 -0
  211. package/certificates/v1beta1/index.js +4 -0
  212. package/certificates/v1beta1/index.js.map +1 -1
  213. package/coordination/v1/index.d.ts +1 -0
  214. package/coordination/v1/index.js +4 -0
  215. package/coordination/v1/index.js.map +1 -1
  216. package/coordination/v1/leasePatch.d.ts +66 -0
  217. package/coordination/v1/leasePatch.js +67 -0
  218. package/coordination/v1/leasePatch.js.map +1 -0
  219. package/coordination/v1beta1/index.d.ts +1 -0
  220. package/coordination/v1beta1/index.js +4 -0
  221. package/coordination/v1beta1/index.js.map +1 -1
  222. package/coordination/v1beta1/leasePatch.d.ts +66 -0
  223. package/coordination/v1beta1/leasePatch.js +67 -0
  224. package/coordination/v1beta1/leasePatch.js.map +1 -0
  225. package/core/v1/bindingPatch.d.ts +66 -0
  226. package/core/v1/bindingPatch.js +65 -0
  227. package/core/v1/bindingPatch.js.map +1 -0
  228. package/core/v1/configMapPatch.d.ts +90 -0
  229. package/core/v1/configMapPatch.js +69 -0
  230. package/core/v1/configMapPatch.js.map +1 -0
  231. package/core/v1/endpointsPatch.d.ts +77 -0
  232. package/core/v1/endpointsPatch.js +76 -0
  233. package/core/v1/endpointsPatch.js.map +1 -0
  234. package/core/v1/eventPatch.d.ts +170 -0
  235. package/core/v1/eventPatch.js +93 -0
  236. package/core/v1/eventPatch.js.map +1 -0
  237. package/core/v1/index.d.ts +16 -0
  238. package/core/v1/index.js +64 -0
  239. package/core/v1/index.js.map +1 -1
  240. package/core/v1/limitRangePatch.d.ts +66 -0
  241. package/core/v1/limitRangePatch.js +65 -0
  242. package/core/v1/limitRangePatch.js.map +1 -0
  243. package/core/v1/namespacePatch.d.ts +70 -0
  244. package/core/v1/namespacePatch.js +67 -0
  245. package/core/v1/namespacePatch.js.map +1 -0
  246. package/core/v1/nodePatch.d.ts +70 -0
  247. package/core/v1/nodePatch.js +67 -0
  248. package/core/v1/nodePatch.js.map +1 -0
  249. package/core/v1/persistentVolumeClaimPatch.d.ts +70 -0
  250. package/core/v1/persistentVolumeClaimPatch.js +67 -0
  251. package/core/v1/persistentVolumeClaimPatch.js.map +1 -0
  252. package/core/v1/persistentVolumePatch.d.ts +70 -0
  253. package/core/v1/persistentVolumePatch.js +67 -0
  254. package/core/v1/persistentVolumePatch.js.map +1 -0
  255. package/core/v1/pod.d.ts +10 -13
  256. package/core/v1/pod.js +10 -13
  257. package/core/v1/pod.js.map +1 -1
  258. package/core/v1/podPatch.d.ts +85 -0
  259. package/core/v1/podPatch.js +82 -0
  260. package/core/v1/podPatch.js.map +1 -0
  261. package/core/v1/podTemplatePatch.d.ts +66 -0
  262. package/core/v1/podTemplatePatch.js +65 -0
  263. package/core/v1/podTemplatePatch.js.map +1 -0
  264. package/core/v1/replicationControllerPatch.d.ts +70 -0
  265. package/core/v1/replicationControllerPatch.js +67 -0
  266. package/core/v1/replicationControllerPatch.js.map +1 -0
  267. package/core/v1/resourceQuotaPatch.d.ts +70 -0
  268. package/core/v1/resourceQuotaPatch.js +67 -0
  269. package/core/v1/resourceQuotaPatch.js.map +1 -0
  270. package/core/v1/secretPatch.d.ts +108 -0
  271. package/core/v1/secretPatch.js +81 -0
  272. package/core/v1/secretPatch.js.map +1 -0
  273. package/core/v1/service.d.ts +14 -17
  274. package/core/v1/service.js +14 -17
  275. package/core/v1/service.js.map +1 -1
  276. package/core/v1/serviceAccountPatch.d.ts +82 -0
  277. package/core/v1/serviceAccountPatch.js +69 -0
  278. package/core/v1/serviceAccountPatch.js.map +1 -0
  279. package/core/v1/servicePatch.d.ts +95 -0
  280. package/core/v1/servicePatch.js +92 -0
  281. package/core/v1/servicePatch.js.map +1 -0
  282. package/discovery/v1/endpointSlicePatch.d.ts +82 -0
  283. package/discovery/v1/endpointSlicePatch.js +71 -0
  284. package/discovery/v1/endpointSlicePatch.js.map +1 -0
  285. package/discovery/v1/index.d.ts +1 -0
  286. package/discovery/v1/index.js +4 -0
  287. package/discovery/v1/index.js.map +1 -1
  288. package/discovery/v1beta1/endpointSlicePatch.d.ts +82 -0
  289. package/discovery/v1beta1/endpointSlicePatch.js +71 -0
  290. package/discovery/v1beta1/endpointSlicePatch.js.map +1 -0
  291. package/discovery/v1beta1/index.d.ts +1 -0
  292. package/discovery/v1beta1/index.js +4 -0
  293. package/discovery/v1beta1/index.js.map +1 -1
  294. package/events/v1/eventPatch.d.ts +170 -0
  295. package/events/v1/eventPatch.js +93 -0
  296. package/events/v1/eventPatch.js.map +1 -0
  297. package/events/v1/index.d.ts +1 -0
  298. package/events/v1/index.js +4 -0
  299. package/events/v1/index.js.map +1 -1
  300. package/events/v1beta1/eventPatch.d.ts +170 -0
  301. package/events/v1beta1/eventPatch.js +93 -0
  302. package/events/v1beta1/eventPatch.js.map +1 -0
  303. package/events/v1beta1/index.d.ts +1 -0
  304. package/events/v1beta1/index.js +4 -0
  305. package/events/v1beta1/index.js.map +1 -1
  306. package/extensions/v1beta1/daemonSetPatch.d.ts +73 -0
  307. package/extensions/v1beta1/daemonSetPatch.js +72 -0
  308. package/extensions/v1beta1/daemonSetPatch.js.map +1 -0
  309. package/extensions/v1beta1/deploymentPatch.d.ts +95 -0
  310. package/extensions/v1beta1/deploymentPatch.js +94 -0
  311. package/extensions/v1beta1/deploymentPatch.js.map +1 -0
  312. package/extensions/v1beta1/index.d.ts +6 -0
  313. package/extensions/v1beta1/index.js +24 -0
  314. package/extensions/v1beta1/index.js.map +1 -1
  315. package/extensions/v1beta1/ingressPatch.d.ts +87 -0
  316. package/extensions/v1beta1/ingressPatch.js +86 -0
  317. package/extensions/v1beta1/ingressPatch.js.map +1 -0
  318. package/extensions/v1beta1/networkPolicyPatch.d.ts +66 -0
  319. package/extensions/v1beta1/networkPolicyPatch.js +67 -0
  320. package/extensions/v1beta1/networkPolicyPatch.js.map +1 -0
  321. package/extensions/v1beta1/podSecurityPolicyPatch.d.ts +66 -0
  322. package/extensions/v1beta1/podSecurityPolicyPatch.js +67 -0
  323. package/extensions/v1beta1/podSecurityPolicyPatch.js.map +1 -0
  324. package/extensions/v1beta1/replicaSetPatch.d.ts +73 -0
  325. package/extensions/v1beta1/replicaSetPatch.js +72 -0
  326. package/extensions/v1beta1/replicaSetPatch.js.map +1 -0
  327. package/flowcontrol/v1alpha1/flowSchemaPatch.d.ts +70 -0
  328. package/flowcontrol/v1alpha1/flowSchemaPatch.js +69 -0
  329. package/flowcontrol/v1alpha1/flowSchemaPatch.js.map +1 -0
  330. package/flowcontrol/v1alpha1/index.d.ts +2 -0
  331. package/flowcontrol/v1alpha1/index.js +8 -0
  332. package/flowcontrol/v1alpha1/index.js.map +1 -1
  333. package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.d.ts +70 -0
  334. package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js +69 -0
  335. package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js.map +1 -0
  336. package/flowcontrol/v1beta1/flowSchemaPatch.d.ts +70 -0
  337. package/flowcontrol/v1beta1/flowSchemaPatch.js +69 -0
  338. package/flowcontrol/v1beta1/flowSchemaPatch.js.map +1 -0
  339. package/flowcontrol/v1beta1/index.d.ts +2 -0
  340. package/flowcontrol/v1beta1/index.js +8 -0
  341. package/flowcontrol/v1beta1/index.js.map +1 -1
  342. package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.d.ts +70 -0
  343. package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js +69 -0
  344. package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js.map +1 -0
  345. package/flowcontrol/v1beta2/flowSchemaPatch.d.ts +70 -0
  346. package/flowcontrol/v1beta2/flowSchemaPatch.js +69 -0
  347. package/flowcontrol/v1beta2/flowSchemaPatch.js.map +1 -0
  348. package/flowcontrol/v1beta2/index.d.ts +2 -0
  349. package/flowcontrol/v1beta2/index.js +8 -0
  350. package/flowcontrol/v1beta2/index.js.map +1 -1
  351. package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.d.ts +70 -0
  352. package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js +69 -0
  353. package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js.map +1 -0
  354. package/meta/v1/index.d.ts +1 -0
  355. package/meta/v1/index.js +4 -0
  356. package/meta/v1/index.js.map +1 -1
  357. package/meta/v1/statusPatch.d.ts +94 -0
  358. package/meta/v1/statusPatch.js +73 -0
  359. package/meta/v1/statusPatch.js.map +1 -0
  360. package/networking/v1/index.d.ts +3 -0
  361. package/networking/v1/index.js +12 -0
  362. package/networking/v1/index.js.map +1 -1
  363. package/networking/v1/ingress.d.ts +7 -8
  364. package/networking/v1/ingress.js +7 -8
  365. package/networking/v1/ingress.js.map +1 -1
  366. package/networking/v1/ingressClassPatch.d.ts +66 -0
  367. package/networking/v1/ingressClassPatch.js +67 -0
  368. package/networking/v1/ingressClassPatch.js.map +1 -0
  369. package/networking/v1/ingressPatch.d.ts +84 -0
  370. package/networking/v1/ingressPatch.js +83 -0
  371. package/networking/v1/ingressPatch.js.map +1 -0
  372. package/networking/v1/networkPolicyPatch.d.ts +70 -0
  373. package/networking/v1/networkPolicyPatch.js +69 -0
  374. package/networking/v1/networkPolicyPatch.js.map +1 -0
  375. package/networking/v1beta1/index.d.ts +2 -0
  376. package/networking/v1beta1/index.js +8 -0
  377. package/networking/v1beta1/index.js.map +1 -1
  378. package/networking/v1beta1/ingressClassPatch.d.ts +66 -0
  379. package/networking/v1beta1/ingressClassPatch.js +67 -0
  380. package/networking/v1beta1/ingressClassPatch.js.map +1 -0
  381. package/networking/v1beta1/ingressPatch.d.ts +84 -0
  382. package/networking/v1beta1/ingressPatch.js +83 -0
  383. package/networking/v1beta1/ingressPatch.js.map +1 -0
  384. package/node/v1/index.d.ts +1 -0
  385. package/node/v1/index.js +4 -0
  386. package/node/v1/index.js.map +1 -1
  387. package/node/v1/runtimeClassPatch.d.ts +84 -0
  388. package/node/v1/runtimeClassPatch.js +71 -0
  389. package/node/v1/runtimeClassPatch.js.map +1 -0
  390. package/node/v1alpha1/index.d.ts +1 -0
  391. package/node/v1alpha1/index.js +4 -0
  392. package/node/v1alpha1/index.js.map +1 -1
  393. package/node/v1alpha1/runtimeClassPatch.d.ts +66 -0
  394. package/node/v1alpha1/runtimeClassPatch.js +67 -0
  395. package/node/v1alpha1/runtimeClassPatch.js.map +1 -0
  396. package/node/v1beta1/index.d.ts +1 -0
  397. package/node/v1beta1/index.js +4 -0
  398. package/node/v1beta1/index.js.map +1 -1
  399. package/node/v1beta1/runtimeClassPatch.d.ts +82 -0
  400. package/node/v1beta1/runtimeClassPatch.js +71 -0
  401. package/node/v1beta1/runtimeClassPatch.js.map +1 -0
  402. package/package.json +3 -3
  403. package/package.json.bak +1 -1
  404. package/package.json.dev +3 -3
  405. package/policy/v1/index.d.ts +1 -0
  406. package/policy/v1/index.js +4 -0
  407. package/policy/v1/index.js.map +1 -1
  408. package/policy/v1/podDisruptionBudgetPatch.d.ts +70 -0
  409. package/policy/v1/podDisruptionBudgetPatch.js +69 -0
  410. package/policy/v1/podDisruptionBudgetPatch.js.map +1 -0
  411. package/policy/v1beta1/index.d.ts +2 -0
  412. package/policy/v1beta1/index.js +8 -0
  413. package/policy/v1beta1/index.js.map +1 -1
  414. package/policy/v1beta1/podDisruptionBudgetPatch.d.ts +70 -0
  415. package/policy/v1beta1/podDisruptionBudgetPatch.js +69 -0
  416. package/policy/v1beta1/podDisruptionBudgetPatch.js.map +1 -0
  417. package/policy/v1beta1/podSecurityPolicyPatch.d.ts +66 -0
  418. package/policy/v1beta1/podSecurityPolicyPatch.js +67 -0
  419. package/policy/v1beta1/podSecurityPolicyPatch.js.map +1 -0
  420. package/provider.d.ts +9 -2
  421. package/provider.js +5 -4
  422. package/provider.js.map +1 -1
  423. package/rbac/v1/clusterRoleBindingPatch.d.ts +74 -0
  424. package/rbac/v1/clusterRoleBindingPatch.js +69 -0
  425. package/rbac/v1/clusterRoleBindingPatch.js.map +1 -0
  426. package/rbac/v1/clusterRolePatch.d.ts +74 -0
  427. package/rbac/v1/clusterRolePatch.js +69 -0
  428. package/rbac/v1/clusterRolePatch.js.map +1 -0
  429. package/rbac/v1/index.d.ts +4 -0
  430. package/rbac/v1/index.js +16 -0
  431. package/rbac/v1/index.js.map +1 -1
  432. package/rbac/v1/roleBindingPatch.d.ts +74 -0
  433. package/rbac/v1/roleBindingPatch.js +69 -0
  434. package/rbac/v1/roleBindingPatch.js.map +1 -0
  435. package/rbac/v1/rolePatch.d.ts +66 -0
  436. package/rbac/v1/rolePatch.js +67 -0
  437. package/rbac/v1/rolePatch.js.map +1 -0
  438. package/rbac/v1alpha1/clusterRoleBindingPatch.d.ts +74 -0
  439. package/rbac/v1alpha1/clusterRoleBindingPatch.js +69 -0
  440. package/rbac/v1alpha1/clusterRoleBindingPatch.js.map +1 -0
  441. package/rbac/v1alpha1/clusterRolePatch.d.ts +74 -0
  442. package/rbac/v1alpha1/clusterRolePatch.js +69 -0
  443. package/rbac/v1alpha1/clusterRolePatch.js.map +1 -0
  444. package/rbac/v1alpha1/index.d.ts +4 -0
  445. package/rbac/v1alpha1/index.js +16 -0
  446. package/rbac/v1alpha1/index.js.map +1 -1
  447. package/rbac/v1alpha1/roleBindingPatch.d.ts +74 -0
  448. package/rbac/v1alpha1/roleBindingPatch.js +69 -0
  449. package/rbac/v1alpha1/roleBindingPatch.js.map +1 -0
  450. package/rbac/v1alpha1/rolePatch.d.ts +66 -0
  451. package/rbac/v1alpha1/rolePatch.js +67 -0
  452. package/rbac/v1alpha1/rolePatch.js.map +1 -0
  453. package/rbac/v1beta1/clusterRoleBindingPatch.d.ts +74 -0
  454. package/rbac/v1beta1/clusterRoleBindingPatch.js +69 -0
  455. package/rbac/v1beta1/clusterRoleBindingPatch.js.map +1 -0
  456. package/rbac/v1beta1/clusterRolePatch.d.ts +74 -0
  457. package/rbac/v1beta1/clusterRolePatch.js +69 -0
  458. package/rbac/v1beta1/clusterRolePatch.js.map +1 -0
  459. package/rbac/v1beta1/index.d.ts +4 -0
  460. package/rbac/v1beta1/index.js +16 -0
  461. package/rbac/v1beta1/index.js.map +1 -1
  462. package/rbac/v1beta1/roleBindingPatch.d.ts +74 -0
  463. package/rbac/v1beta1/roleBindingPatch.js +69 -0
  464. package/rbac/v1beta1/roleBindingPatch.js.map +1 -0
  465. package/rbac/v1beta1/rolePatch.d.ts +66 -0
  466. package/rbac/v1beta1/rolePatch.js +67 -0
  467. package/rbac/v1beta1/rolePatch.js.map +1 -0
  468. package/scheduling/v1/index.d.ts +1 -0
  469. package/scheduling/v1/index.js +4 -0
  470. package/scheduling/v1/index.js.map +1 -1
  471. package/scheduling/v1/priorityClassPatch.d.ts +90 -0
  472. package/scheduling/v1/priorityClassPatch.js +73 -0
  473. package/scheduling/v1/priorityClassPatch.js.map +1 -0
  474. package/scheduling/v1alpha1/index.d.ts +1 -0
  475. package/scheduling/v1alpha1/index.js +4 -0
  476. package/scheduling/v1alpha1/index.js.map +1 -1
  477. package/scheduling/v1alpha1/priorityClassPatch.d.ts +90 -0
  478. package/scheduling/v1alpha1/priorityClassPatch.js +73 -0
  479. package/scheduling/v1alpha1/priorityClassPatch.js.map +1 -0
  480. package/scheduling/v1beta1/index.d.ts +1 -0
  481. package/scheduling/v1beta1/index.js +4 -0
  482. package/scheduling/v1beta1/index.js.map +1 -1
  483. package/scheduling/v1beta1/priorityClassPatch.d.ts +90 -0
  484. package/scheduling/v1beta1/priorityClassPatch.js +73 -0
  485. package/scheduling/v1beta1/priorityClassPatch.js.map +1 -0
  486. package/settings/v1alpha1/index.d.ts +1 -0
  487. package/settings/v1alpha1/index.js +4 -0
  488. package/settings/v1alpha1/index.js.map +1 -1
  489. package/settings/v1alpha1/podPresetPatch.d.ts +54 -0
  490. package/settings/v1alpha1/podPresetPatch.js +65 -0
  491. package/settings/v1alpha1/podPresetPatch.js.map +1 -0
  492. package/storage/v1/csidriverPatch.d.ts +66 -0
  493. package/storage/v1/csidriverPatch.js +67 -0
  494. package/storage/v1/csidriverPatch.js.map +1 -0
  495. package/storage/v1/csinodePatch.d.ts +66 -0
  496. package/storage/v1/csinodePatch.js +67 -0
  497. package/storage/v1/csinodePatch.js.map +1 -0
  498. package/storage/v1/csistorageCapacityPatch.d.ts +114 -0
  499. package/storage/v1/csistorageCapacityPatch.js +81 -0
  500. package/storage/v1/csistorageCapacityPatch.js.map +1 -0
  501. package/storage/v1/index.d.ts +5 -0
  502. package/storage/v1/index.js +20 -0
  503. package/storage/v1/index.js.map +1 -1
  504. package/storage/v1/storageClassPatch.d.ts +120 -0
  505. package/storage/v1/storageClassPatch.js +81 -0
  506. package/storage/v1/storageClassPatch.js.map +1 -0
  507. package/storage/v1/volumeAttachmentPatch.d.ts +72 -0
  508. package/storage/v1/volumeAttachmentPatch.js +71 -0
  509. package/storage/v1/volumeAttachmentPatch.js.map +1 -0
  510. package/storage/v1alpha1/index.d.ts +1 -0
  511. package/storage/v1alpha1/index.js +4 -0
  512. package/storage/v1alpha1/index.js.map +1 -1
  513. package/storage/v1alpha1/volumeAttachmentPatch.d.ts +72 -0
  514. package/storage/v1alpha1/volumeAttachmentPatch.js +71 -0
  515. package/storage/v1alpha1/volumeAttachmentPatch.js.map +1 -0
  516. package/storage/v1beta1/csidriverPatch.d.ts +66 -0
  517. package/storage/v1beta1/csidriverPatch.js +67 -0
  518. package/storage/v1beta1/csidriverPatch.js.map +1 -0
  519. package/storage/v1beta1/csinodePatch.d.ts +69 -0
  520. package/storage/v1beta1/csinodePatch.js +70 -0
  521. package/storage/v1beta1/csinodePatch.js.map +1 -0
  522. package/storage/v1beta1/csistorageCapacityPatch.d.ts +114 -0
  523. package/storage/v1beta1/csistorageCapacityPatch.js +81 -0
  524. package/storage/v1beta1/csistorageCapacityPatch.js.map +1 -0
  525. package/storage/v1beta1/index.d.ts +5 -0
  526. package/storage/v1beta1/index.js +20 -0
  527. package/storage/v1beta1/index.js.map +1 -1
  528. package/storage/v1beta1/storageClassPatch.d.ts +120 -0
  529. package/storage/v1beta1/storageClassPatch.js +81 -0
  530. package/storage/v1beta1/storageClassPatch.js.map +1 -0
  531. package/storage/v1beta1/volumeAttachmentPatch.d.ts +72 -0
  532. package/storage/v1beta1/volumeAttachmentPatch.js +71 -0
  533. package/storage/v1beta1/volumeAttachmentPatch.js.map +1 -0
  534. package/types/input.d.ts +9853 -301
  535. package/types/output.d.ts +17100 -4451
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RoleBindingPatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
10
+ */
11
+ class RoleBindingPatch extends pulumi.CustomResource {
12
+ /**
13
+ * Create a RoleBindingPatch resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.metadata === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'metadata'");
25
+ }
26
+ resourceInputs["apiVersion"] = "rbac.authorization.k8s.io/v1";
27
+ resourceInputs["kind"] = "RoleBinding";
28
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
29
+ resourceInputs["roleRef"] = args ? args.roleRef : undefined;
30
+ resourceInputs["subjects"] = args ? args.subjects : undefined;
31
+ }
32
+ else {
33
+ resourceInputs["apiVersion"] = undefined /*out*/;
34
+ resourceInputs["kind"] = undefined /*out*/;
35
+ resourceInputs["metadata"] = undefined /*out*/;
36
+ resourceInputs["roleRef"] = undefined /*out*/;
37
+ resourceInputs["subjects"] = undefined /*out*/;
38
+ }
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
40
+ const aliasOpts = { aliases: [{ type: "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingPatch" }, { type: "kubernetes:rbac.authorization.k8s.io/v1beta1:RoleBindingPatch" }] };
41
+ opts = pulumi.mergeOptions(opts, aliasOpts);
42
+ super(RoleBindingPatch.__pulumiType, name, resourceInputs, opts);
43
+ }
44
+ /**
45
+ * Get an existing RoleBindingPatch resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name, id, opts) {
53
+ return new RoleBindingPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
54
+ }
55
+ /**
56
+ * Returns true if the given object is an instance of RoleBindingPatch. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === RoleBindingPatch.__pulumiType;
64
+ }
65
+ }
66
+ exports.RoleBindingPatch = RoleBindingPatch;
67
+ /** @internal */
68
+ RoleBindingPatch.__pulumiType = 'kubernetes:rbac.authorization.k8s.io/v1:RoleBindingPatch';
69
+ //# sourceMappingURL=roleBindingPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roleBindingPatch.js","sourceRoot":"","sources":["../../../rbac/v1/roleBindingPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAgDvD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,8BAA8B,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC;YACvC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,gEAAgE,EAAE,EAAE,EAAE,IAAI,EAAE,+DAA+D,EAAE,CAAC,EAAE,CAAC;QACvL,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IA7ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AAzBL,4CA+EC;AAlEG,gBAAgB;AACO,6BAAY,GAAG,0DAA0D,CAAC"}
@@ -0,0 +1,66 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
5
+ */
6
+ export declare class RolePatch extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing RolePatch resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RolePatch;
16
+ /**
17
+ * Returns true if the given object is an instance of RolePatch. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is RolePatch;
21
+ /**
22
+ * 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
23
+ */
24
+ readonly apiVersion: pulumi.Output<"rbac.authorization.k8s.io/v1">;
25
+ /**
26
+ * 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
27
+ */
28
+ readonly kind: pulumi.Output<"Role">;
29
+ /**
30
+ * Standard object's metadata.
31
+ */
32
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
33
+ /**
34
+ * Rules holds all the PolicyRules for this Role
35
+ */
36
+ readonly rules: pulumi.Output<outputs.rbac.v1.PolicyRulePatch[]>;
37
+ /**
38
+ * Create a RolePatch resource with the given unique name, arguments, and options.
39
+ *
40
+ * @param name The _unique_ name of the resource.
41
+ * @param args The arguments to use to populate this resource's properties.
42
+ * @param opts A bag of options that control this resource's behavior.
43
+ */
44
+ constructor(name: string, args?: RolePatchArgs, opts?: pulumi.CustomResourceOptions);
45
+ }
46
+ /**
47
+ * The set of arguments for constructing a RolePatch resource.
48
+ */
49
+ export interface RolePatchArgs {
50
+ /**
51
+ * 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
52
+ */
53
+ apiVersion?: pulumi.Input<"rbac.authorization.k8s.io/v1">;
54
+ /**
55
+ * 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
56
+ */
57
+ kind?: pulumi.Input<"Role">;
58
+ /**
59
+ * Standard object's metadata.
60
+ */
61
+ metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
62
+ /**
63
+ * Rules holds all the PolicyRules for this Role
64
+ */
65
+ rules?: pulumi.Input<pulumi.Input<inputs.rbac.v1.PolicyRulePatch>[]>;
66
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RolePatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
10
+ */
11
+ class RolePatch extends pulumi.CustomResource {
12
+ /**
13
+ * Create a RolePatch resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.metadata === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'metadata'");
25
+ }
26
+ resourceInputs["apiVersion"] = "rbac.authorization.k8s.io/v1";
27
+ resourceInputs["kind"] = "Role";
28
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
29
+ resourceInputs["rules"] = args ? args.rules : undefined;
30
+ }
31
+ else {
32
+ resourceInputs["apiVersion"] = undefined /*out*/;
33
+ resourceInputs["kind"] = undefined /*out*/;
34
+ resourceInputs["metadata"] = undefined /*out*/;
35
+ resourceInputs["rules"] = undefined /*out*/;
36
+ }
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
38
+ const aliasOpts = { aliases: [{ type: "kubernetes:rbac.authorization.k8s.io/v1alpha1:RolePatch" }, { type: "kubernetes:rbac.authorization.k8s.io/v1beta1:RolePatch" }] };
39
+ opts = pulumi.mergeOptions(opts, aliasOpts);
40
+ super(RolePatch.__pulumiType, name, resourceInputs, opts);
41
+ }
42
+ /**
43
+ * Get an existing RolePatch resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, opts) {
51
+ return new RolePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of RolePatch. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === RolePatch.__pulumiType;
62
+ }
63
+ }
64
+ exports.RolePatch = RolePatch;
65
+ /** @internal */
66
+ RolePatch.__pulumiType = 'kubernetes:rbac.authorization.k8s.io/v1:RolePatch';
67
+ //# sourceMappingURL=rolePatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rolePatch.js","sourceRoot":"","sources":["../../../rbac/v1/rolePatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA4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AC5C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAvED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AAzBL,8BAyEC;AA5DG,gBAAgB;AACO,sBAAY,GAAG,mDAAmD,CAAC"}
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.
5
+ */
6
+ export declare class ClusterRoleBindingPatch extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing ClusterRoleBindingPatch resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterRoleBindingPatch;
16
+ /**
17
+ * Returns true if the given object is an instance of ClusterRoleBindingPatch. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is ClusterRoleBindingPatch;
21
+ /**
22
+ * 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
23
+ */
24
+ readonly apiVersion: pulumi.Output<"rbac.authorization.k8s.io/v1alpha1">;
25
+ /**
26
+ * 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
27
+ */
28
+ readonly kind: pulumi.Output<"ClusterRoleBinding">;
29
+ /**
30
+ * Standard object's metadata.
31
+ */
32
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
33
+ /**
34
+ * RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
35
+ */
36
+ readonly roleRef: pulumi.Output<outputs.rbac.v1alpha1.RoleRefPatch>;
37
+ /**
38
+ * Subjects holds references to the objects the role applies to.
39
+ */
40
+ readonly subjects: pulumi.Output<outputs.rbac.v1alpha1.SubjectPatch[]>;
41
+ /**
42
+ * Create a ClusterRoleBindingPatch resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args?: ClusterRoleBindingPatchArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * The set of arguments for constructing a ClusterRoleBindingPatch resource.
52
+ */
53
+ export interface ClusterRoleBindingPatchArgs {
54
+ /**
55
+ * 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
56
+ */
57
+ apiVersion?: pulumi.Input<"rbac.authorization.k8s.io/v1alpha1">;
58
+ /**
59
+ * 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
60
+ */
61
+ kind?: pulumi.Input<"ClusterRoleBinding">;
62
+ /**
63
+ * Standard object's metadata.
64
+ */
65
+ metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
66
+ /**
67
+ * RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.
68
+ */
69
+ roleRef?: pulumi.Input<inputs.rbac.v1alpha1.RoleRefPatch>;
70
+ /**
71
+ * Subjects holds references to the objects the role applies to.
72
+ */
73
+ subjects?: pulumi.Input<pulumi.Input<inputs.rbac.v1alpha1.SubjectPatch>[]>;
74
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ClusterRoleBindingPatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.
10
+ */
11
+ class ClusterRoleBindingPatch extends pulumi.CustomResource {
12
+ /**
13
+ * Create a ClusterRoleBindingPatch resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.metadata === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'metadata'");
25
+ }
26
+ resourceInputs["apiVersion"] = "rbac.authorization.k8s.io/v1alpha1";
27
+ resourceInputs["kind"] = "ClusterRoleBinding";
28
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
29
+ resourceInputs["roleRef"] = args ? args.roleRef : undefined;
30
+ resourceInputs["subjects"] = args ? args.subjects : undefined;
31
+ }
32
+ else {
33
+ resourceInputs["apiVersion"] = undefined /*out*/;
34
+ resourceInputs["kind"] = undefined /*out*/;
35
+ resourceInputs["metadata"] = undefined /*out*/;
36
+ resourceInputs["roleRef"] = undefined /*out*/;
37
+ resourceInputs["subjects"] = undefined /*out*/;
38
+ }
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
40
+ const aliasOpts = { aliases: [{ type: "kubernetes:rbac.authorization.k8s.io/v1:ClusterRoleBindingPatch" }, { type: "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRoleBindingPatch" }] };
41
+ opts = pulumi.mergeOptions(opts, aliasOpts);
42
+ super(ClusterRoleBindingPatch.__pulumiType, name, resourceInputs, opts);
43
+ }
44
+ /**
45
+ * Get an existing ClusterRoleBindingPatch resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name, id, opts) {
53
+ return new ClusterRoleBindingPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
54
+ }
55
+ /**
56
+ * Returns true if the given object is an instance of ClusterRoleBindingPatch. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === ClusterRoleBindingPatch.__pulumiType;
64
+ }
65
+ }
66
+ exports.ClusterRoleBindingPatch = ClusterRoleBindingPatch;
67
+ /** @internal */
68
+ ClusterRoleBindingPatch.__pulumiType = 'kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingPatch';
69
+ //# sourceMappingURL=clusterRoleBindingPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clusterRoleBindingPatch.js","sourceRoot":"","sources":["../../../rbac/v1alpha1/clusterRoleBindingPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAgD9D;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,oBAAoB,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,iEAAiE,EAAE,EAAE,EAAE,IAAI,EAAE,sEAAsE,EAAE,CAAC,EAAE,CAAC;QAC/L,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IA7ED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AAzBL,0DA+EC;AAlEG,gBAAgB;AACO,oCAAY,GAAG,uEAAuE,CAAC"}
@@ -0,0 +1,74 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
5
+ */
6
+ export declare class ClusterRolePatch extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing ClusterRolePatch resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterRolePatch;
16
+ /**
17
+ * Returns true if the given object is an instance of ClusterRolePatch. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is ClusterRolePatch;
21
+ /**
22
+ * AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
23
+ */
24
+ readonly aggregationRule: pulumi.Output<outputs.rbac.v1alpha1.AggregationRulePatch>;
25
+ /**
26
+ * 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
27
+ */
28
+ readonly apiVersion: pulumi.Output<"rbac.authorization.k8s.io/v1alpha1">;
29
+ /**
30
+ * 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
31
+ */
32
+ readonly kind: pulumi.Output<"ClusterRole">;
33
+ /**
34
+ * Standard object's metadata.
35
+ */
36
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
37
+ /**
38
+ * Rules holds all the PolicyRules for this ClusterRole
39
+ */
40
+ readonly rules: pulumi.Output<outputs.rbac.v1alpha1.PolicyRulePatch[]>;
41
+ /**
42
+ * Create a ClusterRolePatch resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args?: ClusterRolePatchArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * The set of arguments for constructing a ClusterRolePatch resource.
52
+ */
53
+ export interface ClusterRolePatchArgs {
54
+ /**
55
+ * AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.
56
+ */
57
+ aggregationRule?: pulumi.Input<inputs.rbac.v1alpha1.AggregationRulePatch>;
58
+ /**
59
+ * 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
60
+ */
61
+ apiVersion?: pulumi.Input<"rbac.authorization.k8s.io/v1alpha1">;
62
+ /**
63
+ * 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
64
+ */
65
+ kind?: pulumi.Input<"ClusterRole">;
66
+ /**
67
+ * Standard object's metadata.
68
+ */
69
+ metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
70
+ /**
71
+ * Rules holds all the PolicyRules for this ClusterRole
72
+ */
73
+ rules?: pulumi.Input<pulumi.Input<inputs.rbac.v1alpha1.PolicyRulePatch>[]>;
74
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumigen. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ClusterRolePatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.
10
+ */
11
+ class ClusterRolePatch extends pulumi.CustomResource {
12
+ /**
13
+ * Create a ClusterRolePatch resource with the given unique name, arguments, and options.
14
+ *
15
+ * @param name The _unique_ name of the resource.
16
+ * @param args The arguments to use to populate this resource's properties.
17
+ * @param opts A bag of options that control this resource's behavior.
18
+ */
19
+ constructor(name, args, opts) {
20
+ let resourceInputs = {};
21
+ opts = opts || {};
22
+ if (!opts.id) {
23
+ if ((!args || args.metadata === undefined) && !opts.urn) {
24
+ throw new Error("Missing required property 'metadata'");
25
+ }
26
+ resourceInputs["aggregationRule"] = args ? args.aggregationRule : undefined;
27
+ resourceInputs["apiVersion"] = "rbac.authorization.k8s.io/v1alpha1";
28
+ resourceInputs["kind"] = "ClusterRole";
29
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
30
+ resourceInputs["rules"] = args ? args.rules : undefined;
31
+ }
32
+ else {
33
+ resourceInputs["aggregationRule"] = undefined /*out*/;
34
+ resourceInputs["apiVersion"] = undefined /*out*/;
35
+ resourceInputs["kind"] = undefined /*out*/;
36
+ resourceInputs["metadata"] = undefined /*out*/;
37
+ resourceInputs["rules"] = undefined /*out*/;
38
+ }
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
40
+ const aliasOpts = { aliases: [{ type: "kubernetes:rbac.authorization.k8s.io/v1:ClusterRolePatch" }, { type: "kubernetes:rbac.authorization.k8s.io/v1beta1:ClusterRolePatch" }] };
41
+ opts = pulumi.mergeOptions(opts, aliasOpts);
42
+ super(ClusterRolePatch.__pulumiType, name, resourceInputs, opts);
43
+ }
44
+ /**
45
+ * Get an existing ClusterRolePatch resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param opts Optional settings to control the behavior of the CustomResource.
51
+ */
52
+ static get(name, id, opts) {
53
+ return new ClusterRolePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
54
+ }
55
+ /**
56
+ * Returns true if the given object is an instance of ClusterRolePatch. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === ClusterRolePatch.__pulumiType;
64
+ }
65
+ }
66
+ exports.ClusterRolePatch = ClusterRolePatch;
67
+ /** @internal */
68
+ ClusterRolePatch.__pulumiType = 'kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRolePatch';
69
+ //# sourceMappingURL=clusterRolePatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clusterRolePatch.js","sourceRoot":"","sources":["../../../rbac/v1alpha1/clusterRolePatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAgDvD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,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;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AAzBL,4CA+EC;AAlEG,gBAAgB;AACO,6BAAY,GAAG,gEAAgE,CAAC"}
@@ -1,8 +1,12 @@
1
1
  export * from "./clusterRole";
2
2
  export * from "./clusterRoleBinding";
3
3
  export * from "./clusterRoleBindingList";
4
+ export * from "./clusterRoleBindingPatch";
4
5
  export * from "./clusterRoleList";
6
+ export * from "./clusterRolePatch";
5
7
  export * from "./role";
6
8
  export * from "./roleBinding";
7
9
  export * from "./roleBindingList";
10
+ export * from "./roleBindingPatch";
8
11
  export * from "./roleList";
12
+ export * from "./rolePatch";
@@ -22,20 +22,28 @@ const utilities = require("../../utilities");
22
22
  __exportStar(require("./clusterRole"), exports);
23
23
  __exportStar(require("./clusterRoleBinding"), exports);
24
24
  __exportStar(require("./clusterRoleBindingList"), exports);
25
+ __exportStar(require("./clusterRoleBindingPatch"), exports);
25
26
  __exportStar(require("./clusterRoleList"), exports);
27
+ __exportStar(require("./clusterRolePatch"), exports);
26
28
  __exportStar(require("./role"), exports);
27
29
  __exportStar(require("./roleBinding"), exports);
28
30
  __exportStar(require("./roleBindingList"), exports);
31
+ __exportStar(require("./roleBindingPatch"), exports);
29
32
  __exportStar(require("./roleList"), exports);
33
+ __exportStar(require("./rolePatch"), exports);
30
34
  // Import resources to register:
31
35
  const clusterRole_1 = require("./clusterRole");
32
36
  const clusterRoleBinding_1 = require("./clusterRoleBinding");
33
37
  const clusterRoleBindingList_1 = require("./clusterRoleBindingList");
38
+ const clusterRoleBindingPatch_1 = require("./clusterRoleBindingPatch");
34
39
  const clusterRoleList_1 = require("./clusterRoleList");
40
+ const clusterRolePatch_1 = require("./clusterRolePatch");
35
41
  const role_1 = require("./role");
36
42
  const roleBinding_1 = require("./roleBinding");
37
43
  const roleBindingList_1 = require("./roleBindingList");
44
+ const roleBindingPatch_1 = require("./roleBindingPatch");
38
45
  const roleList_1 = require("./roleList");
46
+ const rolePatch_1 = require("./rolePatch");
39
47
  const _module = {
40
48
  version: utilities.getVersion(),
41
49
  construct: (name, type, urn) => {
@@ -46,16 +54,24 @@ const _module = {
46
54
  return new clusterRoleBinding_1.ClusterRoleBinding(name, undefined, { urn });
47
55
  case "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingList":
48
56
  return new clusterRoleBindingList_1.ClusterRoleBindingList(name, undefined, { urn });
57
+ case "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleBindingPatch":
58
+ return new clusterRoleBindingPatch_1.ClusterRoleBindingPatch(name, undefined, { urn });
49
59
  case "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRoleList":
50
60
  return new clusterRoleList_1.ClusterRoleList(name, undefined, { urn });
61
+ case "kubernetes:rbac.authorization.k8s.io/v1alpha1:ClusterRolePatch":
62
+ return new clusterRolePatch_1.ClusterRolePatch(name, undefined, { urn });
51
63
  case "kubernetes:rbac.authorization.k8s.io/v1alpha1:Role":
52
64
  return new role_1.Role(name, undefined, { urn });
53
65
  case "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBinding":
54
66
  return new roleBinding_1.RoleBinding(name, undefined, { urn });
55
67
  case "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingList":
56
68
  return new roleBindingList_1.RoleBindingList(name, undefined, { urn });
69
+ case "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleBindingPatch":
70
+ return new roleBindingPatch_1.RoleBindingPatch(name, undefined, { urn });
57
71
  case "kubernetes:rbac.authorization.k8s.io/v1alpha1:RoleList":
58
72
  return new roleList_1.RoleList(name, undefined, { urn });
73
+ case "kubernetes:rbac.authorization.k8s.io/v1alpha1:RolePatch":
74
+ return new rolePatch_1.RolePatch(name, undefined, { urn });
59
75
  default:
60
76
  throw new Error(`unknown res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