@pulumi/kubernetes 3.19.4 → 3.20.2

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 (539) 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 +72 -0
  5. package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js +73 -0
  6. package/admissionregistration/v1/mutatingWebhookConfigurationPatch.js.map +1 -0
  7. package/admissionregistration/v1/validatingWebhookConfigurationPatch.d.ts +72 -0
  8. package/admissionregistration/v1/validatingWebhookConfigurationPatch.js +73 -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 +72 -0
  14. package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js +73 -0
  15. package/admissionregistration/v1beta1/mutatingWebhookConfigurationPatch.js.map +1 -0
  16. package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.d.ts +72 -0
  17. package/admissionregistration/v1beta1/validatingWebhookConfigurationPatch.js +73 -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 +76 -0
  26. package/apiextensions/v1/customResourceDefinitionPatch.js +75 -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 +70 -0
  32. package/apiextensions/v1beta1/customResourceDefinitionPatch.js +75 -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 +76 -0
  38. package/apiregistration/v1/apiservicePatch.js +75 -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 +70 -0
  44. package/apiregistration/v1beta1/apiservicePatch.js +75 -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 +80 -0
  50. package/apps/v1/controllerRevisionPatch.js +75 -0
  51. package/apps/v1/controllerRevisionPatch.js.map +1 -0
  52. package/apps/v1/daemonSetPatch.d.ts +76 -0
  53. package/apps/v1/daemonSetPatch.js +75 -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 +98 -0
  59. package/apps/v1/deploymentPatch.js +97 -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 +76 -0
  65. package/apps/v1/replicaSetPatch.js +75 -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 +92 -0
  71. package/apps/v1/statefulSetPatch.js +91 -0
  72. package/apps/v1/statefulSetPatch.js.map +1 -0
  73. package/apps/v1beta1/controllerRevisionPatch.d.ts +83 -0
  74. package/apps/v1beta1/controllerRevisionPatch.js +78 -0
  75. package/apps/v1beta1/controllerRevisionPatch.js.map +1 -0
  76. package/apps/v1beta1/deploymentPatch.d.ts +101 -0
  77. package/apps/v1beta1/deploymentPatch.js +100 -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 +89 -0
  83. package/apps/v1beta1/statefulSetPatch.js +94 -0
  84. package/apps/v1beta1/statefulSetPatch.js.map +1 -0
  85. package/apps/v1beta2/controllerRevisionPatch.d.ts +83 -0
  86. package/apps/v1beta2/controllerRevisionPatch.js +78 -0
  87. package/apps/v1beta2/controllerRevisionPatch.js.map +1 -0
  88. package/apps/v1beta2/daemonSetPatch.d.ts +79 -0
  89. package/apps/v1beta2/daemonSetPatch.js +78 -0
  90. package/apps/v1beta2/daemonSetPatch.js.map +1 -0
  91. package/apps/v1beta2/deploymentPatch.d.ts +101 -0
  92. package/apps/v1beta2/deploymentPatch.js +100 -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 +79 -0
  98. package/apps/v1beta2/replicaSetPatch.js +78 -0
  99. package/apps/v1beta2/replicaSetPatch.js.map +1 -0
  100. package/apps/v1beta2/statefulSetPatch.d.ts +89 -0
  101. package/apps/v1beta2/statefulSetPatch.js +94 -0
  102. package/apps/v1beta2/statefulSetPatch.js.map +1 -0
  103. package/auditregistration/v1alpha1/auditSinkPatch.d.ts +66 -0
  104. package/auditregistration/v1alpha1/auditSinkPatch.js +71 -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 +76 -0
  113. package/authentication/v1/tokenRequestPatch.js +73 -0
  114. package/authentication/v1/tokenRequestPatch.js.map +1 -0
  115. package/authentication/v1/tokenReviewPatch.d.ts +76 -0
  116. package/authentication/v1/tokenReviewPatch.js +75 -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 +70 -0
  122. package/authentication/v1beta1/tokenReviewPatch.js +75 -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 +76 -0
  128. package/authorization/v1/localSubjectAccessReviewPatch.js +75 -0
  129. package/authorization/v1/localSubjectAccessReviewPatch.js.map +1 -0
  130. package/authorization/v1/selfSubjectAccessReviewPatch.d.ts +76 -0
  131. package/authorization/v1/selfSubjectAccessReviewPatch.js +75 -0
  132. package/authorization/v1/selfSubjectAccessReviewPatch.js.map +1 -0
  133. package/authorization/v1/selfSubjectRulesReviewPatch.d.ts +76 -0
  134. package/authorization/v1/selfSubjectRulesReviewPatch.js +75 -0
  135. package/authorization/v1/selfSubjectRulesReviewPatch.js.map +1 -0
  136. package/authorization/v1/subjectAccessReviewPatch.d.ts +76 -0
  137. package/authorization/v1/subjectAccessReviewPatch.js +75 -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 +70 -0
  143. package/authorization/v1beta1/localSubjectAccessReviewPatch.js +75 -0
  144. package/authorization/v1beta1/localSubjectAccessReviewPatch.js.map +1 -0
  145. package/authorization/v1beta1/selfSubjectAccessReviewPatch.d.ts +70 -0
  146. package/authorization/v1beta1/selfSubjectAccessReviewPatch.js +75 -0
  147. package/authorization/v1beta1/selfSubjectAccessReviewPatch.js.map +1 -0
  148. package/authorization/v1beta1/selfSubjectRulesReviewPatch.d.ts +70 -0
  149. package/authorization/v1beta1/selfSubjectRulesReviewPatch.js +75 -0
  150. package/authorization/v1beta1/selfSubjectRulesReviewPatch.js.map +1 -0
  151. package/authorization/v1beta1/subjectAccessReviewPatch.d.ts +70 -0
  152. package/authorization/v1beta1/subjectAccessReviewPatch.js +75 -0
  153. package/authorization/v1beta1/subjectAccessReviewPatch.js.map +1 -0
  154. package/autoscaling/v1/horizontalPodAutoscalerPatch.d.ts +76 -0
  155. package/autoscaling/v1/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
  161. package/autoscaling/v2/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
  167. package/autoscaling/v2beta1/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
  173. package/autoscaling/v2beta2/horizontalPodAutoscalerPatch.js +75 -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 +76 -0
  179. package/batch/v1/cronJobPatch.js +75 -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 +96 -0
  187. package/batch/v1/jobPatch.js +93 -0
  188. package/batch/v1/jobPatch.js.map +1 -0
  189. package/batch/v1beta1/cronJobPatch.d.ts +76 -0
  190. package/batch/v1beta1/cronJobPatch.js +75 -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 +76 -0
  196. package/batch/v2alpha1/cronJobPatch.js +75 -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 +76 -0
  202. package/certificates/v1/certificateSigningRequestPatch.js +81 -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 +70 -0
  208. package/certificates/v1beta1/certificateSigningRequestPatch.js +75 -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 +72 -0
  217. package/coordination/v1/leasePatch.js +73 -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 +72 -0
  223. package/coordination/v1beta1/leasePatch.js +73 -0
  224. package/coordination/v1beta1/leasePatch.js.map +1 -0
  225. package/core/v1/bindingPatch.d.ts +72 -0
  226. package/core/v1/bindingPatch.js +71 -0
  227. package/core/v1/bindingPatch.js.map +1 -0
  228. package/core/v1/configMapPatch.d.ts +96 -0
  229. package/core/v1/configMapPatch.js +75 -0
  230. package/core/v1/configMapPatch.js.map +1 -0
  231. package/core/v1/endpointsPatch.d.ts +83 -0
  232. package/core/v1/endpointsPatch.js +82 -0
  233. package/core/v1/endpointsPatch.js.map +1 -0
  234. package/core/v1/eventPatch.d.ts +176 -0
  235. package/core/v1/eventPatch.js +99 -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 +72 -0
  241. package/core/v1/limitRangePatch.js +71 -0
  242. package/core/v1/limitRangePatch.js.map +1 -0
  243. package/core/v1/namespacePatch.d.ts +76 -0
  244. package/core/v1/namespacePatch.js +73 -0
  245. package/core/v1/namespacePatch.js.map +1 -0
  246. package/core/v1/nodePatch.d.ts +76 -0
  247. package/core/v1/nodePatch.js +73 -0
  248. package/core/v1/nodePatch.js.map +1 -0
  249. package/core/v1/persistentVolumeClaimPatch.d.ts +76 -0
  250. package/core/v1/persistentVolumeClaimPatch.js +73 -0
  251. package/core/v1/persistentVolumeClaimPatch.js.map +1 -0
  252. package/core/v1/persistentVolumePatch.d.ts +76 -0
  253. package/core/v1/persistentVolumePatch.js +73 -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 +91 -0
  259. package/core/v1/podPatch.js +88 -0
  260. package/core/v1/podPatch.js.map +1 -0
  261. package/core/v1/podTemplatePatch.d.ts +72 -0
  262. package/core/v1/podTemplatePatch.js +71 -0
  263. package/core/v1/podTemplatePatch.js.map +1 -0
  264. package/core/v1/replicationControllerPatch.d.ts +76 -0
  265. package/core/v1/replicationControllerPatch.js +73 -0
  266. package/core/v1/replicationControllerPatch.js.map +1 -0
  267. package/core/v1/resourceQuotaPatch.d.ts +76 -0
  268. package/core/v1/resourceQuotaPatch.js +73 -0
  269. package/core/v1/resourceQuotaPatch.js.map +1 -0
  270. package/core/v1/secretPatch.d.ts +114 -0
  271. package/core/v1/secretPatch.js +87 -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 +88 -0
  277. package/core/v1/serviceAccountPatch.js +75 -0
  278. package/core/v1/serviceAccountPatch.js.map +1 -0
  279. package/core/v1/servicePatch.d.ts +101 -0
  280. package/core/v1/servicePatch.js +98 -0
  281. package/core/v1/servicePatch.js.map +1 -0
  282. package/discovery/v1/endpointSlicePatch.d.ts +88 -0
  283. package/discovery/v1/endpointSlicePatch.js +77 -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 +88 -0
  289. package/discovery/v1beta1/endpointSlicePatch.js +77 -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 +176 -0
  295. package/events/v1/eventPatch.js +99 -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 +176 -0
  301. package/events/v1beta1/eventPatch.js +99 -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 +79 -0
  307. package/extensions/v1beta1/daemonSetPatch.js +78 -0
  308. package/extensions/v1beta1/daemonSetPatch.js.map +1 -0
  309. package/extensions/v1beta1/deploymentPatch.d.ts +101 -0
  310. package/extensions/v1beta1/deploymentPatch.js +100 -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 +93 -0
  316. package/extensions/v1beta1/ingressPatch.js +92 -0
  317. package/extensions/v1beta1/ingressPatch.js.map +1 -0
  318. package/extensions/v1beta1/networkPolicyPatch.d.ts +72 -0
  319. package/extensions/v1beta1/networkPolicyPatch.js +73 -0
  320. package/extensions/v1beta1/networkPolicyPatch.js.map +1 -0
  321. package/extensions/v1beta1/podSecurityPolicyPatch.d.ts +72 -0
  322. package/extensions/v1beta1/podSecurityPolicyPatch.js +73 -0
  323. package/extensions/v1beta1/podSecurityPolicyPatch.js.map +1 -0
  324. package/extensions/v1beta1/replicaSetPatch.d.ts +79 -0
  325. package/extensions/v1beta1/replicaSetPatch.js +78 -0
  326. package/extensions/v1beta1/replicaSetPatch.js.map +1 -0
  327. package/flowcontrol/v1alpha1/flowSchemaPatch.d.ts +76 -0
  328. package/flowcontrol/v1alpha1/flowSchemaPatch.js +75 -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 +76 -0
  334. package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js +75 -0
  335. package/flowcontrol/v1alpha1/priorityLevelConfigurationPatch.js.map +1 -0
  336. package/flowcontrol/v1beta1/flowSchemaPatch.d.ts +76 -0
  337. package/flowcontrol/v1beta1/flowSchemaPatch.js +75 -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 +76 -0
  343. package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js +75 -0
  344. package/flowcontrol/v1beta1/priorityLevelConfigurationPatch.js.map +1 -0
  345. package/flowcontrol/v1beta2/flowSchemaPatch.d.ts +76 -0
  346. package/flowcontrol/v1beta2/flowSchemaPatch.js +75 -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 +76 -0
  352. package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js +75 -0
  353. package/flowcontrol/v1beta2/priorityLevelConfigurationPatch.js.map +1 -0
  354. package/helm/v2/helm.js +2 -0
  355. package/helm/v2/helm.js.map +1 -1
  356. package/helm/v3/helm.js +2 -0
  357. package/helm/v3/helm.js.map +1 -1
  358. package/meta/v1/index.d.ts +1 -0
  359. package/meta/v1/index.js +4 -0
  360. package/meta/v1/index.js.map +1 -1
  361. package/meta/v1/statusPatch.d.ts +100 -0
  362. package/meta/v1/statusPatch.js +79 -0
  363. package/meta/v1/statusPatch.js.map +1 -0
  364. package/networking/v1/index.d.ts +3 -0
  365. package/networking/v1/index.js +12 -0
  366. package/networking/v1/index.js.map +1 -1
  367. package/networking/v1/ingress.d.ts +7 -8
  368. package/networking/v1/ingress.js +7 -8
  369. package/networking/v1/ingress.js.map +1 -1
  370. package/networking/v1/ingressClassPatch.d.ts +72 -0
  371. package/networking/v1/ingressClassPatch.js +73 -0
  372. package/networking/v1/ingressClassPatch.js.map +1 -0
  373. package/networking/v1/ingressPatch.d.ts +90 -0
  374. package/networking/v1/ingressPatch.js +89 -0
  375. package/networking/v1/ingressPatch.js.map +1 -0
  376. package/networking/v1/networkPolicyPatch.d.ts +76 -0
  377. package/networking/v1/networkPolicyPatch.js +75 -0
  378. package/networking/v1/networkPolicyPatch.js.map +1 -0
  379. package/networking/v1beta1/index.d.ts +2 -0
  380. package/networking/v1beta1/index.js +8 -0
  381. package/networking/v1beta1/index.js.map +1 -1
  382. package/networking/v1beta1/ingressClassPatch.d.ts +72 -0
  383. package/networking/v1beta1/ingressClassPatch.js +73 -0
  384. package/networking/v1beta1/ingressClassPatch.js.map +1 -0
  385. package/networking/v1beta1/ingressPatch.d.ts +90 -0
  386. package/networking/v1beta1/ingressPatch.js +89 -0
  387. package/networking/v1beta1/ingressPatch.js.map +1 -0
  388. package/node/v1/index.d.ts +1 -0
  389. package/node/v1/index.js +4 -0
  390. package/node/v1/index.js.map +1 -1
  391. package/node/v1/runtimeClassPatch.d.ts +90 -0
  392. package/node/v1/runtimeClassPatch.js +77 -0
  393. package/node/v1/runtimeClassPatch.js.map +1 -0
  394. package/node/v1alpha1/index.d.ts +1 -0
  395. package/node/v1alpha1/index.js +4 -0
  396. package/node/v1alpha1/index.js.map +1 -1
  397. package/node/v1alpha1/runtimeClassPatch.d.ts +72 -0
  398. package/node/v1alpha1/runtimeClassPatch.js +73 -0
  399. package/node/v1alpha1/runtimeClassPatch.js.map +1 -0
  400. package/node/v1beta1/index.d.ts +1 -0
  401. package/node/v1beta1/index.js +4 -0
  402. package/node/v1beta1/index.js.map +1 -1
  403. package/node/v1beta1/runtimeClassPatch.d.ts +88 -0
  404. package/node/v1beta1/runtimeClassPatch.js +77 -0
  405. package/node/v1beta1/runtimeClassPatch.js.map +1 -0
  406. package/package.json +5 -4
  407. package/package.json.bak +3 -2
  408. package/package.json.dev +5 -4
  409. package/policy/v1/index.d.ts +1 -0
  410. package/policy/v1/index.js +4 -0
  411. package/policy/v1/index.js.map +1 -1
  412. package/policy/v1/podDisruptionBudgetPatch.d.ts +76 -0
  413. package/policy/v1/podDisruptionBudgetPatch.js +75 -0
  414. package/policy/v1/podDisruptionBudgetPatch.js.map +1 -0
  415. package/policy/v1beta1/index.d.ts +2 -0
  416. package/policy/v1beta1/index.js +8 -0
  417. package/policy/v1beta1/index.js.map +1 -1
  418. package/policy/v1beta1/podDisruptionBudgetPatch.d.ts +76 -0
  419. package/policy/v1beta1/podDisruptionBudgetPatch.js +75 -0
  420. package/policy/v1beta1/podDisruptionBudgetPatch.js.map +1 -0
  421. package/policy/v1beta1/podSecurityPolicyPatch.d.ts +72 -0
  422. package/policy/v1beta1/podSecurityPolicyPatch.js +73 -0
  423. package/policy/v1beta1/podSecurityPolicyPatch.js.map +1 -0
  424. package/provider.d.ts +9 -2
  425. package/provider.js +5 -4
  426. package/provider.js.map +1 -1
  427. package/rbac/v1/clusterRoleBindingPatch.d.ts +80 -0
  428. package/rbac/v1/clusterRoleBindingPatch.js +75 -0
  429. package/rbac/v1/clusterRoleBindingPatch.js.map +1 -0
  430. package/rbac/v1/clusterRolePatch.d.ts +80 -0
  431. package/rbac/v1/clusterRolePatch.js +75 -0
  432. package/rbac/v1/clusterRolePatch.js.map +1 -0
  433. package/rbac/v1/index.d.ts +4 -0
  434. package/rbac/v1/index.js +16 -0
  435. package/rbac/v1/index.js.map +1 -1
  436. package/rbac/v1/roleBindingPatch.d.ts +80 -0
  437. package/rbac/v1/roleBindingPatch.js +75 -0
  438. package/rbac/v1/roleBindingPatch.js.map +1 -0
  439. package/rbac/v1/rolePatch.d.ts +72 -0
  440. package/rbac/v1/rolePatch.js +73 -0
  441. package/rbac/v1/rolePatch.js.map +1 -0
  442. package/rbac/v1alpha1/clusterRoleBindingPatch.d.ts +80 -0
  443. package/rbac/v1alpha1/clusterRoleBindingPatch.js +75 -0
  444. package/rbac/v1alpha1/clusterRoleBindingPatch.js.map +1 -0
  445. package/rbac/v1alpha1/clusterRolePatch.d.ts +80 -0
  446. package/rbac/v1alpha1/clusterRolePatch.js +75 -0
  447. package/rbac/v1alpha1/clusterRolePatch.js.map +1 -0
  448. package/rbac/v1alpha1/index.d.ts +4 -0
  449. package/rbac/v1alpha1/index.js +16 -0
  450. package/rbac/v1alpha1/index.js.map +1 -1
  451. package/rbac/v1alpha1/roleBindingPatch.d.ts +80 -0
  452. package/rbac/v1alpha1/roleBindingPatch.js +75 -0
  453. package/rbac/v1alpha1/roleBindingPatch.js.map +1 -0
  454. package/rbac/v1alpha1/rolePatch.d.ts +72 -0
  455. package/rbac/v1alpha1/rolePatch.js +73 -0
  456. package/rbac/v1alpha1/rolePatch.js.map +1 -0
  457. package/rbac/v1beta1/clusterRoleBindingPatch.d.ts +80 -0
  458. package/rbac/v1beta1/clusterRoleBindingPatch.js +75 -0
  459. package/rbac/v1beta1/clusterRoleBindingPatch.js.map +1 -0
  460. package/rbac/v1beta1/clusterRolePatch.d.ts +80 -0
  461. package/rbac/v1beta1/clusterRolePatch.js +75 -0
  462. package/rbac/v1beta1/clusterRolePatch.js.map +1 -0
  463. package/rbac/v1beta1/index.d.ts +4 -0
  464. package/rbac/v1beta1/index.js +16 -0
  465. package/rbac/v1beta1/index.js.map +1 -1
  466. package/rbac/v1beta1/roleBindingPatch.d.ts +80 -0
  467. package/rbac/v1beta1/roleBindingPatch.js +75 -0
  468. package/rbac/v1beta1/roleBindingPatch.js.map +1 -0
  469. package/rbac/v1beta1/rolePatch.d.ts +72 -0
  470. package/rbac/v1beta1/rolePatch.js +73 -0
  471. package/rbac/v1beta1/rolePatch.js.map +1 -0
  472. package/scheduling/v1/index.d.ts +1 -0
  473. package/scheduling/v1/index.js +4 -0
  474. package/scheduling/v1/index.js.map +1 -1
  475. package/scheduling/v1/priorityClassPatch.d.ts +96 -0
  476. package/scheduling/v1/priorityClassPatch.js +79 -0
  477. package/scheduling/v1/priorityClassPatch.js.map +1 -0
  478. package/scheduling/v1alpha1/index.d.ts +1 -0
  479. package/scheduling/v1alpha1/index.js +4 -0
  480. package/scheduling/v1alpha1/index.js.map +1 -1
  481. package/scheduling/v1alpha1/priorityClassPatch.d.ts +96 -0
  482. package/scheduling/v1alpha1/priorityClassPatch.js +79 -0
  483. package/scheduling/v1alpha1/priorityClassPatch.js.map +1 -0
  484. package/scheduling/v1beta1/index.d.ts +1 -0
  485. package/scheduling/v1beta1/index.js +4 -0
  486. package/scheduling/v1beta1/index.js.map +1 -1
  487. package/scheduling/v1beta1/priorityClassPatch.d.ts +96 -0
  488. package/scheduling/v1beta1/priorityClassPatch.js +79 -0
  489. package/scheduling/v1beta1/priorityClassPatch.js.map +1 -0
  490. package/settings/v1alpha1/index.d.ts +1 -0
  491. package/settings/v1alpha1/index.js +4 -0
  492. package/settings/v1alpha1/index.js.map +1 -1
  493. package/settings/v1alpha1/podPresetPatch.d.ts +60 -0
  494. package/settings/v1alpha1/podPresetPatch.js +71 -0
  495. package/settings/v1alpha1/podPresetPatch.js.map +1 -0
  496. package/storage/v1/csidriverPatch.d.ts +72 -0
  497. package/storage/v1/csidriverPatch.js +73 -0
  498. package/storage/v1/csidriverPatch.js.map +1 -0
  499. package/storage/v1/csinodePatch.d.ts +72 -0
  500. package/storage/v1/csinodePatch.js +73 -0
  501. package/storage/v1/csinodePatch.js.map +1 -0
  502. package/storage/v1/csistorageCapacityPatch.d.ts +120 -0
  503. package/storage/v1/csistorageCapacityPatch.js +87 -0
  504. package/storage/v1/csistorageCapacityPatch.js.map +1 -0
  505. package/storage/v1/index.d.ts +5 -0
  506. package/storage/v1/index.js +20 -0
  507. package/storage/v1/index.js.map +1 -1
  508. package/storage/v1/storageClassPatch.d.ts +126 -0
  509. package/storage/v1/storageClassPatch.js +87 -0
  510. package/storage/v1/storageClassPatch.js.map +1 -0
  511. package/storage/v1/volumeAttachmentPatch.d.ts +78 -0
  512. package/storage/v1/volumeAttachmentPatch.js +77 -0
  513. package/storage/v1/volumeAttachmentPatch.js.map +1 -0
  514. package/storage/v1alpha1/index.d.ts +1 -0
  515. package/storage/v1alpha1/index.js +4 -0
  516. package/storage/v1alpha1/index.js.map +1 -1
  517. package/storage/v1alpha1/volumeAttachmentPatch.d.ts +78 -0
  518. package/storage/v1alpha1/volumeAttachmentPatch.js +77 -0
  519. package/storage/v1alpha1/volumeAttachmentPatch.js.map +1 -0
  520. package/storage/v1beta1/csidriverPatch.d.ts +72 -0
  521. package/storage/v1beta1/csidriverPatch.js +73 -0
  522. package/storage/v1beta1/csidriverPatch.js.map +1 -0
  523. package/storage/v1beta1/csinodePatch.d.ts +75 -0
  524. package/storage/v1beta1/csinodePatch.js +76 -0
  525. package/storage/v1beta1/csinodePatch.js.map +1 -0
  526. package/storage/v1beta1/csistorageCapacityPatch.d.ts +120 -0
  527. package/storage/v1beta1/csistorageCapacityPatch.js +87 -0
  528. package/storage/v1beta1/csistorageCapacityPatch.js.map +1 -0
  529. package/storage/v1beta1/index.d.ts +5 -0
  530. package/storage/v1beta1/index.js +20 -0
  531. package/storage/v1beta1/index.js.map +1 -1
  532. package/storage/v1beta1/storageClassPatch.d.ts +126 -0
  533. package/storage/v1beta1/storageClassPatch.js +87 -0
  534. package/storage/v1beta1/storageClassPatch.js.map +1 -0
  535. package/storage/v1beta1/volumeAttachmentPatch.d.ts +78 -0
  536. package/storage/v1beta1/volumeAttachmentPatch.js +77 -0
  537. package/storage/v1beta1/volumeAttachmentPatch.js.map +1 -0
  538. package/types/input.d.ts +9853 -301
  539. package/types/output.d.ts +17100 -4451
@@ -0,0 +1,114 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Patch resources are used to modify existing Kubernetes resources by using
5
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
6
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
7
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
8
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
9
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
10
+ * Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
11
+ *
12
+ * Note: While Pulumi automatically encrypts the 'data' and 'stringData'
13
+ * fields, this encryption only applies to Pulumi's context, including the state file,
14
+ * the Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default,
15
+ * and the contents are visible to users with access to the Secret in Kubernetes using
16
+ * tools like 'kubectl'.
17
+ *
18
+ * For more information on securing Kubernetes Secrets, see the following links:
19
+ * https://kubernetes.io/docs/concepts/configuration/secret/#security-properties
20
+ * https://kubernetes.io/docs/concepts/configuration/secret/#risks
21
+ */
22
+ export declare class SecretPatch extends pulumi.CustomResource {
23
+ /**
24
+ * Get an existing SecretPatch resource's state with the given name, ID, and optional extra
25
+ * properties used to qualify the lookup.
26
+ *
27
+ * @param name The _unique_ name of the resulting resource.
28
+ * @param id The _unique_ provider ID of the resource to lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SecretPatch;
32
+ /**
33
+ * Returns true if the given object is an instance of SecretPatch. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj: any): obj is SecretPatch;
37
+ /**
38
+ * 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
39
+ */
40
+ readonly apiVersion: pulumi.Output<"v1">;
41
+ /**
42
+ * Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
43
+ */
44
+ readonly data: pulumi.Output<{
45
+ [key: string]: string;
46
+ }>;
47
+ /**
48
+ * Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
49
+ */
50
+ readonly immutable: pulumi.Output<boolean>;
51
+ /**
52
+ * 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
53
+ */
54
+ readonly kind: pulumi.Output<"Secret">;
55
+ /**
56
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
57
+ */
58
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
59
+ /**
60
+ * stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.
61
+ */
62
+ readonly stringData: pulumi.Output<{
63
+ [key: string]: string;
64
+ }>;
65
+ /**
66
+ * Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
67
+ */
68
+ readonly type: pulumi.Output<string>;
69
+ /**
70
+ * Create a SecretPatch resource with the given unique name, arguments, and options.
71
+ *
72
+ * @param name The _unique_ name of the resource.
73
+ * @param args The arguments to use to populate this resource's properties.
74
+ * @param opts A bag of options that control this resource's behavior.
75
+ */
76
+ constructor(name: string, args?: SecretPatchArgs, opts?: pulumi.CustomResourceOptions);
77
+ }
78
+ /**
79
+ * The set of arguments for constructing a SecretPatch resource.
80
+ */
81
+ export interface SecretPatchArgs {
82
+ /**
83
+ * 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
84
+ */
85
+ apiVersion?: pulumi.Input<"v1">;
86
+ /**
87
+ * Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
88
+ */
89
+ data?: pulumi.Input<{
90
+ [key: string]: pulumi.Input<string>;
91
+ }>;
92
+ /**
93
+ * Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
94
+ */
95
+ immutable?: pulumi.Input<boolean>;
96
+ /**
97
+ * 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
98
+ */
99
+ kind?: pulumi.Input<"Secret">;
100
+ /**
101
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
102
+ */
103
+ metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
104
+ /**
105
+ * stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.
106
+ */
107
+ stringData?: pulumi.Input<{
108
+ [key: string]: pulumi.Input<string>;
109
+ }>;
110
+ /**
111
+ * Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
112
+ */
113
+ type?: pulumi.Input<string>;
114
+ }
@@ -0,0 +1,87 @@
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.SecretPatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Patch resources are used to modify existing Kubernetes resources by using
10
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
11
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
12
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
13
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
14
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
15
+ * Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
16
+ *
17
+ * Note: While Pulumi automatically encrypts the 'data' and 'stringData'
18
+ * fields, this encryption only applies to Pulumi's context, including the state file,
19
+ * the Service, the CLI, etc. Kubernetes does not encrypt Secret resources by default,
20
+ * and the contents are visible to users with access to the Secret in Kubernetes using
21
+ * tools like 'kubectl'.
22
+ *
23
+ * For more information on securing Kubernetes Secrets, see the following links:
24
+ * https://kubernetes.io/docs/concepts/configuration/secret/#security-properties
25
+ * https://kubernetes.io/docs/concepts/configuration/secret/#risks
26
+ */
27
+ class SecretPatch extends pulumi.CustomResource {
28
+ /**
29
+ * Create a SecretPatch resource with the given unique name, arguments, and options.
30
+ *
31
+ * @param name The _unique_ name of the resource.
32
+ * @param args The arguments to use to populate this resource's properties.
33
+ * @param opts A bag of options that control this resource's behavior.
34
+ */
35
+ constructor(name, args, opts) {
36
+ let resourceInputs = {};
37
+ opts = opts || {};
38
+ if (!opts.id) {
39
+ if ((!args || args.metadata === undefined) && !opts.urn) {
40
+ throw new Error("Missing required property 'metadata'");
41
+ }
42
+ resourceInputs["apiVersion"] = "v1";
43
+ resourceInputs["data"] = args ? args.data : undefined;
44
+ resourceInputs["immutable"] = args ? args.immutable : undefined;
45
+ resourceInputs["kind"] = "Secret";
46
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
47
+ resourceInputs["stringData"] = args ? args.stringData : undefined;
48
+ resourceInputs["type"] = args ? args.type : undefined;
49
+ }
50
+ else {
51
+ resourceInputs["apiVersion"] = undefined /*out*/;
52
+ resourceInputs["data"] = undefined /*out*/;
53
+ resourceInputs["immutable"] = undefined /*out*/;
54
+ resourceInputs["kind"] = undefined /*out*/;
55
+ resourceInputs["metadata"] = undefined /*out*/;
56
+ resourceInputs["stringData"] = undefined /*out*/;
57
+ resourceInputs["type"] = undefined /*out*/;
58
+ }
59
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
60
+ super(SecretPatch.__pulumiType, name, resourceInputs, opts);
61
+ }
62
+ /**
63
+ * Get an existing SecretPatch resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name, id, opts) {
71
+ return new SecretPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
72
+ }
73
+ /**
74
+ * Returns true if the given object is an instance of SecretPatch. This is designed to work even
75
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
76
+ */
77
+ static isInstance(obj) {
78
+ if (obj === undefined || obj === null) {
79
+ return false;
80
+ }
81
+ return obj['__pulumiType'] === SecretPatch.__pulumiType;
82
+ }
83
+ }
84
+ exports.SecretPatch = SecretPatch;
85
+ /** @internal */
86
+ SecretPatch.__pulumiType = 'kubernetes:core/v1:SecretPatch';
87
+ //# sourceMappingURL=secretPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secretPatch.js","sourceRoot":"","sources":["../../../core/v1/secretPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAwDlD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAsB,EAAE,IAAmC;QACjF,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,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CA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OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AAzBL,kCAyFC;AA5EG,gBAAgB;AACO,wBAAY,GAAG,gCAAgC,CAAC"}
@@ -35,18 +35,16 @@ import { input as inputs, output as outputs } from "../../types";
35
35
  * import * as pulumi from "@pulumi/pulumi";
36
36
  * import * as kubernetes from "@pulumi/kubernetes";
37
37
  *
38
- * const my_service = new kubernetes.core.v1.Service("my_service", {
39
- * spec: {
40
- * selector: {
41
- * app: "MyApp",
42
- * },
43
- * ports: [{
44
- * protocol: "TCP",
45
- * port: 80,
46
- * targetPort: 9376,
47
- * }],
38
+ * const service = new kubernetes.core.v1.Service("service", {spec: {
39
+ * ports: [{
40
+ * port: 80,
41
+ * protocol: "TCP",
42
+ * targetPort: 9376,
43
+ * }],
44
+ * selector: {
45
+ * app: "MyApp",
48
46
  * },
49
- * });
47
+ * }});
50
48
  * ```
51
49
  * ### Create a Service with a user-specified name
52
50
  *
@@ -54,23 +52,22 @@ import { input as inputs, output as outputs } from "../../types";
54
52
  * import * as pulumi from "@pulumi/pulumi";
55
53
  * import * as kubernetes from "@pulumi/kubernetes";
56
54
  *
57
- * const my_service = new kubernetes.core.v1.Service("my_service", {
55
+ * const service = new kubernetes.core.v1.Service("service", {
58
56
  * metadata: {
59
57
  * name: "my-service",
60
58
  * },
61
59
  * spec: {
62
- * selector: {
63
- * app: "MyApp",
64
- * },
65
60
  * ports: [{
66
- * protocol: "TCP",
67
61
  * port: 80,
62
+ * protocol: "TCP",
68
63
  * targetPort: 9376,
69
64
  * }],
65
+ * selector: {
66
+ * app: "MyApp",
67
+ * },
70
68
  * },
71
69
  * });
72
70
  * ```
73
- * {% /examples %}}
74
71
  */
75
72
  export declare class Service extends pulumi.CustomResource {
76
73
  /**
@@ -40,18 +40,16 @@ const utilities = require("../../utilities");
40
40
  * import * as pulumi from "@pulumi/pulumi";
41
41
  * import * as kubernetes from "@pulumi/kubernetes";
42
42
  *
43
- * const my_service = new kubernetes.core.v1.Service("my_service", {
44
- * spec: {
45
- * selector: {
46
- * app: "MyApp",
47
- * },
48
- * ports: [{
49
- * protocol: "TCP",
50
- * port: 80,
51
- * targetPort: 9376,
52
- * }],
43
+ * const service = new kubernetes.core.v1.Service("service", {spec: {
44
+ * ports: [{
45
+ * port: 80,
46
+ * protocol: "TCP",
47
+ * targetPort: 9376,
48
+ * }],
49
+ * selector: {
50
+ * app: "MyApp",
53
51
  * },
54
- * });
52
+ * }});
55
53
  * ```
56
54
  * ### Create a Service with a user-specified name
57
55
  *
@@ -59,23 +57,22 @@ const utilities = require("../../utilities");
59
57
  * import * as pulumi from "@pulumi/pulumi";
60
58
  * import * as kubernetes from "@pulumi/kubernetes";
61
59
  *
62
- * const my_service = new kubernetes.core.v1.Service("my_service", {
60
+ * const service = new kubernetes.core.v1.Service("service", {
63
61
  * metadata: {
64
62
  * name: "my-service",
65
63
  * },
66
64
  * spec: {
67
- * selector: {
68
- * app: "MyApp",
69
- * },
70
65
  * ports: [{
71
- * protocol: "TCP",
72
66
  * port: 80,
67
+ * protocol: "TCP",
73
68
  * targetPort: 9376,
74
69
  * }],
70
+ * selector: {
71
+ * app: "MyApp",
72
+ * },
75
73
  * },
76
74
  * });
77
75
  * ```
78
- * {% /examples %}}
79
76
  */
80
77
  class Service extends pulumi.CustomResource {
81
78
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../core/v1/service.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6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CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAxED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AAzBL,0BA0EC;AA7DG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,88 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Patch resources are used to modify existing Kubernetes resources by using
5
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
6
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
7
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
8
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
9
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
10
+ * ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
11
+ */
12
+ export declare class ServiceAccountPatch extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing ServiceAccountPatch resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ServiceAccountPatch;
22
+ /**
23
+ * Returns true if the given object is an instance of ServiceAccountPatch. This is designed to work even
24
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
+ */
26
+ static isInstance(obj: any): obj is ServiceAccountPatch;
27
+ /**
28
+ * 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
29
+ */
30
+ readonly apiVersion: pulumi.Output<"v1">;
31
+ /**
32
+ * AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
33
+ */
34
+ readonly automountServiceAccountToken: pulumi.Output<boolean>;
35
+ /**
36
+ * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
37
+ */
38
+ readonly imagePullSecrets: pulumi.Output<outputs.core.v1.LocalObjectReferencePatch[]>;
39
+ /**
40
+ * 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
41
+ */
42
+ readonly kind: pulumi.Output<"ServiceAccount">;
43
+ /**
44
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
45
+ */
46
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
47
+ /**
48
+ * Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
49
+ */
50
+ readonly secrets: pulumi.Output<outputs.core.v1.ObjectReferencePatch[]>;
51
+ /**
52
+ * Create a ServiceAccountPatch resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args?: ServiceAccountPatchArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a ServiceAccountPatch resource.
62
+ */
63
+ export interface ServiceAccountPatchArgs {
64
+ /**
65
+ * 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
66
+ */
67
+ apiVersion?: pulumi.Input<"v1">;
68
+ /**
69
+ * AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.
70
+ */
71
+ automountServiceAccountToken?: pulumi.Input<boolean>;
72
+ /**
73
+ * ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
74
+ */
75
+ imagePullSecrets?: pulumi.Input<pulumi.Input<inputs.core.v1.LocalObjectReferencePatch>[]>;
76
+ /**
77
+ * 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
78
+ */
79
+ kind?: pulumi.Input<"ServiceAccount">;
80
+ /**
81
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
82
+ */
83
+ metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
84
+ /**
85
+ * Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret
86
+ */
87
+ secrets?: pulumi.Input<pulumi.Input<inputs.core.v1.ObjectReferencePatch>[]>;
88
+ }
@@ -0,0 +1,75 @@
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.ServiceAccountPatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Patch resources are used to modify existing Kubernetes resources by using
10
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
11
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
12
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
13
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
14
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
15
+ * ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
16
+ */
17
+ class ServiceAccountPatch extends pulumi.CustomResource {
18
+ /**
19
+ * Create a ServiceAccountPatch resource with the given unique name, arguments, and options.
20
+ *
21
+ * @param name The _unique_ name of the resource.
22
+ * @param args The arguments to use to populate this resource's properties.
23
+ * @param opts A bag of options that control this resource's behavior.
24
+ */
25
+ constructor(name, args, opts) {
26
+ let resourceInputs = {};
27
+ opts = opts || {};
28
+ if (!opts.id) {
29
+ if ((!args || args.metadata === undefined) && !opts.urn) {
30
+ throw new Error("Missing required property 'metadata'");
31
+ }
32
+ resourceInputs["apiVersion"] = "v1";
33
+ resourceInputs["automountServiceAccountToken"] = args ? args.automountServiceAccountToken : undefined;
34
+ resourceInputs["imagePullSecrets"] = args ? args.imagePullSecrets : undefined;
35
+ resourceInputs["kind"] = "ServiceAccount";
36
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
37
+ resourceInputs["secrets"] = args ? args.secrets : undefined;
38
+ }
39
+ else {
40
+ resourceInputs["apiVersion"] = undefined /*out*/;
41
+ resourceInputs["automountServiceAccountToken"] = undefined /*out*/;
42
+ resourceInputs["imagePullSecrets"] = undefined /*out*/;
43
+ resourceInputs["kind"] = undefined /*out*/;
44
+ resourceInputs["metadata"] = undefined /*out*/;
45
+ resourceInputs["secrets"] = undefined /*out*/;
46
+ }
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
48
+ super(ServiceAccountPatch.__pulumiType, name, resourceInputs, opts);
49
+ }
50
+ /**
51
+ * Get an existing ServiceAccountPatch resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name, id, opts) {
59
+ return new ServiceAccountPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
60
+ }
61
+ /**
62
+ * Returns true if the given object is an instance of ServiceAccountPatch. This is designed to work even
63
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
+ */
65
+ static isInstance(obj) {
66
+ if (obj === undefined || obj === null) {
67
+ return false;
68
+ }
69
+ return obj['__pulumiType'] === ServiceAccountPatch.__pulumiType;
70
+ }
71
+ }
72
+ exports.ServiceAccountPatch = ServiceAccountPatch;
73
+ /** @internal */
74
+ ServiceAccountPatch.__pulumiType = 'kubernetes:core/v1:ServiceAccountPatch';
75
+ //# sourceMappingURL=serviceAccountPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceAccountPatch.js","sourceRoot":"","sources":["../../../core/v1/serviceAccountPatch.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAEzC,6CAA6C;AAE7C;;;;;;;;GAQG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAoD1D;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA8B,EAAE,IAAmC;QACzF,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,IAAI,CAAC;YACpC,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAA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AI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AAzBL,kDAmFC;AAtEG,gBAAgB;AACO,gCAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../../types";
3
+ /**
4
+ * Patch resources are used to modify existing Kubernetes resources by using
5
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
6
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
7
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
8
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/installation-configuration/#server-side-apply) for
9
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
10
+ * Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
11
+ *
12
+ * This resource waits until its status is ready before registering success
13
+ * for create/update, and populating output properties from the current state of the resource.
14
+ * The following conditions are used to determine whether the resource creation has
15
+ * succeeded or failed:
16
+ *
17
+ * 1. Service object exists.
18
+ * 2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds
19
+ * for any stragglers.
20
+ * 3. The endpoints objects target some number of living objects (unless the Service is
21
+ * an "empty headless" Service [1] or a Service with '.spec.type: ExternalName').
22
+ * 4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').
23
+ *
24
+ * Known limitations:
25
+ * Services targeting ReplicaSets (and, by extension, Deployments,
26
+ * StatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time
27
+ * out. To work around this limitation, set 'pulumi.com/skipAwait: "true"' on
28
+ * '.metadata.annotations' for the Service. Work to handle this case is in progress [2].
29
+ *
30
+ * [1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services
31
+ * [2] https://github.com/pulumi/pulumi-kubernetes/pull/703
32
+ *
33
+ * If the Service has not reached a Ready state after 10 minutes, it will
34
+ * time out and mark the resource update as Failed. You can override the default timeout value
35
+ * by setting the 'customTimeouts' option on the resource.
36
+ */
37
+ export declare class ServicePatch extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing ServicePatch resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ServicePatch;
47
+ /**
48
+ * Returns true if the given object is an instance of ServicePatch. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is ServicePatch;
52
+ /**
53
+ * 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
54
+ */
55
+ readonly apiVersion: pulumi.Output<"v1">;
56
+ /**
57
+ * 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
58
+ */
59
+ readonly kind: pulumi.Output<"Service">;
60
+ /**
61
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
62
+ */
63
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
64
+ /**
65
+ * Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
66
+ */
67
+ readonly spec: pulumi.Output<outputs.core.v1.ServiceSpecPatch>;
68
+ /**
69
+ * Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
70
+ */
71
+ readonly status: pulumi.Output<outputs.core.v1.ServiceStatusPatch>;
72
+ /**
73
+ * Create a ServicePatch resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args?: ServicePatchArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * The set of arguments for constructing a ServicePatch resource.
83
+ */
84
+ export interface ServicePatchArgs {
85
+ /**
86
+ * 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
87
+ */
88
+ apiVersion?: pulumi.Input<"v1">;
89
+ /**
90
+ * 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
91
+ */
92
+ kind?: pulumi.Input<"Service">;
93
+ /**
94
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
95
+ */
96
+ metadata: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
97
+ /**
98
+ * Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
99
+ */
100
+ spec?: pulumi.Input<inputs.core.v1.ServiceSpecPatch>;
101
+ }