@ydkn/pulumi-components 0.4.2 → 0.4.3

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 (505) hide show
  1. package/.eslintrc.json +14 -0
  2. package/.gitlab-ci.yml +72 -0
  3. package/.prettierrc +3 -0
  4. package/{index.d.ts → index.ts} +46 -2
  5. package/lib/avahi/deployment.ts +171 -0
  6. package/lib/avahi/{index.d.ts → index.ts} +1 -1
  7. package/lib/avahi/service.ts +118 -0
  8. package/lib/aws/accessKey.ts +40 -0
  9. package/lib/aws/bucket.ts +71 -0
  10. package/lib/aws/{index.d.ts → index.ts} +1 -1
  11. package/lib/blocky/assets/dashboard.json +1777 -0
  12. package/lib/blocky/deployment.ts +134 -0
  13. package/lib/blocky/{index.d.ts → index.ts} +1 -1
  14. package/lib/certManager/assets/dashboard.json +1188 -0
  15. package/lib/certManager/certificate.ts +168 -0
  16. package/lib/certManager/index.ts +39 -0
  17. package/lib/certManager/issuer.ts +141 -0
  18. package/lib/certManager/operator.ts +244 -0
  19. package/lib/common/componentResource.ts +78 -0
  20. package/lib/common/{index.d.ts → index.ts} +2 -1
  21. package/lib/common/types.ts +3 -0
  22. package/lib/cups/avahiService.ts +66 -0
  23. package/lib/cups/deployment.ts +199 -0
  24. package/lib/cups/index.ts +4 -0
  25. package/lib/devcontainer/assets/init.sh +44 -0
  26. package/lib/devcontainer/deployment.ts +253 -0
  27. package/lib/devcontainer/index.ts +3 -0
  28. package/lib/dhcpd/deployment.ts +164 -0
  29. package/lib/dhcpd/index.ts +3 -0
  30. package/lib/externalDns/dnsEndpoint.ts +70 -0
  31. package/lib/externalDns/index.ts +18 -0
  32. package/lib/externalDns/operator.ts +165 -0
  33. package/lib/fcos/assets/rpm-opstree-install.sh +0 -0
  34. package/lib/fcos/config.ts +237 -0
  35. package/lib/fcos/host.ts +91 -0
  36. package/lib/fcos/index.ts +27 -0
  37. package/lib/freeradius/deployment.ts +244 -0
  38. package/lib/freeradius/{index.d.ts → index.ts} +1 -1
  39. package/lib/gitlab/{index.d.ts → index.ts} +13 -2
  40. package/lib/gitlab/project.ts +148 -0
  41. package/lib/gitlab/renovate.ts +98 -0
  42. package/lib/gitlab/runners/cleanup.ts +104 -0
  43. package/lib/gitlab/runners/{index.d.ts → index.ts} +1 -1
  44. package/lib/gitlab/runners/runner.ts +122 -0
  45. package/lib/gitlab/runners/runners.ts +49 -0
  46. package/lib/grafana/agent.ts +449 -0
  47. package/lib/grafana/dashboard.ts +38 -0
  48. package/lib/grafana/datasource.ts +59 -0
  49. package/lib/grafana/deployment.ts +78 -0
  50. package/lib/grafana/index.ts +17 -0
  51. package/lib/hcloud/assets/fcos-install.sh +0 -0
  52. package/lib/hcloud/cluster.ts +533 -0
  53. package/lib/hcloud/{index.d.ts → index.ts} +1 -1
  54. package/lib/hcloud/kubernetes.ts +249 -0
  55. package/lib/hcloud/wireguard.ts +164 -0
  56. package/lib/k0s/cluster.ts +264 -0
  57. package/lib/k0s/{index.d.ts → index.ts} +1 -1
  58. package/lib/kubeStateMetrics/deployment.ts +60 -0
  59. package/lib/kubeStateMetrics/{index.d.ts → index.ts} +1 -1
  60. package/lib/kubernetes/helm/{index.d.ts → index.ts} +1 -1
  61. package/lib/kubernetes/helm/v3/chart.ts +79 -0
  62. package/lib/kubernetes/helm/v3/helpers.ts +32 -0
  63. package/lib/kubernetes/helm/v3/{index.d.ts → index.ts} +1 -1
  64. package/lib/kubernetes/helm/v3/release.ts +17 -0
  65. package/lib/kubernetes/{index.d.ts → index.ts} +1 -1
  66. package/lib/kubernetes/transformations/filter.ts +43 -0
  67. package/lib/kubernetes/transformations/{index.d.ts → index.ts} +1 -1
  68. package/lib/kubernetes/transformations/metadataNamespace.ts +25 -0
  69. package/lib/kubernetes/transformations/removeCrdDescriptions.ts +78 -0
  70. package/lib/kubernetes/transformations/v1beta1Deprecations.ts +60 -0
  71. package/lib/kubernetes/v1/{index.d.ts → index.ts} +12 -2
  72. package/lib/kubernetes/v1/nfsVolume.ts +145 -0
  73. package/lib/kubernetes/v1/pullSecret.ts +37 -0
  74. package/lib/kubernetes/v1/service.ts +58 -0
  75. package/lib/localPathProvisioner/deployment.ts +88 -0
  76. package/lib/localPathProvisioner/index.ts +3 -0
  77. package/lib/loki/deployment.ts +122 -0
  78. package/lib/loki/index.ts +3 -0
  79. package/lib/metallb/controller.ts +96 -0
  80. package/lib/metallb/{index.d.ts → index.ts} +11 -2
  81. package/lib/metallb/ipAddressPool.ts +33 -0
  82. package/lib/metallb/l2Advertisement.ts +34 -0
  83. package/lib/node/{index.d.ts → index.ts} +1 -1
  84. package/lib/node/kubernetes.ts +129 -0
  85. package/lib/node/node.ts +17 -0
  86. package/lib/openldap/deployment.ts +226 -0
  87. package/lib/openldap/{index.d.ts → index.ts} +1 -1
  88. package/lib/plex/{index.d.ts → index.ts} +1 -1
  89. package/lib/plex/mediaServer.ts +265 -0
  90. package/lib/plex/playlists.ts +123 -0
  91. package/lib/postgresql/cluster.ts +61 -0
  92. package/lib/postgresql/index.ts +4 -0
  93. package/lib/postgresql/operator.ts +70 -0
  94. package/lib/prometheus/index.ts +23 -0
  95. package/lib/prometheus/monitor.ts +13 -0
  96. package/lib/prometheus/operator.ts +264 -0
  97. package/lib/prometheus/podMonitor.ts +32 -0
  98. package/lib/prometheus/serviceMonitor.ts +43 -0
  99. package/lib/raspberrypi/cluster.ts +279 -0
  100. package/lib/raspberrypi/{index.d.ts → index.ts} +1 -1
  101. package/lib/rethinkdb/deployment.ts +424 -0
  102. package/lib/rethinkdb/{index.d.ts → index.ts} +1 -1
  103. package/lib/rook/assets/dashboard.json +4871 -0
  104. package/lib/rook/blockPool.ts +80 -0
  105. package/lib/rook/cluster.ts +168 -0
  106. package/lib/rook/filesystem.ts +140 -0
  107. package/lib/rook/{index.d.ts → index.ts} +15 -2
  108. package/lib/rook/operator.ts +175 -0
  109. package/lib/samba/avahiService.ts +44 -0
  110. package/lib/samba/deployment.ts +305 -0
  111. package/lib/samba/index.ts +5 -0
  112. package/lib/samba/volumes.ts +70 -0
  113. package/lib/ssh/exec.ts +162 -0
  114. package/lib/ssh/file.ts +165 -0
  115. package/lib/ssh/{index.d.ts → index.ts} +1 -1
  116. package/lib/ssh/types.ts +20 -0
  117. package/lib/torproxy/deployment.ts +165 -0
  118. package/lib/torproxy/{index.d.ts → index.ts} +1 -1
  119. package/lib/traefik/assets/dashboard.json +759 -0
  120. package/lib/traefik/controller.ts +207 -0
  121. package/lib/traefik/{index.d.ts → index.ts} +1 -1
  122. package/lib/traefik/middleware.ts +37 -0
  123. package/lib/traefik/secureIngress.ts +81 -0
  124. package/lib/ubuntu/assets/init.sh +0 -0
  125. package/lib/ubuntu/deployment.ts +275 -0
  126. package/lib/ubuntu/{index.d.ts → index.ts} +1 -1
  127. package/lib/unifi/controller.ts +234 -0
  128. package/lib/unifi/{index.d.ts → index.ts} +1 -1
  129. package/lib/velero/{index.d.ts → index.ts} +1 -1
  130. package/lib/velero/operator.ts +182 -0
  131. package/lib/wireguard/deployment.ts +168 -0
  132. package/lib/wireguard/{index.d.ts → index.ts} +1 -1
  133. package/package.json +62 -62
  134. package/renovate.json +4 -0
  135. package/tsconfig.json +21 -0
  136. package/index.d.ts.map +0 -1
  137. package/index.js +0 -64
  138. package/index.js.map +0 -1
  139. package/lib/avahi/deployment.d.ts +0 -36
  140. package/lib/avahi/deployment.d.ts.map +0 -1
  141. package/lib/avahi/deployment.js +0 -164
  142. package/lib/avahi/deployment.js.map +0 -1
  143. package/lib/avahi/index.d.ts.map +0 -1
  144. package/lib/avahi/index.js +0 -8
  145. package/lib/avahi/index.js.map +0 -1
  146. package/lib/avahi/service.d.ts +0 -51
  147. package/lib/avahi/service.d.ts.map +0 -1
  148. package/lib/avahi/service.js +0 -57
  149. package/lib/avahi/service.js.map +0 -1
  150. package/lib/aws/accessKey.d.ts +0 -22
  151. package/lib/aws/accessKey.d.ts.map +0 -1
  152. package/lib/aws/accessKey.js +0 -27
  153. package/lib/aws/accessKey.js.map +0 -1
  154. package/lib/aws/bucket.d.ts +0 -28
  155. package/lib/aws/bucket.d.ts.map +0 -1
  156. package/lib/aws/bucket.js +0 -49
  157. package/lib/aws/bucket.js.map +0 -1
  158. package/lib/aws/index.d.ts.map +0 -1
  159. package/lib/aws/index.js +0 -8
  160. package/lib/aws/index.js.map +0 -1
  161. package/lib/blocky/deployment.d.ts +0 -39
  162. package/lib/blocky/deployment.d.ts.map +0 -1
  163. package/lib/blocky/deployment.js +0 -97
  164. package/lib/blocky/deployment.js.map +0 -1
  165. package/lib/blocky/index.d.ts.map +0 -1
  166. package/lib/blocky/index.js +0 -6
  167. package/lib/blocky/index.js.map +0 -1
  168. package/lib/certManager/certificate.d.ts +0 -126
  169. package/lib/certManager/certificate.d.ts.map +0 -1
  170. package/lib/certManager/certificate.js +0 -42
  171. package/lib/certManager/certificate.js.map +0 -1
  172. package/lib/certManager/index.d.ts +0 -5
  173. package/lib/certManager/index.d.ts.map +0 -1
  174. package/lib/certManager/index.js +0 -11
  175. package/lib/certManager/index.js.map +0 -1
  176. package/lib/certManager/issuer.d.ts +0 -109
  177. package/lib/certManager/issuer.d.ts.map +0 -1
  178. package/lib/certManager/issuer.js +0 -39
  179. package/lib/certManager/issuer.js.map +0 -1
  180. package/lib/certManager/operator.d.ts +0 -43
  181. package/lib/certManager/operator.d.ts.map +0 -1
  182. package/lib/certManager/operator.js +0 -177
  183. package/lib/certManager/operator.js.map +0 -1
  184. package/lib/common/componentResource.d.ts +0 -20
  185. package/lib/common/componentResource.d.ts.map +0 -1
  186. package/lib/common/componentResource.js +0 -62
  187. package/lib/common/componentResource.js.map +0 -1
  188. package/lib/common/index.d.ts.map +0 -1
  189. package/lib/common/index.js +0 -6
  190. package/lib/common/index.js.map +0 -1
  191. package/lib/common/types.d.ts +0 -3
  192. package/lib/common/types.d.ts.map +0 -1
  193. package/lib/common/types.js +0 -3
  194. package/lib/common/types.js.map +0 -1
  195. package/lib/externalDns/dnsEndpoint.d.ts +0 -66
  196. package/lib/externalDns/dnsEndpoint.d.ts.map +0 -1
  197. package/lib/externalDns/dnsEndpoint.js +0 -17
  198. package/lib/externalDns/dnsEndpoint.js.map +0 -1
  199. package/lib/externalDns/index.d.ts +0 -4
  200. package/lib/externalDns/index.d.ts.map +0 -1
  201. package/lib/externalDns/index.js +0 -8
  202. package/lib/externalDns/index.js.map +0 -1
  203. package/lib/externalDns/operator.d.ts +0 -45
  204. package/lib/externalDns/operator.d.ts.map +0 -1
  205. package/lib/externalDns/operator.js +0 -112
  206. package/lib/externalDns/operator.js.map +0 -1
  207. package/lib/fcos/config.d.ts +0 -156
  208. package/lib/fcos/config.d.ts.map +0 -1
  209. package/lib/fcos/config.js +0 -168
  210. package/lib/fcos/config.js.map +0 -1
  211. package/lib/fcos/host.d.ts +0 -34
  212. package/lib/fcos/host.d.ts.map +0 -1
  213. package/lib/fcos/host.js +0 -57
  214. package/lib/fcos/host.js.map +0 -1
  215. package/lib/fcos/index.d.ts +0 -4
  216. package/lib/fcos/index.d.ts.map +0 -1
  217. package/lib/fcos/index.js +0 -8
  218. package/lib/fcos/index.js.map +0 -1
  219. package/lib/freeradius/deployment.d.ts +0 -74
  220. package/lib/freeradius/deployment.d.ts.map +0 -1
  221. package/lib/freeradius/deployment.js +0 -216
  222. package/lib/freeradius/deployment.js.map +0 -1
  223. package/lib/freeradius/index.d.ts.map +0 -1
  224. package/lib/freeradius/index.js +0 -6
  225. package/lib/freeradius/index.js.map +0 -1
  226. package/lib/gitlab/index.d.ts.map +0 -1
  227. package/lib/gitlab/index.js +0 -12
  228. package/lib/gitlab/index.js.map +0 -1
  229. package/lib/gitlab/project.d.ts +0 -18
  230. package/lib/gitlab/project.d.ts.map +0 -1
  231. package/lib/gitlab/project.js +0 -116
  232. package/lib/gitlab/project.js.map +0 -1
  233. package/lib/gitlab/renovate.d.ts +0 -23
  234. package/lib/gitlab/renovate.d.ts.map +0 -1
  235. package/lib/gitlab/renovate.js +0 -77
  236. package/lib/gitlab/renovate.js.map +0 -1
  237. package/lib/gitlab/runners/cleanup.d.ts +0 -20
  238. package/lib/gitlab/runners/cleanup.d.ts.map +0 -1
  239. package/lib/gitlab/runners/cleanup.js +0 -86
  240. package/lib/gitlab/runners/cleanup.js.map +0 -1
  241. package/lib/gitlab/runners/index.d.ts.map +0 -1
  242. package/lib/gitlab/runners/index.js +0 -10
  243. package/lib/gitlab/runners/index.js.map +0 -1
  244. package/lib/gitlab/runners/runner.d.ts +0 -30
  245. package/lib/gitlab/runners/runner.d.ts.map +0 -1
  246. package/lib/gitlab/runners/runner.js +0 -89
  247. package/lib/gitlab/runners/runner.js.map +0 -1
  248. package/lib/gitlab/runners/runners.d.ts +0 -21
  249. package/lib/gitlab/runners/runners.d.ts.map +0 -1
  250. package/lib/gitlab/runners/runners.js +0 -36
  251. package/lib/gitlab/runners/runners.js.map +0 -1
  252. package/lib/grafana/agent.d.ts +0 -43
  253. package/lib/grafana/agent.d.ts.map +0 -1
  254. package/lib/grafana/agent.js +0 -417
  255. package/lib/grafana/agent.js.map +0 -1
  256. package/lib/grafana/index.d.ts +0 -3
  257. package/lib/grafana/index.d.ts.map +0 -1
  258. package/lib/grafana/index.js +0 -6
  259. package/lib/grafana/index.js.map +0 -1
  260. package/lib/hcloud/cluster.d.ts +0 -96
  261. package/lib/hcloud/cluster.d.ts.map +0 -1
  262. package/lib/hcloud/cluster.js +0 -323
  263. package/lib/hcloud/cluster.js.map +0 -1
  264. package/lib/hcloud/index.d.ts.map +0 -1
  265. package/lib/hcloud/index.js +0 -10
  266. package/lib/hcloud/index.js.map +0 -1
  267. package/lib/hcloud/kubernetes.d.ts +0 -39
  268. package/lib/hcloud/kubernetes.d.ts.map +0 -1
  269. package/lib/hcloud/kubernetes.js +0 -188
  270. package/lib/hcloud/kubernetes.js.map +0 -1
  271. package/lib/hcloud/wireguard.d.ts +0 -33
  272. package/lib/hcloud/wireguard.d.ts.map +0 -1
  273. package/lib/hcloud/wireguard.js +0 -103
  274. package/lib/hcloud/wireguard.js.map +0 -1
  275. package/lib/k0s/cluster.d.ts +0 -51
  276. package/lib/k0s/cluster.d.ts.map +0 -1
  277. package/lib/k0s/cluster.js +0 -183
  278. package/lib/k0s/cluster.js.map +0 -1
  279. package/lib/k0s/index.d.ts.map +0 -1
  280. package/lib/k0s/index.js +0 -6
  281. package/lib/k0s/index.js.map +0 -1
  282. package/lib/kubeStateMetrics/deployment.d.ts +0 -20
  283. package/lib/kubeStateMetrics/deployment.d.ts.map +0 -1
  284. package/lib/kubeStateMetrics/deployment.js +0 -47
  285. package/lib/kubeStateMetrics/deployment.js.map +0 -1
  286. package/lib/kubeStateMetrics/index.d.ts.map +0 -1
  287. package/lib/kubeStateMetrics/index.js +0 -6
  288. package/lib/kubeStateMetrics/index.js.map +0 -1
  289. package/lib/kubernetes/helm/index.d.ts.map +0 -1
  290. package/lib/kubernetes/helm/index.js +0 -6
  291. package/lib/kubernetes/helm/index.js.map +0 -1
  292. package/lib/kubernetes/helm/v3/chart.d.ts +0 -37
  293. package/lib/kubernetes/helm/v3/chart.d.ts.map +0 -1
  294. package/lib/kubernetes/helm/v3/chart.js +0 -46
  295. package/lib/kubernetes/helm/v3/chart.js.map +0 -1
  296. package/lib/kubernetes/helm/v3/helpers.d.ts +0 -3
  297. package/lib/kubernetes/helm/v3/helpers.d.ts.map +0 -1
  298. package/lib/kubernetes/helm/v3/helpers.js +0 -29
  299. package/lib/kubernetes/helm/v3/helpers.js.map +0 -1
  300. package/lib/kubernetes/helm/v3/index.d.ts.map +0 -1
  301. package/lib/kubernetes/helm/v3/index.js +0 -10
  302. package/lib/kubernetes/helm/v3/index.js.map +0 -1
  303. package/lib/kubernetes/helm/v3/release.d.ts +0 -15
  304. package/lib/kubernetes/helm/v3/release.d.ts.map +0 -1
  305. package/lib/kubernetes/helm/v3/release.js +0 -18
  306. package/lib/kubernetes/helm/v3/release.js.map +0 -1
  307. package/lib/kubernetes/index.d.ts.map +0 -1
  308. package/lib/kubernetes/index.js +0 -10
  309. package/lib/kubernetes/index.js.map +0 -1
  310. package/lib/kubernetes/transformations/filter.d.ts +0 -13
  311. package/lib/kubernetes/transformations/filter.d.ts.map +0 -1
  312. package/lib/kubernetes/transformations/filter.js +0 -32
  313. package/lib/kubernetes/transformations/filter.js.map +0 -1
  314. package/lib/kubernetes/transformations/index.d.ts.map +0 -1
  315. package/lib/kubernetes/transformations/index.js +0 -12
  316. package/lib/kubernetes/transformations/index.js.map +0 -1
  317. package/lib/kubernetes/transformations/metadataNamespace.d.ts +0 -3
  318. package/lib/kubernetes/transformations/metadataNamespace.d.ts.map +0 -1
  319. package/lib/kubernetes/transformations/metadataNamespace.js +0 -27
  320. package/lib/kubernetes/transformations/metadataNamespace.js.map +0 -1
  321. package/lib/kubernetes/transformations/removeCrdDescriptions.d.ts +0 -3
  322. package/lib/kubernetes/transformations/removeCrdDescriptions.d.ts.map +0 -1
  323. package/lib/kubernetes/transformations/removeCrdDescriptions.js +0 -61
  324. package/lib/kubernetes/transformations/removeCrdDescriptions.js.map +0 -1
  325. package/lib/kubernetes/transformations/v1beta1Deprecations.d.ts +0 -3
  326. package/lib/kubernetes/transformations/v1beta1Deprecations.d.ts.map +0 -1
  327. package/lib/kubernetes/transformations/v1beta1Deprecations.js +0 -55
  328. package/lib/kubernetes/transformations/v1beta1Deprecations.js.map +0 -1
  329. package/lib/kubernetes/v1/index.d.ts.map +0 -1
  330. package/lib/kubernetes/v1/index.js +0 -10
  331. package/lib/kubernetes/v1/index.js.map +0 -1
  332. package/lib/kubernetes/v1/nfsVolume.d.ts +0 -92
  333. package/lib/kubernetes/v1/nfsVolume.d.ts.map +0 -1
  334. package/lib/kubernetes/v1/nfsVolume.js +0 -97
  335. package/lib/kubernetes/v1/nfsVolume.js.map +0 -1
  336. package/lib/kubernetes/v1/pullSecret.d.ts +0 -31
  337. package/lib/kubernetes/v1/pullSecret.d.ts.map +0 -1
  338. package/lib/kubernetes/v1/pullSecret.js +0 -27
  339. package/lib/kubernetes/v1/pullSecret.js.map +0 -1
  340. package/lib/kubernetes/v1/service.d.ts +0 -31
  341. package/lib/kubernetes/v1/service.d.ts.map +0 -1
  342. package/lib/kubernetes/v1/service.js +0 -43
  343. package/lib/kubernetes/v1/service.js.map +0 -1
  344. package/lib/metallb/controller.d.ts +0 -17
  345. package/lib/metallb/controller.d.ts.map +0 -1
  346. package/lib/metallb/controller.js +0 -87
  347. package/lib/metallb/controller.js.map +0 -1
  348. package/lib/metallb/index.d.ts.map +0 -1
  349. package/lib/metallb/index.js +0 -10
  350. package/lib/metallb/index.js.map +0 -1
  351. package/lib/metallb/ipAddressPool.d.ts +0 -20
  352. package/lib/metallb/ipAddressPool.d.ts.map +0 -1
  353. package/lib/metallb/ipAddressPool.js +0 -22
  354. package/lib/metallb/ipAddressPool.js.map +0 -1
  355. package/lib/metallb/l2Advertisement.d.ts +0 -21
  356. package/lib/metallb/l2Advertisement.d.ts.map +0 -1
  357. package/lib/metallb/l2Advertisement.js +0 -22
  358. package/lib/metallb/l2Advertisement.js.map +0 -1
  359. package/lib/node/index.d.ts.map +0 -1
  360. package/lib/node/index.js +0 -6
  361. package/lib/node/index.js.map +0 -1
  362. package/lib/node/kubernetes.d.ts +0 -38
  363. package/lib/node/kubernetes.d.ts.map +0 -1
  364. package/lib/node/kubernetes.js +0 -89
  365. package/lib/node/kubernetes.js.map +0 -1
  366. package/lib/node/node.d.ts +0 -21
  367. package/lib/node/node.d.ts.map +0 -1
  368. package/lib/node/node.js +0 -3
  369. package/lib/node/node.js.map +0 -1
  370. package/lib/openldap/deployment.d.ts +0 -58
  371. package/lib/openldap/deployment.d.ts.map +0 -1
  372. package/lib/openldap/deployment.js +0 -217
  373. package/lib/openldap/deployment.js.map +0 -1
  374. package/lib/openldap/index.d.ts.map +0 -1
  375. package/lib/openldap/index.js +0 -6
  376. package/lib/openldap/index.js.map +0 -1
  377. package/lib/plex/index.d.ts.map +0 -1
  378. package/lib/plex/index.js +0 -8
  379. package/lib/plex/index.js.map +0 -1
  380. package/lib/plex/mediaServer.d.ts +0 -46
  381. package/lib/plex/mediaServer.d.ts.map +0 -1
  382. package/lib/plex/mediaServer.js +0 -234
  383. package/lib/plex/mediaServer.js.map +0 -1
  384. package/lib/plex/playlists.d.ts +0 -62
  385. package/lib/plex/playlists.d.ts.map +0 -1
  386. package/lib/plex/playlists.js +0 -129
  387. package/lib/plex/playlists.js.map +0 -1
  388. package/lib/prometheus/index.d.ts +0 -4
  389. package/lib/prometheus/index.d.ts.map +0 -1
  390. package/lib/prometheus/index.js +0 -8
  391. package/lib/prometheus/index.js.map +0 -1
  392. package/lib/prometheus/podMonitor.d.ts +0 -42
  393. package/lib/prometheus/podMonitor.d.ts.map +0 -1
  394. package/lib/prometheus/podMonitor.js +0 -17
  395. package/lib/prometheus/podMonitor.js.map +0 -1
  396. package/lib/prometheus/serviceMonitor.d.ts +0 -46
  397. package/lib/prometheus/serviceMonitor.d.ts.map +0 -1
  398. package/lib/prometheus/serviceMonitor.js +0 -17
  399. package/lib/prometheus/serviceMonitor.js.map +0 -1
  400. package/lib/raspberrypi/cluster.d.ts +0 -41
  401. package/lib/raspberrypi/cluster.d.ts.map +0 -1
  402. package/lib/raspberrypi/cluster.js +0 -194
  403. package/lib/raspberrypi/cluster.js.map +0 -1
  404. package/lib/raspberrypi/index.d.ts.map +0 -1
  405. package/lib/raspberrypi/index.js +0 -6
  406. package/lib/raspberrypi/index.js.map +0 -1
  407. package/lib/rethinkdb/deployment.d.ts +0 -61
  408. package/lib/rethinkdb/deployment.d.ts.map +0 -1
  409. package/lib/rethinkdb/deployment.js +0 -350
  410. package/lib/rethinkdb/deployment.js.map +0 -1
  411. package/lib/rethinkdb/index.d.ts.map +0 -1
  412. package/lib/rethinkdb/index.js +0 -6
  413. package/lib/rethinkdb/index.js.map +0 -1
  414. package/lib/rook/blockPool.d.ts +0 -28
  415. package/lib/rook/blockPool.d.ts.map +0 -1
  416. package/lib/rook/blockPool.js +0 -56
  417. package/lib/rook/blockPool.js.map +0 -1
  418. package/lib/rook/cluster.d.ts +0 -54
  419. package/lib/rook/cluster.d.ts.map +0 -1
  420. package/lib/rook/cluster.js +0 -100
  421. package/lib/rook/cluster.js.map +0 -1
  422. package/lib/rook/filesystem.d.ts +0 -29
  423. package/lib/rook/filesystem.d.ts.map +0 -1
  424. package/lib/rook/filesystem.js +0 -110
  425. package/lib/rook/filesystem.js.map +0 -1
  426. package/lib/rook/index.d.ts.map +0 -1
  427. package/lib/rook/index.js +0 -12
  428. package/lib/rook/index.js.map +0 -1
  429. package/lib/rook/operator.d.ts +0 -19
  430. package/lib/rook/operator.d.ts.map +0 -1
  431. package/lib/rook/operator.js +0 -162
  432. package/lib/rook/operator.js.map +0 -1
  433. package/lib/samba/deployment.d.ts +0 -79
  434. package/lib/samba/deployment.d.ts.map +0 -1
  435. package/lib/samba/deployment.js +0 -238
  436. package/lib/samba/deployment.js.map +0 -1
  437. package/lib/samba/index.d.ts +0 -3
  438. package/lib/samba/index.d.ts.map +0 -1
  439. package/lib/samba/index.js +0 -6
  440. package/lib/samba/index.js.map +0 -1
  441. package/lib/ssh/exec.d.ts +0 -33
  442. package/lib/ssh/exec.d.ts.map +0 -1
  443. package/lib/ssh/exec.js +0 -116
  444. package/lib/ssh/exec.js.map +0 -1
  445. package/lib/ssh/file.d.ts +0 -43
  446. package/lib/ssh/file.d.ts.map +0 -1
  447. package/lib/ssh/file.js +0 -110
  448. package/lib/ssh/file.js.map +0 -1
  449. package/lib/ssh/index.d.ts.map +0 -1
  450. package/lib/ssh/index.js +0 -8
  451. package/lib/ssh/index.js.map +0 -1
  452. package/lib/ssh/types.d.ts +0 -19
  453. package/lib/ssh/types.d.ts.map +0 -1
  454. package/lib/ssh/types.js +0 -3
  455. package/lib/ssh/types.js.map +0 -1
  456. package/lib/torproxy/deployment.d.ts +0 -31
  457. package/lib/torproxy/deployment.d.ts.map +0 -1
  458. package/lib/torproxy/deployment.js +0 -131
  459. package/lib/torproxy/deployment.js.map +0 -1
  460. package/lib/torproxy/index.d.ts.map +0 -1
  461. package/lib/torproxy/index.js +0 -6
  462. package/lib/torproxy/index.js.map +0 -1
  463. package/lib/traefik/controller.d.ts +0 -50
  464. package/lib/traefik/controller.d.ts.map +0 -1
  465. package/lib/traefik/controller.js +0 -166
  466. package/lib/traefik/controller.js.map +0 -1
  467. package/lib/traefik/index.d.ts.map +0 -1
  468. package/lib/traefik/index.js +0 -10
  469. package/lib/traefik/index.js.map +0 -1
  470. package/lib/traefik/middleware.d.ts +0 -27
  471. package/lib/traefik/middleware.d.ts.map +0 -1
  472. package/lib/traefik/middleware.js +0 -22
  473. package/lib/traefik/middleware.js.map +0 -1
  474. package/lib/traefik/secureIngress.d.ts +0 -32
  475. package/lib/traefik/secureIngress.d.ts.map +0 -1
  476. package/lib/traefik/secureIngress.js +0 -58
  477. package/lib/traefik/secureIngress.js.map +0 -1
  478. package/lib/ubuntu/deployment.d.ts +0 -67
  479. package/lib/ubuntu/deployment.d.ts.map +0 -1
  480. package/lib/ubuntu/deployment.js +0 -230
  481. package/lib/ubuntu/deployment.js.map +0 -1
  482. package/lib/ubuntu/index.d.ts.map +0 -1
  483. package/lib/ubuntu/index.js +0 -6
  484. package/lib/ubuntu/index.js.map +0 -1
  485. package/lib/unifi/controller.d.ts +0 -52
  486. package/lib/unifi/controller.d.ts.map +0 -1
  487. package/lib/unifi/controller.js +0 -232
  488. package/lib/unifi/controller.js.map +0 -1
  489. package/lib/unifi/index.d.ts.map +0 -1
  490. package/lib/unifi/index.js +0 -6
  491. package/lib/unifi/index.js.map +0 -1
  492. package/lib/velero/index.d.ts.map +0 -1
  493. package/lib/velero/index.js +0 -6
  494. package/lib/velero/index.js.map +0 -1
  495. package/lib/velero/operator.d.ts +0 -31
  496. package/lib/velero/operator.d.ts.map +0 -1
  497. package/lib/velero/operator.js +0 -148
  498. package/lib/velero/operator.js.map +0 -1
  499. package/lib/wireguard/deployment.d.ts +0 -82
  500. package/lib/wireguard/deployment.d.ts.map +0 -1
  501. package/lib/wireguard/deployment.js +0 -161
  502. package/lib/wireguard/deployment.js.map +0 -1
  503. package/lib/wireguard/index.d.ts.map +0 -1
  504. package/lib/wireguard/index.js +0 -6
  505. package/lib/wireguard/index.js.map +0 -1
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PullSecret = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const k8s = require("@pulumi/kubernetes");
6
- class PullSecret extends k8s.core.v1.Secret {
7
- /**
8
- * Create a new pull secret resource.
9
- * @param name The name of the pull secret resource.
10
- * @param args A bag of arguments to control the pull secret creation.
11
- * @param opts A bag of options that control this resource's behavior.
12
- */
13
- constructor(name, args, opts) {
14
- const dockerConfigJSON = pulumi.all([args.registry, args.username, args.password]).apply((r) => {
15
- const auths = {};
16
- auths[r[0]] = { auth: Buffer.from(r[1] + ":" + r[2]).toString("base64") };
17
- return Buffer.from(JSON.stringify({ auths })).toString("base64");
18
- });
19
- super(name, {
20
- metadata: args.metadata,
21
- type: "kubernetes.io/dockerconfigjson",
22
- data: { ".dockerconfigjson": dockerConfigJSON },
23
- }, opts);
24
- }
25
- }
26
- exports.PullSecret = PullSecret;
27
- //# sourceMappingURL=pullSecret.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pullSecret.js","sourceRoot":"","sources":["../../../../lib/kubernetes/v1/pullSecret.ts"],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC,0CAA0C;AAsB1C,MAAa,UAAW,SAAQ,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM;IAChD;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAmC;QACjF,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;YAC7F,MAAM,KAAK,GAAiD,EAAE,CAAC;YAE/D,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;YAE1E,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;QAEH,KAAK,CACH,IAAI,EACJ;YACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,IAAI,EAAE,gCAAgC;YACtC,IAAI,EAAE,EAAE,mBAAmB,EAAE,gBAAgB,EAAE;SAChD,EACD,IAAI,CACL,CAAC;IACJ,CAAC;CACF;AA1BD,gCA0BC"}
@@ -1,31 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as k8s from "@pulumi/kubernetes";
3
- export interface ServiceArgs {
4
- /**
5
- * Metadata for the service resource
6
- */
7
- metadata: pulumi.Input<k8s.types.input.meta.v1.ObjectMeta>;
8
- /**
9
- * Spec for the service resource
10
- */
11
- spec: pulumi.Input<k8s.types.input.core.v1.ServiceSpec>;
12
- /**
13
- * Optional: Hostnames
14
- */
15
- hostnames?: pulumi.Input<pulumi.Input<string>[]>;
16
- /**
17
- * Optional: Target
18
- */
19
- target?: pulumi.Input<string>;
20
- }
21
- export declare class Service extends k8s.core.v1.Service {
22
- readonly hostnames?: pulumi.Output<pulumi.Output<string>[]>;
23
- /**
24
- * Create a new service resource.
25
- * @param name The name of the service resource.
26
- * @param args A bag of arguments to control the service creation.
27
- * @param opts A bag of options that control this resource's behavior.
28
- */
29
- constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions);
30
- }
31
- //# sourceMappingURL=service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../lib/kubernetes/v1/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAC3D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;IACxD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,qBAAa,OAAQ,SAAQ,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO;IAC9C,SAAgB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAEnE;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsCjF"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Service = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const k8s = require("@pulumi/kubernetes");
6
- class Service extends k8s.core.v1.Service {
7
- hostnames;
8
- /**
9
- * Create a new service resource.
10
- * @param name The name of the service resource.
11
- * @param args A bag of arguments to control the service creation.
12
- * @param opts A bag of options that control this resource's behavior.
13
- */
14
- constructor(name, args, opts) {
15
- const serviceArgs = pulumi
16
- .all([args.metadata, args.spec, args.hostnames, args.target])
17
- .apply(([metadataWrapped, specWrapped, hostnames, target]) => pulumi.all(hostnames ?? []).apply((hostnames) => {
18
- const metadata = metadataWrapped;
19
- const spec = specWrapped;
20
- if (metadata.annotations === undefined) {
21
- metadata.annotations = {};
22
- }
23
- const annotations = {};
24
- if (hostnames !== undefined && hostnames.length > 0) {
25
- annotations["external-dns.alpha.kubernetes.io/hostname"] = hostnames.join(",");
26
- }
27
- if (target !== undefined) {
28
- annotations["external-dns.alpha.kubernetes.io/target"] = target;
29
- }
30
- metadata.annotations = { ...annotations, ...metadata.annotations };
31
- spec.ipFamilyPolicy = "PreferDualStack";
32
- return { metadata, spec };
33
- }));
34
- super(name, serviceArgs, opts);
35
- if (args.hostnames !== undefined) {
36
- this.hostnames = pulumi
37
- .all([args.hostnames])
38
- .apply(([hostnames]) => hostnames.map((hostname) => pulumi.output(hostname)));
39
- }
40
- }
41
- }
42
- exports.Service = Service;
43
- //# sourceMappingURL=service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../lib/kubernetes/v1/service.ts"],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC,0CAA0C;AAqB1C,MAAa,OAAQ,SAAQ,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO;IAC9B,SAAS,CAA0C;IAEnE;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC9E,MAAM,WAAW,GAAG,MAAM;aACvB,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;aAC5D,KAAK,CAAC,CAAC,CAAC,eAAe,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,EAAE,CAC3D,MAAM,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,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
- namespace?: pulumi.Input<string>;
5
- }
6
- export declare class MetalLB extends ComponentResource {
7
- private readonly helmRelease;
8
- readonly namespace: pulumi.Output<string>;
9
- /**
10
- * Create a new MetalLB resource.
11
- * @param name The name of MetalLB resource.
12
- * @param args A bag of arguments to control the MetalLB creation.
13
- * @param opts A bag of options that control this resource's behavior.
14
- */
15
- constructor(name: string, args: MetalLBArgs, opts?: pulumi.ComponentResourceOptions);
16
- }
17
- //# sourceMappingURL=controller.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../lib/metallb/controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC;AAED,qBAAa,OAAQ,SAAQ,iBAAiB;IAC5C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAkB;IAC9C,SAAgB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEjD;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,wBAAwB;CA4EpF"}
@@ -1,87 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MetalLB = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const k8s = require("@pulumi/kubernetes");
6
- const common_1 = require("../common");
7
- const helm = require("../kubernetes/helm");
8
- class MetalLB extends common_1.ComponentResource {
9
- helmRelease;
10
- namespace;
11
- /**
12
- * Create a new MetalLB resource.
13
- * @param name The name of MetalLB resource.
14
- * @param args A bag of arguments to control the MetalLB creation.
15
- * @param opts A bag of options that control this resource's behavior.
16
- */
17
- constructor(name, args, opts) {
18
- super("metallb", name, args, opts);
19
- opts = this.opts(k8s.Provider);
20
- this.namespace = args.namespace
21
- ? pulumi.output(args.namespace)
22
- : new k8s.core.v1.Namespace(name, { metadata: { name } }, opts).metadata.name;
23
- this.helmRelease = new helm.v3.Release(name, {
24
- name,
25
- namespace: this.namespace,
26
- repositoryOpts: { repo: "https://metallb.github.io/metallb" },
27
- chart: "metallb",
28
- values: {
29
- fullnameOverride: name,
30
- prometheus: {
31
- serviceAccount: "default",
32
- namespace: this.namespace,
33
- podMonitor: {
34
- enabled: true,
35
- metricRelabelings: [
36
- {
37
- action: "drop",
38
- sourceLabels: ["__name__"],
39
- regex: ["go_.*"].join("|"),
40
- },
41
- ],
42
- },
43
- prometheusRule: { enabled: false },
44
- },
45
- controller: {
46
- affinity: {
47
- podAntiAffinity: {
48
- preferredDuringSchedulingIgnoredDuringExecution: [
49
- {
50
- weight: 100,
51
- podAffinityTerm: {
52
- labelSelector: {
53
- matchExpressions: [
54
- { key: "app.kubernetes.io/name", operator: "In", values: ["metallb"] },
55
- { key: "app.kubernetes.io/instance", operator: "In", values: [name] },
56
- { key: "app.kubernetes.io/component", operator: "In", values: ["controller"] },
57
- ],
58
- },
59
- topologyKey: "kubernetes.io/hostname",
60
- },
61
- },
62
- ],
63
- },
64
- },
65
- tolerations: [
66
- { key: "node-role.kubernetes.io/master", operator: "Exists", effect: "NoSchedule" },
67
- { key: "node-role.kubernetes.io/control-plane", operator: "Exists", effect: "NoSchedule" },
68
- ],
69
- resources: {
70
- requests: { memory: "48Mi" },
71
- limits: { memory: "64Mi" },
72
- },
73
- },
74
- speaker: {
75
- tolerateMaster: false,
76
- resources: {
77
- requests: { memory: "64Mi" },
78
- limits: { memory: "96Mi" },
79
- },
80
- },
81
- },
82
- }, opts);
83
- this.registerOutputs();
84
- }
85
- }
86
- exports.MetalLB = MetalLB;
87
- //# sourceMappingURL=controller.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"controller.js","sourceRoot":"","sources":["../../../lib/metallb/controller.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ts","sourceRoot":"","sources":["../../../lib/metallb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAElG,OAAO,EACL,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,GAChB,CAAC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.L2Advertisement = exports.IPAddressPool = exports.MetalLB = void 0;
4
- const controller_1 = require("./controller");
5
- Object.defineProperty(exports, "MetalLB", { enumerable: true, get: function () { return controller_1.MetalLB; } });
6
- const ipAddressPool_1 = require("./ipAddressPool");
7
- Object.defineProperty(exports, "IPAddressPool", { enumerable: true, get: function () { return ipAddressPool_1.IPAddressPool; } });
8
- const l2Advertisement_1 = require("./l2Advertisement");
9
- Object.defineProperty(exports, "L2Advertisement", { enumerable: true, get: function () { return l2Advertisement_1.L2Advertisement; } });
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/metallb/index.ts"],"names":[],"mappings":";;;AAAA,6CAAoD;AAMlD,wFANoB,oBAAO,OAMpB;AALT,mDAA0F;AAQxF,8FARiD,6BAAa,OAQjD;AAPf,uDAAkG;AAUhG,gGAVqD,iCAAe,OAUrD"}
@@ -1,20 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as k8s from "@pulumi/kubernetes";
3
- export interface IPAddressPoolSpecArgs {
4
- addresses: pulumi.Input<pulumi.Input<string>[]>;
5
- autoAssign?: pulumi.Input<boolean>;
6
- }
7
- export interface IPAddressPoolArgs {
8
- metadata: pulumi.Input<k8s.types.input.meta.v1.ObjectMeta>;
9
- spec: pulumi.Input<IPAddressPoolSpecArgs>;
10
- }
11
- export declare class IPAddressPool extends k8s.apiextensions.CustomResource {
12
- /**
13
- * Create a new IP address pool resource.
14
- * @param name The name of the IP address pool resource.
15
- * @param args A bag of arguments to control the IP address pool creation.
16
- * @param opts A bag of options that control this resource's behavior.
17
- */
18
- constructor(name: string, args: IPAddressPoolArgs, opts?: pulumi.CustomResourceOptions);
19
- }
20
- //# sourceMappingURL=ipAddressPool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ipAddressPool.d.ts","sourceRoot":"","sources":["../../../lib/metallb/ipAddressPool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAC3D,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;CAC3C;AAED,qBAAa,aAAc,SAAQ,GAAG,CAAC,aAAa,CAAC,cAAc;IACjE;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAYvF"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IPAddressPool = void 0;
4
- const k8s = require("@pulumi/kubernetes");
5
- class IPAddressPool extends k8s.apiextensions.CustomResource {
6
- /**
7
- * Create a new IP address pool resource.
8
- * @param name The name of the IP address pool resource.
9
- * @param args A bag of arguments to control the IP address pool creation.
10
- * @param opts A bag of options that control this resource's behavior.
11
- */
12
- constructor(name, args, opts) {
13
- super(name, {
14
- apiVersion: "metallb.io/v1beta1",
15
- kind: "IPAddressPool",
16
- metadata: args.metadata,
17
- spec: args.spec,
18
- }, opts);
19
- }
20
- }
21
- exports.IPAddressPool = IPAddressPool;
22
- //# sourceMappingURL=ipAddressPool.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ipAddressPool.js","sourceRoot":"","sources":["../../../lib/metallb/ipAddressPool.ts"],"names":[],"mappings":";;;AACA,0CAA0C;AAY1C,MAAa,aAAc,SAAQ,GAAG,CAAC,aAAa,CAAC,cAAc;IACjE;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAmC;QACpF,KAAK,CACH,IAAI,EACJ;YACE,UAAU,EAAE,oBAAoB;YAChC,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,EACD,IAAI,CACL,CAAC;IACJ,CAAC;CACF;AAnBD,sCAmBC"}
@@ -1,21 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as k8s from "@pulumi/kubernetes";
3
- export interface L2AdvertisementSpecArgs {
4
- ipAddressPoolSelectors?: pulumi.Input<pulumi.Input<k8s.types.input.meta.v1.LabelSelector>[]>;
5
- ipAddressPools?: pulumi.Input<pulumi.Input<string>[]>;
6
- nodeSelectors?: pulumi.Input<pulumi.Input<k8s.types.input.meta.v1.LabelSelector>[]>;
7
- }
8
- export interface L2AdvertisementArgs {
9
- metadata: pulumi.Input<k8s.types.input.meta.v1.ObjectMeta>;
10
- spec: pulumi.Input<L2AdvertisementSpecArgs>;
11
- }
12
- export declare class L2Advertisement extends k8s.apiextensions.CustomResource {
13
- /**
14
- * Create a new L2 advertisement resource.
15
- * @param name The name of the L2 advertisement resource.
16
- * @param args A bag of arguments to control the L2 advertisement creation.
17
- * @param opts A bag of options that control this resource's behavior.
18
- */
19
- constructor(name: string, args: L2AdvertisementArgs, opts?: pulumi.CustomResourceOptions);
20
- }
21
- //# sourceMappingURL=l2Advertisement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"l2Advertisement.d.ts","sourceRoot":"","sources":["../../../lib/metallb/l2Advertisement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,WAAW,uBAAuB;IACtC,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;IAC7F,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;CACrF;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAC3D,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;CAC7C;AAED,qBAAa,eAAgB,SAAQ,GAAG,CAAC,aAAa,CAAC,cAAc;IACnE;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAYzF"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.L2Advertisement = void 0;
4
- const k8s = require("@pulumi/kubernetes");
5
- class L2Advertisement extends k8s.apiextensions.CustomResource {
6
- /**
7
- * Create a new L2 advertisement resource.
8
- * @param name The name of the L2 advertisement resource.
9
- * @param args A bag of arguments to control the L2 advertisement creation.
10
- * @param opts A bag of options that control this resource's behavior.
11
- */
12
- constructor(name, args, opts) {
13
- super(name, {
14
- apiVersion: "metallb.io/v1beta1",
15
- kind: "L2Advertisement",
16
- metadata: args.metadata,
17
- spec: args.spec,
18
- }, opts);
19
- }
20
- }
21
- exports.L2Advertisement = L2Advertisement;
22
- //# sourceMappingURL=l2Advertisement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"l2Advertisement.js","sourceRoot":"","sources":["../../../lib/metallb/l2Advertisement.ts"],"names":[],"mappings":";;;AACA,0CAA0C;AAa1C,MAAa,eAAgB,SAAQ,GAAG,CAAC,aAAa,CAAC,cAAc;IACnE;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACtF,KAAK,CACH,IAAI,EACJ;YACE,UAAU,EAAE,oBAAoB;YAChC,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,EACD,IAAI,CACL,CAAC;IACJ,CAAC;CACF;AAnBD,0CAmBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC"}
package/lib/node/index.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Kubernetes = void 0;
4
- const kubernetes_1 = require("./kubernetes");
5
- Object.defineProperty(exports, "Kubernetes", { enumerable: true, get: function () { return kubernetes_1.Kubernetes; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/node/index.ts"],"names":[],"mappings":";;;AACA,6CAA0D;AAE3B,2FAFN,uBAAU,OAEM"}
@@ -1,38 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import { ComponentResource } from "../common";
3
- import { Node } from "./node";
4
- export interface KubernetesArgs {
5
- /**
6
- * Optional: Namespace
7
- */
8
- namespace?: pulumi.Input<string>;
9
- /**
10
- * Nodes
11
- */
12
- nodes: pulumi.Input<pulumi.Input<Node>[]>;
13
- /**
14
- * Cluster name
15
- */
16
- clusterName: pulumi.Input<string>;
17
- /**
18
- * Domain
19
- */
20
- domain: pulumi.Input<string>;
21
- /**
22
- * Optional: IP type (public or private)
23
- */
24
- ipType?: pulumi.Input<string>;
25
- }
26
- export declare class Kubernetes extends ComponentResource {
27
- private readonly api;
28
- private readonly nodes;
29
- /**
30
- * Create a new node dns endpoints resource.
31
- * @param name The name of the node dns endpoints resource.
32
- * @param args A bag of arguments to control the node dns endpoints creation.
33
- * @param opts A bag of options that control this resource's behavior.
34
- */
35
- constructor(name: string, args: KubernetesArgs, opts?: pulumi.ComponentResourceOptions);
36
- private nodeIPs;
37
- }
38
- //# sourceMappingURL=kubernetes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubernetes.d.ts","sourceRoot":"","sources":["../../../lib/node/kubernetes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC1C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,qBAAa,UAAW,SAAQ,iBAAiB;IAC/C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IACjD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA+B;IAErD;;;;;OAKG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,wBAAwB;IA6EtF,OAAO,CAAC,OAAO;CA2BhB"}
@@ -1,89 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Kubernetes = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const k8s = require("@pulumi/kubernetes");
6
- const common_1 = require("../common");
7
- const externalDns_1 = require("../externalDns");
8
- class Kubernetes extends common_1.ComponentResource {
9
- api;
10
- nodes;
11
- /**
12
- * Create a new node dns endpoints resource.
13
- * @param name The name of the node dns endpoints resource.
14
- * @param args A bag of arguments to control the node dns endpoints creation.
15
- * @param opts A bag of options that control this resource's behavior.
16
- */
17
- constructor(name, args, opts) {
18
- super("node:kubernetes", name, args, opts);
19
- opts = this.opts(k8s.Provider);
20
- const namespace = args.namespace ?? "kube-system";
21
- const ipType = args.ipType ?? "private";
22
- this.api = pulumi.all([args.nodes, args.domain, ipType]).apply(([nodes, domain, ipType]) => new externalDns_1.DnsEndpoint(`${name}-api`, {
23
- metadata: { namespace, name: `${name}-api` },
24
- spec: {
25
- endpoints: pulumi.all(nodes).apply((nodes) => {
26
- const dnsName = pulumi.interpolate `api.${domain}`;
27
- const ipv4Endpoints = [];
28
- const ipv6Endpoints = [];
29
- const endpoints = [];
30
- for (const node of nodes) {
31
- if ((node.roles ?? []).includes("controller")) {
32
- const nodeIPs = this.nodeIPs(node, ipType);
33
- ipv4Endpoints.push(...nodeIPs.ipv4Adresses);
34
- ipv6Endpoints.push(...nodeIPs.ipv6Addresses);
35
- }
36
- }
37
- if (ipv4Endpoints.length > 0) {
38
- endpoints.push({ dnsName, recordType: "A", targets: ipv4Endpoints });
39
- }
40
- if (ipv6Endpoints.length > 0) {
41
- endpoints.push({ dnsName, recordType: "AAAA", targets: ipv6Endpoints });
42
- }
43
- return endpoints;
44
- }),
45
- },
46
- }, opts));
47
- this.nodes = pulumi
48
- .all([args.nodes, args.domain, args.clusterName, ipType])
49
- .apply(([nodes, domain, clusterName, ipType]) => nodes.map((node) => {
50
- const dnsName = pulumi.interpolate `${node.hostname.replace(`${clusterName}-`, "")}.${domain}`;
51
- const endpoints = [];
52
- const nodeIPs = this.nodeIPs(node, ipType);
53
- if (nodeIPs.ipv4Adresses.length > 0) {
54
- endpoints.push({ dnsName, recordType: "A", targets: nodeIPs.ipv4Adresses });
55
- }
56
- if (nodeIPs.ipv6Addresses.length > 0) {
57
- endpoints.push({ dnsName, recordType: "AAAA", targets: nodeIPs.ipv6Addresses });
58
- }
59
- return new externalDns_1.DnsEndpoint(`${name}-${node.hostname}`, {
60
- metadata: { namespace, name: `${name}-${node.hostname}` },
61
- spec: { endpoints },
62
- }, opts);
63
- }));
64
- this.registerOutputs();
65
- }
66
- nodeIPs(node, ipType) {
67
- const ipv4Adresses = [];
68
- const ipv6Addresses = [];
69
- if (ipType === "private") {
70
- if (node.privateIpv4Address !== undefined) {
71
- ipv4Adresses.push(node.privateIpv4Address);
72
- }
73
- if (node.privateIpv6Address !== undefined) {
74
- ipv6Addresses.push(node.privateIpv6Address);
75
- }
76
- }
77
- else {
78
- if (node.ipv4Address !== undefined) {
79
- ipv4Adresses.push(node.ipv4Address);
80
- }
81
- if (node.ipv6Address !== undefined) {
82
- ipv6Addresses.push(node.ipv6Address);
83
- }
84
- }
85
- return { ipv4Adresses, ipv6Addresses };
86
- }
87
- }
88
- exports.Kubernetes = Kubernetes;
89
- //# sourceMappingURL=kubernetes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubernetes.js","sourceRoot":"","sources":["../../../lib/node/kubernetes.ts"],"names":[],"mappings":";;;AAAA,yCAAyC;AACzC,0CAA0C;AAC1C,sCAA8C;AAC9C,gDAA+D;AA0B/D,MAAa,UAAW,SAAQ,0BAAiB;IAC9B,GAAG,CAA6B;IAChC,KAAK,CAA+B;IAErD;;;;;OAKG;IACH,YAAY,IAAY,EAAE,IAAoB,EAAE,IAAsC;QACpF,KAAK,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAE3C,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE/B,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,aAAa,CAAC;QAClD,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,SAAS,CAAC;QAExC,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAC5D,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,CAC1B,IAAI,yBAAW,CACb,GAAG,IAAI,MAAM,EACb;YACE,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,IAAI,MAAM,EAAE;YAC5C,IAAI,EAAE;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AK,SAAS,EAAE;YACxB,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,EAAE;gBACzC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;aAC5C;YAED,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,EAAE;gBACzC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;aAC7C;SACF;aAAM;YACL,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,EAAE;gBAClC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aACrC;YAED,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,EAAE;gBAClC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aACtC;SACF;QAED,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;IACzC,CAAC;CACF;AAlHD,gCAkHC"}
@@ -1,21 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- export interface Node {
3
- id?: pulumi.Input<string>;
4
- hostname: pulumi.Input<string>;
5
- roles?: pulumi.Input<pulumi.Input<string>[]>;
6
- ipv4Address?: pulumi.Input<string>;
7
- privateIpv4Address?: pulumi.Input<string>;
8
- ipv6Address?: pulumi.Input<string>;
9
- privateIpv6Address?: pulumi.Input<string>;
10
- labels?: pulumi.Input<{
11
- [key: string]: pulumi.Input<string>;
12
- }>;
13
- taints?: pulumi.Input<pulumi.Input<{
14
- effect: pulumi.Input<string>;
15
- key: pulumi.Input<string>;
16
- value: pulumi.Input<string>;
17
- }>[]>;
18
- username?: pulumi.Input<string>;
19
- privateKey?: pulumi.Input<string>;
20
- }
21
- //# sourceMappingURL=node.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../lib/node/node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,WAAW,IAAI;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC,CAAC;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CACnB,MAAM,CAAC,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC,EAAE,CACzG,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
package/lib/node/node.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.js","sourceRoot":"","sources":["../../../lib/node/node.ts"],"names":[],"mappings":""}
@@ -1,58 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as k8s from "@pulumi/kubernetes";
3
- import { ComponentResource } from "../common";
4
- export interface OpenLdapServerArgs {
5
- /**
6
- * Optional: Namespace
7
- */
8
- namespace?: pulumi.Input<string>;
9
- /**
10
- * Root DN
11
- */
12
- rootDN: pulumi.Input<string>;
13
- /**
14
- * Hostname
15
- */
16
- hostname: pulumi.Input<string>;
17
- /**
18
- * Optional: Storage
19
- */
20
- storage?: pulumi.Input<string>;
21
- /**
22
- * Optional: Resources
23
- */
24
- resources?: pulumi.Input<k8s.types.input.core.v1.ResourceRequirements>;
25
- /**
26
- * Name of cluster issuer
27
- */
28
- clusterIssuer: pulumi.Input<string>;
29
- /**
30
- * Optional: Protect critical resources
31
- */
32
- protect?: boolean;
33
- }
34
- export declare class OpenLdapServer extends ComponentResource {
35
- private readonly podSecurityPolicy;
36
- private readonly serviceAccount;
37
- private readonly role;
38
- private readonly roleBinding;
39
- private readonly dataVolumeClaim;
40
- private readonly adminSecret;
41
- private readonly certificate;
42
- private readonly deployment;
43
- private readonly podDisruptionBudget;
44
- private readonly service;
45
- readonly namespace: pulumi.Output<string>;
46
- readonly adminCN: pulumi.Output<string>;
47
- readonly adminPassword: pulumi.Output<string>;
48
- readonly hostname: pulumi.Output<string>;
49
- readonly rootDN: pulumi.Output<string>;
50
- /**
51
- * Create a new OpenLDAP server resource.
52
- * @param name The name of the OpenLDAP server resource.
53
- * @param args A bag of arguments to control the OpenLDAP server creation.
54
- * @param opts A bag of options that control this resource's behavior.
55
- */
56
- constructor(name: string, args: OpenLdapServerArgs, opts?: pulumi.ComponentResourceOptions);
57
- }
58
- //# sourceMappingURL=deployment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../../lib/openldap/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,C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