k8ts 0.8.1 → 0.9.1

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 (437) hide show
  1. package/dist/default-world.d.ts +5 -0
  2. package/dist/default-world.d.ts.map +1 -0
  3. package/dist/default-world.js +54 -0
  4. package/dist/default-world.js.map +1 -0
  5. package/dist/env/env.d.ts +6 -8
  6. package/dist/env/env.d.ts.map +1 -1
  7. package/dist/env/env.js +29 -28
  8. package/dist/env/env.js.map +1 -1
  9. package/dist/env/index.d.ts +1 -1
  10. package/dist/env/index.d.ts.map +1 -1
  11. package/dist/env/types.d.ts +7 -5
  12. package/dist/env/types.d.ts.map +1 -1
  13. package/dist/env/types.js +11 -0
  14. package/dist/env/types.js.map +1 -1
  15. package/dist/index.d.ts +4 -7
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +5 -31
  18. package/dist/index.js.map +1 -1
  19. package/dist/kinds/apps.d.ts +30 -0
  20. package/dist/kinds/apps.d.ts.map +1 -0
  21. package/dist/kinds/apps.js +33 -0
  22. package/dist/kinds/apps.js.map +1 -0
  23. package/dist/kinds/batch.d.ts +18 -0
  24. package/dist/kinds/batch.d.ts.map +1 -0
  25. package/dist/kinds/batch.js +21 -0
  26. package/dist/kinds/batch.js.map +1 -0
  27. package/dist/kinds/default.d.ts +74 -0
  28. package/dist/kinds/default.d.ts.map +1 -0
  29. package/dist/kinds/default.js +78 -0
  30. package/dist/kinds/default.js.map +1 -0
  31. package/dist/kinds/gateway.d.ts +30 -0
  32. package/dist/kinds/gateway.d.ts.map +1 -0
  33. package/dist/kinds/gateway.js +33 -0
  34. package/dist/kinds/gateway.js.map +1 -0
  35. package/dist/kinds/index.d.ts +9 -0
  36. package/dist/kinds/index.d.ts.map +1 -0
  37. package/dist/{_imports/_mix.js → kinds/index.js} +9 -4
  38. package/dist/kinds/index.js.map +1 -0
  39. package/dist/kinds/metrics.d.ts +18 -0
  40. package/dist/kinds/metrics.d.ts.map +1 -0
  41. package/dist/kinds/metrics.js +21 -0
  42. package/dist/kinds/metrics.js.map +1 -0
  43. package/dist/kinds/networking.d.ts +14 -0
  44. package/dist/kinds/networking.d.ts.map +1 -0
  45. package/dist/kinds/networking.js +17 -0
  46. package/dist/kinds/networking.js.map +1 -0
  47. package/dist/kinds/rbac.d.ts +26 -0
  48. package/dist/kinds/rbac.d.ts.map +1 -0
  49. package/dist/kinds/rbac.js +29 -0
  50. package/dist/kinds/rbac.js.map +1 -0
  51. package/dist/kinds/storage.d.ts +18 -0
  52. package/dist/kinds/storage.d.ts.map +1 -0
  53. package/dist/kinds/storage.js +21 -0
  54. package/dist/kinds/storage.js.map +1 -0
  55. package/dist/origins/external.d.ts +8 -0
  56. package/dist/origins/external.d.ts.map +1 -0
  57. package/dist/origins/external.js +19 -0
  58. package/dist/origins/external.js.map +1 -0
  59. package/dist/origins/file/file.d.ts +24 -0
  60. package/dist/origins/file/file.d.ts.map +1 -0
  61. package/dist/{node/sub-resource.js → origins/file/file.js} +51 -32
  62. package/dist/origins/file/file.js.map +1 -0
  63. package/dist/origins/file/index.d.ts +4 -0
  64. package/dist/origins/file/index.d.ts.map +1 -0
  65. package/dist/{file → origins/file}/index.js +2 -0
  66. package/dist/origins/file/index.js.map +1 -0
  67. package/dist/origins/file/modifier.d.ts +10 -0
  68. package/dist/origins/file/modifier.d.ts.map +1 -0
  69. package/dist/origins/file/modifier.js +21 -0
  70. package/dist/origins/file/modifier.js.map +1 -0
  71. package/dist/origins/file/section.d.ts +18 -0
  72. package/dist/origins/file/section.d.ts.map +1 -0
  73. package/dist/{external/index.js → origins/file/section.js} +40 -41
  74. package/dist/origins/file/section.js.map +1 -0
  75. package/dist/origins/index.d.ts +4 -0
  76. package/dist/origins/index.d.ts.map +1 -0
  77. package/dist/{world → origins}/index.js +2 -0
  78. package/dist/origins/index.js.map +1 -0
  79. package/dist/origins/world.d.ts +13 -0
  80. package/dist/origins/world.d.ts.map +1 -0
  81. package/dist/origins/world.js +27 -0
  82. package/dist/origins/world.js.map +1 -0
  83. package/dist/resources/configmap/configmap.d.ts +10 -12
  84. package/dist/resources/configmap/configmap.d.ts.map +1 -1
  85. package/dist/resources/configmap/configmap.js +21 -72
  86. package/dist/resources/configmap/configmap.js.map +1 -1
  87. package/dist/resources/cronjob/index.d.ts +12 -12
  88. package/dist/resources/cronjob/index.d.ts.map +1 -1
  89. package/dist/resources/cronjob/index.js +29 -86
  90. package/dist/resources/cronjob/index.js.map +1 -1
  91. package/dist/resources/deployment/deployment.d.ts +28 -29
  92. package/dist/resources/deployment/deployment.d.ts.map +1 -1
  93. package/dist/resources/deployment/deployment.js +59 -109
  94. package/dist/resources/deployment/deployment.js.map +1 -1
  95. package/dist/resources/external/index.d.ts +19 -0
  96. package/dist/resources/external/index.d.ts.map +1 -0
  97. package/dist/resources/external/index.js +44 -0
  98. package/dist/resources/external/index.js.map +1 -0
  99. package/dist/resources/http-route/http-route.d.ts +31 -16
  100. package/dist/resources/http-route/http-route.d.ts.map +1 -1
  101. package/dist/resources/http-route/http-route.js +28 -80
  102. package/dist/resources/http-route/http-route.js.map +1 -1
  103. package/dist/resources/index.d.ts +4 -0
  104. package/dist/resources/index.d.ts.map +1 -1
  105. package/dist/resources/index.js +4 -0
  106. package/dist/resources/index.js.map +1 -1
  107. package/dist/resources/namespace/namespace.d.ts +10 -11
  108. package/dist/resources/namespace/namespace.d.ts.map +1 -1
  109. package/dist/resources/namespace/namespace.js +14 -70
  110. package/dist/resources/namespace/namespace.js.map +1 -1
  111. package/dist/resources/persistent/access-mode.d.ts +5 -5
  112. package/dist/resources/persistent/access-mode.d.ts.map +1 -1
  113. package/dist/resources/persistent/access-mode.js +2 -2
  114. package/dist/resources/persistent/access-mode.js.map +1 -1
  115. package/dist/resources/persistent/block-mode.d.ts +1 -1
  116. package/dist/resources/persistent/block-mode.d.ts.map +1 -1
  117. package/dist/resources/persistent/claim/pvc.d.ts +25 -24
  118. package/dist/resources/persistent/claim/pvc.d.ts.map +1 -1
  119. package/dist/resources/persistent/claim/pvc.js +40 -91
  120. package/dist/resources/persistent/claim/pvc.js.map +1 -1
  121. package/dist/resources/persistent/volume/parse-backend.d.ts +2 -2
  122. package/dist/resources/persistent/volume/parse-backend.d.ts.map +1 -1
  123. package/dist/resources/persistent/volume/parse-backend.js.map +1 -1
  124. package/dist/resources/persistent/volume/pv.d.ts +42 -27
  125. package/dist/resources/persistent/volume/pv.d.ts.map +1 -1
  126. package/dist/resources/persistent/volume/pv.js +47 -100
  127. package/dist/resources/persistent/volume/pv.js.map +1 -1
  128. package/dist/resources/pod/container/container.d.ts +42 -48
  129. package/dist/resources/pod/container/container.d.ts.map +1 -1
  130. package/dist/resources/pod/container/container.js +89 -143
  131. package/dist/resources/pod/container/container.js.map +1 -1
  132. package/dist/resources/pod/container/mounts.d.ts +29 -30
  133. package/dist/resources/pod/container/mounts.d.ts.map +1 -1
  134. package/dist/resources/pod/container/mounts.js +42 -41
  135. package/dist/resources/pod/container/mounts.js.map +1 -1
  136. package/dist/resources/pod/pod-template.d.ts +41 -40
  137. package/dist/resources/pod/pod-template.d.ts.map +1 -1
  138. package/dist/resources/pod/pod-template.js +76 -110
  139. package/dist/resources/pod/pod-template.js.map +1 -1
  140. package/dist/resources/pod/volume/devices.d.ts +18 -20
  141. package/dist/resources/pod/volume/devices.d.ts.map +1 -1
  142. package/dist/resources/pod/volume/devices.js +33 -85
  143. package/dist/resources/pod/volume/devices.js.map +1 -1
  144. package/dist/resources/pod/volume/index.d.ts +2 -3
  145. package/dist/resources/pod/volume/index.d.ts.map +1 -1
  146. package/dist/resources/pod/volume/index.js +3 -5
  147. package/dist/resources/pod/volume/index.js.map +1 -1
  148. package/dist/resources/pod/volume/volumes.d.ts +24 -25
  149. package/dist/resources/pod/volume/volumes.d.ts.map +1 -1
  150. package/dist/resources/pod/volume/volumes.js +66 -108
  151. package/dist/resources/pod/volume/volumes.js.map +1 -1
  152. package/dist/resources/rbac/cluster-role-binding.d.ts +17 -0
  153. package/dist/resources/rbac/cluster-role-binding.d.ts.map +1 -0
  154. package/dist/resources/rbac/cluster-role-binding.js +32 -0
  155. package/dist/resources/rbac/cluster-role-binding.js.map +1 -0
  156. package/dist/resources/rbac/cluster-role.d.ts +28 -0
  157. package/dist/resources/rbac/cluster-role.d.ts.map +1 -0
  158. package/dist/resources/rbac/cluster-role.js +46 -0
  159. package/dist/resources/rbac/cluster-role.js.map +1 -0
  160. package/dist/resources/rbac/service-account.d.ts +11 -0
  161. package/dist/resources/rbac/service-account.d.ts.map +1 -0
  162. package/dist/resources/rbac/service-account.js +21 -0
  163. package/dist/resources/rbac/service-account.js.map +1 -0
  164. package/dist/resources/secret/index.d.ts +1 -3
  165. package/dist/resources/secret/index.d.ts.map +1 -1
  166. package/dist/resources/secret/index.js +4 -25
  167. package/dist/resources/secret/index.js.map +1 -1
  168. package/dist/resources/secret/secret.d.ts +8 -4
  169. package/dist/resources/secret/secret.d.ts.map +1 -1
  170. package/dist/resources/secret/secret.js +12 -65
  171. package/dist/resources/secret/secret.js.map +1 -1
  172. package/dist/resources/service/service-port.d.ts +12 -15
  173. package/dist/resources/service/service-port.d.ts.map +1 -1
  174. package/dist/resources/service/service-port.js +21 -24
  175. package/dist/resources/service/service-port.js.map +1 -1
  176. package/dist/resources/service/service.d.ts +33 -27
  177. package/dist/resources/service/service.d.ts.map +1 -1
  178. package/dist/resources/service/service.js +63 -123
  179. package/dist/resources/service/service.js.map +1 -1
  180. package/dist/resources/utils/adapters.d.ts +3 -3
  181. package/dist/resources/utils/adapters.d.ts.map +1 -1
  182. package/dist/resources/utils/adapters.js +5 -4
  183. package/dist/resources/utils/adapters.js.map +1 -1
  184. package/dist/runner/exporter/assembler.d.ts +5 -6
  185. package/dist/runner/exporter/assembler.d.ts.map +1 -1
  186. package/dist/runner/exporter/assembler.js +4 -3
  187. package/dist/runner/exporter/assembler.js.map +1 -1
  188. package/dist/runner/exporter/loader.d.ts +3 -5
  189. package/dist/runner/exporter/loader.d.ts.map +1 -1
  190. package/dist/runner/exporter/loader.js +18 -31
  191. package/dist/runner/exporter/loader.js.map +1 -1
  192. package/dist/runner/exporter/manifester.d.ts +5 -5
  193. package/dist/runner/exporter/manifester.d.ts.map +1 -1
  194. package/dist/runner/exporter/manifester.js +11 -3
  195. package/dist/runner/exporter/manifester.js.map +1 -1
  196. package/dist/runner/exporter/meta.d.ts +1 -1
  197. package/dist/runner/exporter/meta.d.ts.map +1 -1
  198. package/dist/runner/exporter/meta.js +0 -2
  199. package/dist/runner/exporter/meta.js.map +1 -1
  200. package/dist/runner/exporter/saver.d.ts +2 -2
  201. package/dist/runner/exporter/saver.d.ts.map +1 -1
  202. package/dist/runner/exporter/saver.js.map +1 -1
  203. package/dist/runner/exporter/serializer.d.ts +4 -4
  204. package/dist/runner/exporter/serializer.d.ts.map +1 -1
  205. package/dist/runner/exporter/serializer.js +13 -5
  206. package/dist/runner/exporter/serializer.js.map +1 -1
  207. package/dist/runner/exporter/validator.d.ts +2 -2
  208. package/dist/runner/exporter/validator.d.ts.map +1 -1
  209. package/dist/runner/exporter/validator.js +1 -14
  210. package/dist/runner/exporter/validator.js.map +1 -1
  211. package/dist/runner/paths.d.ts.map +1 -0
  212. package/dist/runner/paths.js.map +1 -0
  213. package/dist/runner/runner.d.ts +2 -2
  214. package/dist/runner/runner.d.ts.map +1 -1
  215. package/dist/runner/runner.js +11 -6
  216. package/dist/runner/runner.js.map +1 -1
  217. package/dist/runner/summarizer.d.ts +4 -4
  218. package/dist/runner/summarizer.d.ts.map +1 -1
  219. package/dist/runner/summarizer.js +3 -3
  220. package/dist/runner/summarizer.js.map +1 -1
  221. package/dist/version.d.ts +2 -1
  222. package/dist/version.d.ts.map +1 -1
  223. package/dist/version.js +2 -1
  224. package/dist/version.js.map +1 -1
  225. package/package.json +10 -16
  226. package/src/default-world.ts +66 -0
  227. package/src/env/env.ts +42 -36
  228. package/src/env/index.ts +1 -1
  229. package/src/env/types.ts +15 -5
  230. package/src/index.ts +4 -7
  231. package/src/kinds/apps.ts +30 -0
  232. package/src/kinds/batch.ts +18 -0
  233. package/src/kinds/default.ts +81 -0
  234. package/src/kinds/gateway.ts +30 -0
  235. package/src/kinds/index.ts +9 -0
  236. package/src/kinds/metrics.ts +18 -0
  237. package/src/kinds/networking.ts +14 -0
  238. package/src/kinds/rbac.ts +26 -0
  239. package/src/kinds/storage.ts +18 -0
  240. package/src/origins/external.ts +14 -0
  241. package/src/origins/file/file.ts +72 -0
  242. package/src/origins/file/index.ts +3 -0
  243. package/src/origins/file/modifier.ts +21 -0
  244. package/src/origins/file/section.ts +43 -0
  245. package/src/origins/index.ts +3 -0
  246. package/src/origins/world.ts +40 -0
  247. package/src/resources/configmap/configmap.ts +26 -31
  248. package/src/resources/cronjob/index.ts +33 -43
  249. package/src/resources/deployment/deployment.ts +85 -76
  250. package/src/resources/external/index.ts +49 -0
  251. package/src/resources/http-route/http-route.ts +40 -39
  252. package/src/resources/index.ts +4 -0
  253. package/src/resources/namespace/namespace.ts +16 -24
  254. package/src/resources/persistent/access-mode.ts +6 -6
  255. package/src/resources/persistent/block-mode.ts +1 -1
  256. package/src/resources/persistent/claim/pvc.ts +54 -55
  257. package/src/resources/persistent/volume/parse-backend.ts +2 -2
  258. package/src/resources/persistent/volume/pv.ts +87 -69
  259. package/src/resources/pod/container/container.ts +113 -120
  260. package/src/resources/pod/container/mounts.ts +42 -39
  261. package/src/resources/pod/pod-template.ts +80 -67
  262. package/src/resources/pod/volume/devices.ts +41 -42
  263. package/src/resources/pod/volume/index.ts +2 -3
  264. package/src/resources/pod/volume/volumes.ts +92 -70
  265. package/src/resources/rbac/cluster-role-binding.ts +40 -0
  266. package/src/resources/rbac/cluster-role.ts +99 -0
  267. package/src/resources/rbac/service-account.ts +25 -0
  268. package/src/resources/secret/index.ts +1 -3
  269. package/src/resources/secret/secret.ts +11 -17
  270. package/src/resources/service/service-port.ts +21 -25
  271. package/src/resources/service/service.ts +84 -92
  272. package/src/resources/utils/adapters.ts +4 -3
  273. package/src/runner/exporter/assembler.ts +9 -9
  274. package/src/runner/exporter/loader.ts +24 -40
  275. package/src/runner/exporter/manifester.ts +24 -14
  276. package/src/runner/exporter/meta.ts +0 -1
  277. package/src/runner/exporter/saver.ts +3 -2
  278. package/src/runner/exporter/serializer.ts +20 -7
  279. package/src/runner/exporter/validator.ts +3 -17
  280. package/src/runner/runner.ts +17 -12
  281. package/src/runner/summarizer.ts +9 -9
  282. package/src/version.ts +2 -1
  283. package/dist/_imports/_mix.d.ts +0 -4
  284. package/dist/_imports/_mix.d.ts.map +0 -1
  285. package/dist/_imports/_mix.js.map +0 -1
  286. package/dist/_imports/acme.cert-manager.io.d.ts +0 -4832
  287. package/dist/_imports/acme.cert-manager.io.d.ts.map +0 -1
  288. package/dist/_imports/acme.cert-manager.io.js +0 -2476
  289. package/dist/_imports/acme.cert-manager.io.js.map +0 -1
  290. package/dist/_imports/gateway.networking.k8s.io.d.ts +0 -8786
  291. package/dist/_imports/gateway.networking.k8s.io.d.ts.map +0 -1
  292. package/dist/_imports/gateway.networking.k8s.io.js +0 -3668
  293. package/dist/_imports/gateway.networking.k8s.io.js.map +0 -1
  294. package/dist/_imports/helm.toolkit.fluxcd.io.d.ts +0 -4894
  295. package/dist/_imports/helm.toolkit.fluxcd.io.d.ts.map +0 -1
  296. package/dist/_imports/helm.toolkit.fluxcd.io.js +0 -2430
  297. package/dist/_imports/helm.toolkit.fluxcd.io.js.map +0 -1
  298. package/dist/_imports/index.d.ts +0 -3
  299. package/dist/_imports/index.d.ts.map +0 -1
  300. package/dist/_imports/index.js +0 -39
  301. package/dist/_imports/index.js.map +0 -1
  302. package/dist/_imports/k8s.d.ts +0 -18782
  303. package/dist/_imports/k8s.d.ts.map +0 -1
  304. package/dist/_imports/k8s.js +0 -12173
  305. package/dist/_imports/k8s.js.map +0 -1
  306. package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts +0 -2367
  307. package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts.map +0 -1
  308. package/dist/_imports/kustomize.toolkit.fluxcd.io.js +0 -1285
  309. package/dist/_imports/kustomize.toolkit.fluxcd.io.js.map +0 -1
  310. package/dist/_imports/notification.toolkit.fluxcd.io.d.ts +0 -2005
  311. package/dist/_imports/notification.toolkit.fluxcd.io.d.ts.map +0 -1
  312. package/dist/_imports/notification.toolkit.fluxcd.io.js +0 -1575
  313. package/dist/_imports/notification.toolkit.fluxcd.io.js.map +0 -1
  314. package/dist/_imports/source.toolkit.fluxcd.io.d.ts +0 -4158
  315. package/dist/_imports/source.toolkit.fluxcd.io.d.ts.map +0 -1
  316. package/dist/_imports/source.toolkit.fluxcd.io.js +0 -2739
  317. package/dist/_imports/source.toolkit.fluxcd.io.js.map +0 -1
  318. package/dist/external/index.d.ts +0 -13
  319. package/dist/external/index.d.ts.map +0 -1
  320. package/dist/external/index.js.map +0 -1
  321. package/dist/file/exports.d.ts +0 -19
  322. package/dist/file/exports.d.ts.map +0 -1
  323. package/dist/file/exports.js +0 -53
  324. package/dist/file/exports.js.map +0 -1
  325. package/dist/file/factory.d.ts +0 -41
  326. package/dist/file/factory.d.ts.map +0 -1
  327. package/dist/file/factory.js +0 -197
  328. package/dist/file/factory.js.map +0 -1
  329. package/dist/file/file.d.ts +0 -16
  330. package/dist/file/file.d.ts.map +0 -1
  331. package/dist/file/file.js +0 -21
  332. package/dist/file/file.js.map +0 -1
  333. package/dist/file/index.d.ts +0 -2
  334. package/dist/file/index.d.ts.map +0 -1
  335. package/dist/file/index.js.map +0 -1
  336. package/dist/file/origin.d.ts +0 -21
  337. package/dist/file/origin.d.ts.map +0 -1
  338. package/dist/file/origin.js +0 -27
  339. package/dist/file/origin.js.map +0 -1
  340. package/dist/k8ts-sys-kind.d.ts +0 -3
  341. package/dist/k8ts-sys-kind.d.ts.map +0 -1
  342. package/dist/k8ts-sys-kind.js +0 -8
  343. package/dist/k8ts-sys-kind.js.map +0 -1
  344. package/dist/kind-map.d.ts +0 -12
  345. package/dist/kind-map.d.ts.map +0 -1
  346. package/dist/kind-map.js +0 -30
  347. package/dist/kind-map.js.map +0 -1
  348. package/dist/kinds.d.ts +0 -115
  349. package/dist/kinds.d.ts.map +0 -1
  350. package/dist/kinds.js +0 -95
  351. package/dist/kinds.js.map +0 -1
  352. package/dist/meta/k8ts-section.d.ts +0 -3
  353. package/dist/meta/k8ts-section.d.ts.map +0 -1
  354. package/dist/meta/k8ts-section.js +0 -10
  355. package/dist/meta/k8ts-section.js.map +0 -1
  356. package/dist/node/abs-resource.d.ts +0 -16
  357. package/dist/node/abs-resource.d.ts.map +0 -1
  358. package/dist/node/abs-resource.js +0 -79
  359. package/dist/node/abs-resource.js.map +0 -1
  360. package/dist/node/dependencies.d.ts +0 -2
  361. package/dist/node/dependencies.d.ts.map +0 -1
  362. package/dist/node/dependencies.js +0 -3
  363. package/dist/node/dependencies.js.map +0 -1
  364. package/dist/node/equiv-cdk8s.d.ts +0 -9
  365. package/dist/node/equiv-cdk8s.d.ts.map +0 -1
  366. package/dist/node/equiv-cdk8s.js +0 -17
  367. package/dist/node/equiv-cdk8s.js.map +0 -1
  368. package/dist/node/index.d.ts +0 -5
  369. package/dist/node/index.d.ts.map +0 -1
  370. package/dist/node/index.js +0 -12
  371. package/dist/node/index.js.map +0 -1
  372. package/dist/node/manifest-resource.d.ts +0 -15
  373. package/dist/node/manifest-resource.d.ts.map +0 -1
  374. package/dist/node/manifest-resource.js +0 -20
  375. package/dist/node/manifest-resource.js.map +0 -1
  376. package/dist/node/sub-resource.d.ts +0 -8
  377. package/dist/node/sub-resource.d.ts.map +0 -1
  378. package/dist/node/sub-resource.js.map +0 -1
  379. package/dist/node/top-resource.d.ts +0 -7
  380. package/dist/node/top-resource.d.ts.map +0 -1
  381. package/dist/node/top-resource.js +0 -8
  382. package/dist/node/top-resource.js.map +0 -1
  383. package/dist/paths.d.ts.map +0 -1
  384. package/dist/paths.js.map +0 -1
  385. package/dist/resources/persistent/volume/backend.d.ts +0 -19
  386. package/dist/resources/persistent/volume/backend.d.ts.map +0 -1
  387. package/dist/resources/persistent/volume/backend.js +0 -3
  388. package/dist/resources/persistent/volume/backend.js.map +0 -1
  389. package/dist/resources/service/frontend.d.ts +0 -11
  390. package/dist/resources/service/frontend.d.ts.map +0 -1
  391. package/dist/resources/service/frontend.js +0 -3
  392. package/dist/resources/service/frontend.js.map +0 -1
  393. package/dist/runner/exporter/trace-embedder.d.ts +0 -2
  394. package/dist/runner/exporter/trace-embedder.d.ts.map +0 -1
  395. package/dist/runner/exporter/trace-embedder.js +0 -3
  396. package/dist/runner/exporter/trace-embedder.js.map +0 -1
  397. package/dist/world/index.d.ts +0 -2
  398. package/dist/world/index.d.ts.map +0 -1
  399. package/dist/world/index.js.map +0 -1
  400. package/dist/world/world.d.ts +0 -34
  401. package/dist/world/world.d.ts.map +0 -1
  402. package/dist/world/world.js +0 -69
  403. package/dist/world/world.js.map +0 -1
  404. package/src/_imports/_mix.ts +0 -3
  405. package/src/_imports/acme.cert-manager.io.ts +0 -8202
  406. package/src/_imports/gateway.networking.k8s.io.ts +0 -12226
  407. package/src/_imports/helm.toolkit.fluxcd.io.ts +0 -6748
  408. package/src/_imports/index.ts +0 -2
  409. package/src/_imports/k8s.ts +0 -31028
  410. package/src/_imports/kustomize.toolkit.fluxcd.io.ts +0 -3369
  411. package/src/_imports/notification.toolkit.fluxcd.io.ts +0 -2848
  412. package/src/_imports/source.toolkit.fluxcd.io.ts +0 -6054
  413. package/src/external/index.ts +0 -34
  414. package/src/file/exports.ts +0 -66
  415. package/src/file/factory.ts +0 -199
  416. package/src/file/file.ts +0 -33
  417. package/src/file/index.ts +0 -1
  418. package/src/file/origin.ts +0 -41
  419. package/src/k8ts-sys-kind.ts +0 -4
  420. package/src/kind-map.ts +0 -42
  421. package/src/kinds.ts +0 -158
  422. package/src/meta/k8ts-section.ts +0 -6
  423. package/src/node/abs-resource.ts +0 -37
  424. package/src/node/dependencies.ts +0 -0
  425. package/src/node/equiv-cdk8s.ts +0 -19
  426. package/src/node/index.ts +0 -4
  427. package/src/node/manifest-resource.ts +0 -23
  428. package/src/node/sub-resource.ts +0 -20
  429. package/src/node/top-resource.ts +0 -7
  430. package/src/resources/persistent/volume/backend.ts +0 -20
  431. package/src/resources/service/frontend.ts +0 -11
  432. package/src/runner/exporter/trace-embedder.ts +0 -0
  433. package/src/world/index.ts +0 -1
  434. package/src/world/world.ts +0 -90
  435. /package/dist/{paths.d.ts → runner/paths.d.ts} +0 -0
  436. /package/dist/{paths.js → runner/paths.js} +0 -0
  437. /package/src/{paths.ts → runner/paths.ts} +0 -0
@@ -1,4158 +0,0 @@
1
- import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
2
- import { Construct } from 'constructs';
3
- /**
4
- * Bucket is the Schema for the buckets API.
5
- *
6
- * @schema Bucket
7
- */
8
- export declare class Bucket extends ApiObject {
9
- /**
10
- * Returns the apiVersion and kind for "Bucket"
11
- */
12
- static readonly GVK: GroupVersionKind;
13
- /**
14
- * Renders a Kubernetes manifest for "Bucket".
15
- *
16
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
17
- *
18
- * @param props initialization props
19
- */
20
- static manifest(props?: BucketProps): any;
21
- /**
22
- * Defines a "Bucket" API object
23
- * @param scope the scope in which to define this object
24
- * @param id a scope-local name for the object
25
- * @param props initialization props
26
- */
27
- constructor(scope: Construct, id: string, props?: BucketProps);
28
- /**
29
- * Renders the object to Kubernetes JSON.
30
- */
31
- toJson(): any;
32
- }
33
- /**
34
- * Bucket is the Schema for the buckets API.
35
- *
36
- * @schema Bucket
37
- */
38
- export interface BucketProps {
39
- /**
40
- * @schema Bucket#metadata
41
- */
42
- readonly metadata?: ApiObjectMetadata;
43
- /**
44
- * BucketSpec specifies the required configuration to produce an Artifact for
45
- * an object storage bucket.
46
- *
47
- * @schema Bucket#spec
48
- */
49
- readonly spec?: BucketSpec;
50
- }
51
- /**
52
- * Converts an object of type 'BucketProps' to JSON representation.
53
- */
54
- export declare function toJson_BucketProps(obj: BucketProps | undefined): Record<string, any> | undefined;
55
- /**
56
- * BucketSpec specifies the required configuration to produce an Artifact for
57
- * an object storage bucket.
58
- *
59
- * @schema BucketSpec
60
- */
61
- export interface BucketSpec {
62
- /**
63
- * BucketName is the name of the object storage bucket.
64
- *
65
- * @schema BucketSpec#bucketName
66
- */
67
- readonly bucketName: string;
68
- /**
69
- * CertSecretRef can be given the name of a Secret containing
70
- * either or both of
71
- *
72
- * - a PEM-encoded client certificate (`tls.crt`) and private
73
- * key (`tls.key`);
74
- * - a PEM-encoded CA certificate (`ca.crt`)
75
- *
76
- * and whichever are supplied, will be used for connecting to the
77
- * bucket. The client cert and key are useful if you are
78
- * authenticating with a certificate; the CA cert is useful if
79
- * you are using a self-signed server certificate. The Secret must
80
- * be of type `Opaque` or `kubernetes.io/tls`.
81
- *
82
- * This field is only supported for the `generic` provider.
83
- *
84
- * @schema BucketSpec#certSecretRef
85
- */
86
- readonly certSecretRef?: BucketSpecCertSecretRef;
87
- /**
88
- * Endpoint is the object storage address the BucketName is located at.
89
- *
90
- * @schema BucketSpec#endpoint
91
- */
92
- readonly endpoint: string;
93
- /**
94
- * Ignore overrides the set of excluded patterns in the .sourceignore format
95
- * (which is the same as .gitignore). If not provided, a default will be used,
96
- * consult the documentation for your version to find out what those are.
97
- *
98
- * @schema BucketSpec#ignore
99
- */
100
- readonly ignore?: string;
101
- /**
102
- * Insecure allows connecting to a non-TLS HTTP Endpoint.
103
- *
104
- * @schema BucketSpec#insecure
105
- */
106
- readonly insecure?: boolean;
107
- /**
108
- * Interval at which the Bucket Endpoint is checked for updates.
109
- * This interval is approximate and may be subject to jitter to ensure
110
- * efficient use of resources.
111
- *
112
- * @schema BucketSpec#interval
113
- */
114
- readonly interval: string;
115
- /**
116
- * Prefix to use for server-side filtering of files in the Bucket.
117
- *
118
- * @schema BucketSpec#prefix
119
- */
120
- readonly prefix?: string;
121
- /**
122
- * Provider of the object storage bucket.
123
- * Defaults to 'generic', which expects an S3 (API) compatible object
124
- * storage.
125
- *
126
- * @default generic', which expects an S3 (API) compatible object
127
- * @schema BucketSpec#provider
128
- */
129
- readonly provider?: BucketSpecProvider;
130
- /**
131
- * ProxySecretRef specifies the Secret containing the proxy configuration
132
- * to use while communicating with the Bucket server.
133
- *
134
- * @schema BucketSpec#proxySecretRef
135
- */
136
- readonly proxySecretRef?: BucketSpecProxySecretRef;
137
- /**
138
- * Region of the Endpoint where the BucketName is located in.
139
- *
140
- * @schema BucketSpec#region
141
- */
142
- readonly region?: string;
143
- /**
144
- * SecretRef specifies the Secret containing authentication credentials
145
- * for the Bucket.
146
- *
147
- * @schema BucketSpec#secretRef
148
- */
149
- readonly secretRef?: BucketSpecSecretRef;
150
- /**
151
- * STS specifies the required configuration to use a Security Token
152
- * Service for fetching temporary credentials to authenticate in a
153
- * Bucket provider.
154
- *
155
- * This field is only supported for the `aws` and `generic` providers.
156
- *
157
- * @schema BucketSpec#sts
158
- */
159
- readonly sts?: BucketSpecSts;
160
- /**
161
- * Suspend tells the controller to suspend the reconciliation of this
162
- * Bucket.
163
- *
164
- * @schema BucketSpec#suspend
165
- */
166
- readonly suspend?: boolean;
167
- /**
168
- * Timeout for fetch operations, defaults to 60s.
169
- *
170
- * @schema BucketSpec#timeout
171
- */
172
- readonly timeout?: string;
173
- }
174
- /**
175
- * Converts an object of type 'BucketSpec' to JSON representation.
176
- */
177
- export declare function toJson_BucketSpec(obj: BucketSpec | undefined): Record<string, any> | undefined;
178
- /**
179
- * CertSecretRef can be given the name of a Secret containing
180
- * either or both of
181
- *
182
- * - a PEM-encoded client certificate (`tls.crt`) and private
183
- * key (`tls.key`);
184
- * - a PEM-encoded CA certificate (`ca.crt`)
185
- *
186
- * and whichever are supplied, will be used for connecting to the
187
- * bucket. The client cert and key are useful if you are
188
- * authenticating with a certificate; the CA cert is useful if
189
- * you are using a self-signed server certificate. The Secret must
190
- * be of type `Opaque` or `kubernetes.io/tls`.
191
- *
192
- * This field is only supported for the `generic` provider.
193
- *
194
- * @schema BucketSpecCertSecretRef
195
- */
196
- export interface BucketSpecCertSecretRef {
197
- /**
198
- * Name of the referent.
199
- *
200
- * @schema BucketSpecCertSecretRef#name
201
- */
202
- readonly name: string;
203
- }
204
- /**
205
- * Converts an object of type 'BucketSpecCertSecretRef' to JSON representation.
206
- */
207
- export declare function toJson_BucketSpecCertSecretRef(obj: BucketSpecCertSecretRef | undefined): Record<string, any> | undefined;
208
- /**
209
- * Provider of the object storage bucket.
210
- * Defaults to 'generic', which expects an S3 (API) compatible object
211
- * storage.
212
- *
213
- * @default generic', which expects an S3 (API) compatible object
214
- * @schema BucketSpecProvider
215
- */
216
- export declare enum BucketSpecProvider {
217
- /** generic */
218
- GENERIC = "generic",
219
- /** aws */
220
- AWS = "aws",
221
- /** gcp */
222
- GCP = "gcp",
223
- /** azure */
224
- AZURE = "azure"
225
- }
226
- /**
227
- * ProxySecretRef specifies the Secret containing the proxy configuration
228
- * to use while communicating with the Bucket server.
229
- *
230
- * @schema BucketSpecProxySecretRef
231
- */
232
- export interface BucketSpecProxySecretRef {
233
- /**
234
- * Name of the referent.
235
- *
236
- * @schema BucketSpecProxySecretRef#name
237
- */
238
- readonly name: string;
239
- }
240
- /**
241
- * Converts an object of type 'BucketSpecProxySecretRef' to JSON representation.
242
- */
243
- export declare function toJson_BucketSpecProxySecretRef(obj: BucketSpecProxySecretRef | undefined): Record<string, any> | undefined;
244
- /**
245
- * SecretRef specifies the Secret containing authentication credentials
246
- * for the Bucket.
247
- *
248
- * @schema BucketSpecSecretRef
249
- */
250
- export interface BucketSpecSecretRef {
251
- /**
252
- * Name of the referent.
253
- *
254
- * @schema BucketSpecSecretRef#name
255
- */
256
- readonly name: string;
257
- }
258
- /**
259
- * Converts an object of type 'BucketSpecSecretRef' to JSON representation.
260
- */
261
- export declare function toJson_BucketSpecSecretRef(obj: BucketSpecSecretRef | undefined): Record<string, any> | undefined;
262
- /**
263
- * STS specifies the required configuration to use a Security Token
264
- * Service for fetching temporary credentials to authenticate in a
265
- * Bucket provider.
266
- *
267
- * This field is only supported for the `aws` and `generic` providers.
268
- *
269
- * @schema BucketSpecSts
270
- */
271
- export interface BucketSpecSts {
272
- /**
273
- * CertSecretRef can be given the name of a Secret containing
274
- * either or both of
275
- *
276
- * - a PEM-encoded client certificate (`tls.crt`) and private
277
- * key (`tls.key`);
278
- * - a PEM-encoded CA certificate (`ca.crt`)
279
- *
280
- * and whichever are supplied, will be used for connecting to the
281
- * STS endpoint. The client cert and key are useful if you are
282
- * authenticating with a certificate; the CA cert is useful if
283
- * you are using a self-signed server certificate. The Secret must
284
- * be of type `Opaque` or `kubernetes.io/tls`.
285
- *
286
- * This field is only supported for the `ldap` provider.
287
- *
288
- * @schema BucketSpecSts#certSecretRef
289
- */
290
- readonly certSecretRef?: BucketSpecStsCertSecretRef;
291
- /**
292
- * Endpoint is the HTTP/S endpoint of the Security Token Service from
293
- * where temporary credentials will be fetched.
294
- *
295
- * @schema BucketSpecSts#endpoint
296
- */
297
- readonly endpoint: string;
298
- /**
299
- * Provider of the Security Token Service.
300
- *
301
- * @schema BucketSpecSts#provider
302
- */
303
- readonly provider: BucketSpecStsProvider;
304
- /**
305
- * SecretRef specifies the Secret containing authentication credentials
306
- * for the STS endpoint. This Secret must contain the fields `username`
307
- * and `password` and is supported only for the `ldap` provider.
308
- *
309
- * @schema BucketSpecSts#secretRef
310
- */
311
- readonly secretRef?: BucketSpecStsSecretRef;
312
- }
313
- /**
314
- * Converts an object of type 'BucketSpecSts' to JSON representation.
315
- */
316
- export declare function toJson_BucketSpecSts(obj: BucketSpecSts | undefined): Record<string, any> | undefined;
317
- /**
318
- * CertSecretRef can be given the name of a Secret containing
319
- * either or both of
320
- *
321
- * - a PEM-encoded client certificate (`tls.crt`) and private
322
- * key (`tls.key`);
323
- * - a PEM-encoded CA certificate (`ca.crt`)
324
- *
325
- * and whichever are supplied, will be used for connecting to the
326
- * STS endpoint. The client cert and key are useful if you are
327
- * authenticating with a certificate; the CA cert is useful if
328
- * you are using a self-signed server certificate. The Secret must
329
- * be of type `Opaque` or `kubernetes.io/tls`.
330
- *
331
- * This field is only supported for the `ldap` provider.
332
- *
333
- * @schema BucketSpecStsCertSecretRef
334
- */
335
- export interface BucketSpecStsCertSecretRef {
336
- /**
337
- * Name of the referent.
338
- *
339
- * @schema BucketSpecStsCertSecretRef#name
340
- */
341
- readonly name: string;
342
- }
343
- /**
344
- * Converts an object of type 'BucketSpecStsCertSecretRef' to JSON representation.
345
- */
346
- export declare function toJson_BucketSpecStsCertSecretRef(obj: BucketSpecStsCertSecretRef | undefined): Record<string, any> | undefined;
347
- /**
348
- * Provider of the Security Token Service.
349
- *
350
- * @schema BucketSpecStsProvider
351
- */
352
- export declare enum BucketSpecStsProvider {
353
- /** aws */
354
- AWS = "aws",
355
- /** ldap */
356
- LDAP = "ldap"
357
- }
358
- /**
359
- * SecretRef specifies the Secret containing authentication credentials
360
- * for the STS endpoint. This Secret must contain the fields `username`
361
- * and `password` and is supported only for the `ldap` provider.
362
- *
363
- * @schema BucketSpecStsSecretRef
364
- */
365
- export interface BucketSpecStsSecretRef {
366
- /**
367
- * Name of the referent.
368
- *
369
- * @schema BucketSpecStsSecretRef#name
370
- */
371
- readonly name: string;
372
- }
373
- /**
374
- * Converts an object of type 'BucketSpecStsSecretRef' to JSON representation.
375
- */
376
- export declare function toJson_BucketSpecStsSecretRef(obj: BucketSpecStsSecretRef | undefined): Record<string, any> | undefined;
377
- /**
378
- * Bucket is the Schema for the buckets API
379
- *
380
- * @schema BucketV1Beta1
381
- */
382
- export declare class BucketV1Beta1 extends ApiObject {
383
- /**
384
- * Returns the apiVersion and kind for "BucketV1Beta1"
385
- */
386
- static readonly GVK: GroupVersionKind;
387
- /**
388
- * Renders a Kubernetes manifest for "BucketV1Beta1".
389
- *
390
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
391
- *
392
- * @param props initialization props
393
- */
394
- static manifest(props?: BucketV1Beta1Props): any;
395
- /**
396
- * Defines a "BucketV1Beta1" API object
397
- * @param scope the scope in which to define this object
398
- * @param id a scope-local name for the object
399
- * @param props initialization props
400
- */
401
- constructor(scope: Construct, id: string, props?: BucketV1Beta1Props);
402
- /**
403
- * Renders the object to Kubernetes JSON.
404
- */
405
- toJson(): any;
406
- }
407
- /**
408
- * Bucket is the Schema for the buckets API
409
- *
410
- * @schema BucketV1Beta1
411
- */
412
- export interface BucketV1Beta1Props {
413
- /**
414
- * @schema BucketV1Beta1#metadata
415
- */
416
- readonly metadata?: ApiObjectMetadata;
417
- /**
418
- * BucketSpec defines the desired state of an S3 compatible bucket
419
- *
420
- * @schema BucketV1Beta1#spec
421
- */
422
- readonly spec?: BucketV1Beta1Spec;
423
- }
424
- /**
425
- * Converts an object of type 'BucketV1Beta1Props' to JSON representation.
426
- */
427
- export declare function toJson_BucketV1Beta1Props(obj: BucketV1Beta1Props | undefined): Record<string, any> | undefined;
428
- /**
429
- * BucketSpec defines the desired state of an S3 compatible bucket
430
- *
431
- * @schema BucketV1Beta1Spec
432
- */
433
- export interface BucketV1Beta1Spec {
434
- /**
435
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
436
- *
437
- * @schema BucketV1Beta1Spec#accessFrom
438
- */
439
- readonly accessFrom?: BucketV1Beta1SpecAccessFrom;
440
- /**
441
- * The bucket name.
442
- *
443
- * @schema BucketV1Beta1Spec#bucketName
444
- */
445
- readonly bucketName: string;
446
- /**
447
- * The bucket endpoint address.
448
- *
449
- * @schema BucketV1Beta1Spec#endpoint
450
- */
451
- readonly endpoint: string;
452
- /**
453
- * Ignore overrides the set of excluded patterns in the .sourceignore format
454
- * (which is the same as .gitignore). If not provided, a default will be used,
455
- * consult the documentation for your version to find out what those are.
456
- *
457
- * @schema BucketV1Beta1Spec#ignore
458
- */
459
- readonly ignore?: string;
460
- /**
461
- * Insecure allows connecting to a non-TLS S3 HTTP endpoint.
462
- *
463
- * @schema BucketV1Beta1Spec#insecure
464
- */
465
- readonly insecure?: boolean;
466
- /**
467
- * The interval at which to check for bucket updates.
468
- *
469
- * @schema BucketV1Beta1Spec#interval
470
- */
471
- readonly interval: string;
472
- /**
473
- * The S3 compatible storage provider name, default ('generic').
474
- *
475
- * @schema BucketV1Beta1Spec#provider
476
- */
477
- readonly provider?: BucketV1Beta1SpecProvider;
478
- /**
479
- * The bucket region.
480
- *
481
- * @schema BucketV1Beta1Spec#region
482
- */
483
- readonly region?: string;
484
- /**
485
- * The name of the secret containing authentication credentials
486
- * for the Bucket.
487
- *
488
- * @schema BucketV1Beta1Spec#secretRef
489
- */
490
- readonly secretRef?: BucketV1Beta1SpecSecretRef;
491
- /**
492
- * This flag tells the controller to suspend the reconciliation of this source.
493
- *
494
- * @schema BucketV1Beta1Spec#suspend
495
- */
496
- readonly suspend?: boolean;
497
- /**
498
- * The timeout for download operations, defaults to 60s.
499
- *
500
- * @schema BucketV1Beta1Spec#timeout
501
- */
502
- readonly timeout?: string;
503
- }
504
- /**
505
- * Converts an object of type 'BucketV1Beta1Spec' to JSON representation.
506
- */
507
- export declare function toJson_BucketV1Beta1Spec(obj: BucketV1Beta1Spec | undefined): Record<string, any> | undefined;
508
- /**
509
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
510
- *
511
- * @schema BucketV1Beta1SpecAccessFrom
512
- */
513
- export interface BucketV1Beta1SpecAccessFrom {
514
- /**
515
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
516
- * Items in this list are evaluated using a logical OR operation.
517
- *
518
- * @schema BucketV1Beta1SpecAccessFrom#namespaceSelectors
519
- */
520
- readonly namespaceSelectors: BucketV1Beta1SpecAccessFromNamespaceSelectors[];
521
- }
522
- /**
523
- * Converts an object of type 'BucketV1Beta1SpecAccessFrom' to JSON representation.
524
- */
525
- export declare function toJson_BucketV1Beta1SpecAccessFrom(obj: BucketV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
526
- /**
527
- * The S3 compatible storage provider name, default ('generic').
528
- *
529
- * @schema BucketV1Beta1SpecProvider
530
- */
531
- export declare enum BucketV1Beta1SpecProvider {
532
- /** generic */
533
- GENERIC = "generic",
534
- /** aws */
535
- AWS = "aws",
536
- /** gcp */
537
- GCP = "gcp"
538
- }
539
- /**
540
- * The name of the secret containing authentication credentials
541
- * for the Bucket.
542
- *
543
- * @schema BucketV1Beta1SpecSecretRef
544
- */
545
- export interface BucketV1Beta1SpecSecretRef {
546
- /**
547
- * Name of the referent.
548
- *
549
- * @schema BucketV1Beta1SpecSecretRef#name
550
- */
551
- readonly name: string;
552
- }
553
- /**
554
- * Converts an object of type 'BucketV1Beta1SpecSecretRef' to JSON representation.
555
- */
556
- export declare function toJson_BucketV1Beta1SpecSecretRef(obj: BucketV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
557
- /**
558
- * NamespaceSelector selects the namespaces to which this ACL applies.
559
- * An empty map of MatchLabels matches all namespaces in a cluster.
560
- *
561
- * @schema BucketV1Beta1SpecAccessFromNamespaceSelectors
562
- */
563
- export interface BucketV1Beta1SpecAccessFromNamespaceSelectors {
564
- /**
565
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
566
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
567
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
568
- *
569
- * @schema BucketV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
570
- */
571
- readonly matchLabels?: {
572
- [key: string]: string;
573
- };
574
- }
575
- /**
576
- * Converts an object of type 'BucketV1Beta1SpecAccessFromNamespaceSelectors' to JSON representation.
577
- */
578
- export declare function toJson_BucketV1Beta1SpecAccessFromNamespaceSelectors(obj: BucketV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
579
- /**
580
- * Bucket is the Schema for the buckets API.
581
- *
582
- * @schema BucketV1Beta2
583
- */
584
- export declare class BucketV1Beta2 extends ApiObject {
585
- /**
586
- * Returns the apiVersion and kind for "BucketV1Beta2"
587
- */
588
- static readonly GVK: GroupVersionKind;
589
- /**
590
- * Renders a Kubernetes manifest for "BucketV1Beta2".
591
- *
592
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
593
- *
594
- * @param props initialization props
595
- */
596
- static manifest(props?: BucketV1Beta2Props): any;
597
- /**
598
- * Defines a "BucketV1Beta2" API object
599
- * @param scope the scope in which to define this object
600
- * @param id a scope-local name for the object
601
- * @param props initialization props
602
- */
603
- constructor(scope: Construct, id: string, props?: BucketV1Beta2Props);
604
- /**
605
- * Renders the object to Kubernetes JSON.
606
- */
607
- toJson(): any;
608
- }
609
- /**
610
- * Bucket is the Schema for the buckets API.
611
- *
612
- * @schema BucketV1Beta2
613
- */
614
- export interface BucketV1Beta2Props {
615
- /**
616
- * @schema BucketV1Beta2#metadata
617
- */
618
- readonly metadata?: ApiObjectMetadata;
619
- /**
620
- * BucketSpec specifies the required configuration to produce an Artifact for
621
- * an object storage bucket.
622
- *
623
- * @schema BucketV1Beta2#spec
624
- */
625
- readonly spec?: BucketV1Beta2Spec;
626
- }
627
- /**
628
- * Converts an object of type 'BucketV1Beta2Props' to JSON representation.
629
- */
630
- export declare function toJson_BucketV1Beta2Props(obj: BucketV1Beta2Props | undefined): Record<string, any> | undefined;
631
- /**
632
- * BucketSpec specifies the required configuration to produce an Artifact for
633
- * an object storage bucket.
634
- *
635
- * @schema BucketV1Beta2Spec
636
- */
637
- export interface BucketV1Beta2Spec {
638
- /**
639
- * AccessFrom specifies an Access Control List for allowing cross-namespace
640
- * references to this object.
641
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
642
- *
643
- * @schema BucketV1Beta2Spec#accessFrom
644
- */
645
- readonly accessFrom?: BucketV1Beta2SpecAccessFrom;
646
- /**
647
- * BucketName is the name of the object storage bucket.
648
- *
649
- * @schema BucketV1Beta2Spec#bucketName
650
- */
651
- readonly bucketName: string;
652
- /**
653
- * CertSecretRef can be given the name of a Secret containing
654
- * either or both of
655
- *
656
- * - a PEM-encoded client certificate (`tls.crt`) and private
657
- * key (`tls.key`);
658
- * - a PEM-encoded CA certificate (`ca.crt`)
659
- *
660
- * and whichever are supplied, will be used for connecting to the
661
- * bucket. The client cert and key are useful if you are
662
- * authenticating with a certificate; the CA cert is useful if
663
- * you are using a self-signed server certificate. The Secret must
664
- * be of type `Opaque` or `kubernetes.io/tls`.
665
- *
666
- * This field is only supported for the `generic` provider.
667
- *
668
- * @schema BucketV1Beta2Spec#certSecretRef
669
- */
670
- readonly certSecretRef?: BucketV1Beta2SpecCertSecretRef;
671
- /**
672
- * Endpoint is the object storage address the BucketName is located at.
673
- *
674
- * @schema BucketV1Beta2Spec#endpoint
675
- */
676
- readonly endpoint: string;
677
- /**
678
- * Ignore overrides the set of excluded patterns in the .sourceignore format
679
- * (which is the same as .gitignore). If not provided, a default will be used,
680
- * consult the documentation for your version to find out what those are.
681
- *
682
- * @schema BucketV1Beta2Spec#ignore
683
- */
684
- readonly ignore?: string;
685
- /**
686
- * Insecure allows connecting to a non-TLS HTTP Endpoint.
687
- *
688
- * @schema BucketV1Beta2Spec#insecure
689
- */
690
- readonly insecure?: boolean;
691
- /**
692
- * Interval at which the Bucket Endpoint is checked for updates.
693
- * This interval is approximate and may be subject to jitter to ensure
694
- * efficient use of resources.
695
- *
696
- * @schema BucketV1Beta2Spec#interval
697
- */
698
- readonly interval: string;
699
- /**
700
- * Prefix to use for server-side filtering of files in the Bucket.
701
- *
702
- * @schema BucketV1Beta2Spec#prefix
703
- */
704
- readonly prefix?: string;
705
- /**
706
- * Provider of the object storage bucket.
707
- * Defaults to 'generic', which expects an S3 (API) compatible object
708
- * storage.
709
- *
710
- * @default generic', which expects an S3 (API) compatible object
711
- * @schema BucketV1Beta2Spec#provider
712
- */
713
- readonly provider?: BucketV1Beta2SpecProvider;
714
- /**
715
- * ProxySecretRef specifies the Secret containing the proxy configuration
716
- * to use while communicating with the Bucket server.
717
- *
718
- * @schema BucketV1Beta2Spec#proxySecretRef
719
- */
720
- readonly proxySecretRef?: BucketV1Beta2SpecProxySecretRef;
721
- /**
722
- * Region of the Endpoint where the BucketName is located in.
723
- *
724
- * @schema BucketV1Beta2Spec#region
725
- */
726
- readonly region?: string;
727
- /**
728
- * SecretRef specifies the Secret containing authentication credentials
729
- * for the Bucket.
730
- *
731
- * @schema BucketV1Beta2Spec#secretRef
732
- */
733
- readonly secretRef?: BucketV1Beta2SpecSecretRef;
734
- /**
735
- * STS specifies the required configuration to use a Security Token
736
- * Service for fetching temporary credentials to authenticate in a
737
- * Bucket provider.
738
- *
739
- * This field is only supported for the `aws` and `generic` providers.
740
- *
741
- * @schema BucketV1Beta2Spec#sts
742
- */
743
- readonly sts?: BucketV1Beta2SpecSts;
744
- /**
745
- * Suspend tells the controller to suspend the reconciliation of this
746
- * Bucket.
747
- *
748
- * @schema BucketV1Beta2Spec#suspend
749
- */
750
- readonly suspend?: boolean;
751
- /**
752
- * Timeout for fetch operations, defaults to 60s.
753
- *
754
- * @schema BucketV1Beta2Spec#timeout
755
- */
756
- readonly timeout?: string;
757
- }
758
- /**
759
- * Converts an object of type 'BucketV1Beta2Spec' to JSON representation.
760
- */
761
- export declare function toJson_BucketV1Beta2Spec(obj: BucketV1Beta2Spec | undefined): Record<string, any> | undefined;
762
- /**
763
- * AccessFrom specifies an Access Control List for allowing cross-namespace
764
- * references to this object.
765
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
766
- *
767
- * @schema BucketV1Beta2SpecAccessFrom
768
- */
769
- export interface BucketV1Beta2SpecAccessFrom {
770
- /**
771
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
772
- * Items in this list are evaluated using a logical OR operation.
773
- *
774
- * @schema BucketV1Beta2SpecAccessFrom#namespaceSelectors
775
- */
776
- readonly namespaceSelectors: BucketV1Beta2SpecAccessFromNamespaceSelectors[];
777
- }
778
- /**
779
- * Converts an object of type 'BucketV1Beta2SpecAccessFrom' to JSON representation.
780
- */
781
- export declare function toJson_BucketV1Beta2SpecAccessFrom(obj: BucketV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
782
- /**
783
- * CertSecretRef can be given the name of a Secret containing
784
- * either or both of
785
- *
786
- * - a PEM-encoded client certificate (`tls.crt`) and private
787
- * key (`tls.key`);
788
- * - a PEM-encoded CA certificate (`ca.crt`)
789
- *
790
- * and whichever are supplied, will be used for connecting to the
791
- * bucket. The client cert and key are useful if you are
792
- * authenticating with a certificate; the CA cert is useful if
793
- * you are using a self-signed server certificate. The Secret must
794
- * be of type `Opaque` or `kubernetes.io/tls`.
795
- *
796
- * This field is only supported for the `generic` provider.
797
- *
798
- * @schema BucketV1Beta2SpecCertSecretRef
799
- */
800
- export interface BucketV1Beta2SpecCertSecretRef {
801
- /**
802
- * Name of the referent.
803
- *
804
- * @schema BucketV1Beta2SpecCertSecretRef#name
805
- */
806
- readonly name: string;
807
- }
808
- /**
809
- * Converts an object of type 'BucketV1Beta2SpecCertSecretRef' to JSON representation.
810
- */
811
- export declare function toJson_BucketV1Beta2SpecCertSecretRef(obj: BucketV1Beta2SpecCertSecretRef | undefined): Record<string, any> | undefined;
812
- /**
813
- * Provider of the object storage bucket.
814
- * Defaults to 'generic', which expects an S3 (API) compatible object
815
- * storage.
816
- *
817
- * @default generic', which expects an S3 (API) compatible object
818
- * @schema BucketV1Beta2SpecProvider
819
- */
820
- export declare enum BucketV1Beta2SpecProvider {
821
- /** generic */
822
- GENERIC = "generic",
823
- /** aws */
824
- AWS = "aws",
825
- /** gcp */
826
- GCP = "gcp",
827
- /** azure */
828
- AZURE = "azure"
829
- }
830
- /**
831
- * ProxySecretRef specifies the Secret containing the proxy configuration
832
- * to use while communicating with the Bucket server.
833
- *
834
- * @schema BucketV1Beta2SpecProxySecretRef
835
- */
836
- export interface BucketV1Beta2SpecProxySecretRef {
837
- /**
838
- * Name of the referent.
839
- *
840
- * @schema BucketV1Beta2SpecProxySecretRef#name
841
- */
842
- readonly name: string;
843
- }
844
- /**
845
- * Converts an object of type 'BucketV1Beta2SpecProxySecretRef' to JSON representation.
846
- */
847
- export declare function toJson_BucketV1Beta2SpecProxySecretRef(obj: BucketV1Beta2SpecProxySecretRef | undefined): Record<string, any> | undefined;
848
- /**
849
- * SecretRef specifies the Secret containing authentication credentials
850
- * for the Bucket.
851
- *
852
- * @schema BucketV1Beta2SpecSecretRef
853
- */
854
- export interface BucketV1Beta2SpecSecretRef {
855
- /**
856
- * Name of the referent.
857
- *
858
- * @schema BucketV1Beta2SpecSecretRef#name
859
- */
860
- readonly name: string;
861
- }
862
- /**
863
- * Converts an object of type 'BucketV1Beta2SpecSecretRef' to JSON representation.
864
- */
865
- export declare function toJson_BucketV1Beta2SpecSecretRef(obj: BucketV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
866
- /**
867
- * STS specifies the required configuration to use a Security Token
868
- * Service for fetching temporary credentials to authenticate in a
869
- * Bucket provider.
870
- *
871
- * This field is only supported for the `aws` and `generic` providers.
872
- *
873
- * @schema BucketV1Beta2SpecSts
874
- */
875
- export interface BucketV1Beta2SpecSts {
876
- /**
877
- * CertSecretRef can be given the name of a Secret containing
878
- * either or both of
879
- *
880
- * - a PEM-encoded client certificate (`tls.crt`) and private
881
- * key (`tls.key`);
882
- * - a PEM-encoded CA certificate (`ca.crt`)
883
- *
884
- * and whichever are supplied, will be used for connecting to the
885
- * STS endpoint. The client cert and key are useful if you are
886
- * authenticating with a certificate; the CA cert is useful if
887
- * you are using a self-signed server certificate. The Secret must
888
- * be of type `Opaque` or `kubernetes.io/tls`.
889
- *
890
- * This field is only supported for the `ldap` provider.
891
- *
892
- * @schema BucketV1Beta2SpecSts#certSecretRef
893
- */
894
- readonly certSecretRef?: BucketV1Beta2SpecStsCertSecretRef;
895
- /**
896
- * Endpoint is the HTTP/S endpoint of the Security Token Service from
897
- * where temporary credentials will be fetched.
898
- *
899
- * @schema BucketV1Beta2SpecSts#endpoint
900
- */
901
- readonly endpoint: string;
902
- /**
903
- * Provider of the Security Token Service.
904
- *
905
- * @schema BucketV1Beta2SpecSts#provider
906
- */
907
- readonly provider: BucketV1Beta2SpecStsProvider;
908
- /**
909
- * SecretRef specifies the Secret containing authentication credentials
910
- * for the STS endpoint. This Secret must contain the fields `username`
911
- * and `password` and is supported only for the `ldap` provider.
912
- *
913
- * @schema BucketV1Beta2SpecSts#secretRef
914
- */
915
- readonly secretRef?: BucketV1Beta2SpecStsSecretRef;
916
- }
917
- /**
918
- * Converts an object of type 'BucketV1Beta2SpecSts' to JSON representation.
919
- */
920
- export declare function toJson_BucketV1Beta2SpecSts(obj: BucketV1Beta2SpecSts | undefined): Record<string, any> | undefined;
921
- /**
922
- * NamespaceSelector selects the namespaces to which this ACL applies.
923
- * An empty map of MatchLabels matches all namespaces in a cluster.
924
- *
925
- * @schema BucketV1Beta2SpecAccessFromNamespaceSelectors
926
- */
927
- export interface BucketV1Beta2SpecAccessFromNamespaceSelectors {
928
- /**
929
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
930
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
931
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
932
- *
933
- * @schema BucketV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
934
- */
935
- readonly matchLabels?: {
936
- [key: string]: string;
937
- };
938
- }
939
- /**
940
- * Converts an object of type 'BucketV1Beta2SpecAccessFromNamespaceSelectors' to JSON representation.
941
- */
942
- export declare function toJson_BucketV1Beta2SpecAccessFromNamespaceSelectors(obj: BucketV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
943
- /**
944
- * CertSecretRef can be given the name of a Secret containing
945
- * either or both of
946
- *
947
- * - a PEM-encoded client certificate (`tls.crt`) and private
948
- * key (`tls.key`);
949
- * - a PEM-encoded CA certificate (`ca.crt`)
950
- *
951
- * and whichever are supplied, will be used for connecting to the
952
- * STS endpoint. The client cert and key are useful if you are
953
- * authenticating with a certificate; the CA cert is useful if
954
- * you are using a self-signed server certificate. The Secret must
955
- * be of type `Opaque` or `kubernetes.io/tls`.
956
- *
957
- * This field is only supported for the `ldap` provider.
958
- *
959
- * @schema BucketV1Beta2SpecStsCertSecretRef
960
- */
961
- export interface BucketV1Beta2SpecStsCertSecretRef {
962
- /**
963
- * Name of the referent.
964
- *
965
- * @schema BucketV1Beta2SpecStsCertSecretRef#name
966
- */
967
- readonly name: string;
968
- }
969
- /**
970
- * Converts an object of type 'BucketV1Beta2SpecStsCertSecretRef' to JSON representation.
971
- */
972
- export declare function toJson_BucketV1Beta2SpecStsCertSecretRef(obj: BucketV1Beta2SpecStsCertSecretRef | undefined): Record<string, any> | undefined;
973
- /**
974
- * Provider of the Security Token Service.
975
- *
976
- * @schema BucketV1Beta2SpecStsProvider
977
- */
978
- export declare enum BucketV1Beta2SpecStsProvider {
979
- /** aws */
980
- AWS = "aws",
981
- /** ldap */
982
- LDAP = "ldap"
983
- }
984
- /**
985
- * SecretRef specifies the Secret containing authentication credentials
986
- * for the STS endpoint. This Secret must contain the fields `username`
987
- * and `password` and is supported only for the `ldap` provider.
988
- *
989
- * @schema BucketV1Beta2SpecStsSecretRef
990
- */
991
- export interface BucketV1Beta2SpecStsSecretRef {
992
- /**
993
- * Name of the referent.
994
- *
995
- * @schema BucketV1Beta2SpecStsSecretRef#name
996
- */
997
- readonly name: string;
998
- }
999
- /**
1000
- * Converts an object of type 'BucketV1Beta2SpecStsSecretRef' to JSON representation.
1001
- */
1002
- export declare function toJson_BucketV1Beta2SpecStsSecretRef(obj: BucketV1Beta2SpecStsSecretRef | undefined): Record<string, any> | undefined;
1003
- /**
1004
- * GitRepository is the Schema for the gitrepositories API.
1005
- *
1006
- * @schema GitRepository
1007
- */
1008
- export declare class GitRepository extends ApiObject {
1009
- /**
1010
- * Returns the apiVersion and kind for "GitRepository"
1011
- */
1012
- static readonly GVK: GroupVersionKind;
1013
- /**
1014
- * Renders a Kubernetes manifest for "GitRepository".
1015
- *
1016
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
1017
- *
1018
- * @param props initialization props
1019
- */
1020
- static manifest(props?: GitRepositoryProps): any;
1021
- /**
1022
- * Defines a "GitRepository" API object
1023
- * @param scope the scope in which to define this object
1024
- * @param id a scope-local name for the object
1025
- * @param props initialization props
1026
- */
1027
- constructor(scope: Construct, id: string, props?: GitRepositoryProps);
1028
- /**
1029
- * Renders the object to Kubernetes JSON.
1030
- */
1031
- toJson(): any;
1032
- }
1033
- /**
1034
- * GitRepository is the Schema for the gitrepositories API.
1035
- *
1036
- * @schema GitRepository
1037
- */
1038
- export interface GitRepositoryProps {
1039
- /**
1040
- * @schema GitRepository#metadata
1041
- */
1042
- readonly metadata?: ApiObjectMetadata;
1043
- /**
1044
- * GitRepositorySpec specifies the required configuration to produce an
1045
- * Artifact for a Git repository.
1046
- *
1047
- * @schema GitRepository#spec
1048
- */
1049
- readonly spec?: GitRepositorySpec;
1050
- }
1051
- /**
1052
- * Converts an object of type 'GitRepositoryProps' to JSON representation.
1053
- */
1054
- export declare function toJson_GitRepositoryProps(obj: GitRepositoryProps | undefined): Record<string, any> | undefined;
1055
- /**
1056
- * GitRepositorySpec specifies the required configuration to produce an
1057
- * Artifact for a Git repository.
1058
- *
1059
- * @schema GitRepositorySpec
1060
- */
1061
- export interface GitRepositorySpec {
1062
- /**
1063
- * Ignore overrides the set of excluded patterns in the .sourceignore format
1064
- * (which is the same as .gitignore). If not provided, a default will be used,
1065
- * consult the documentation for your version to find out what those are.
1066
- *
1067
- * @schema GitRepositorySpec#ignore
1068
- */
1069
- readonly ignore?: string;
1070
- /**
1071
- * Include specifies a list of GitRepository resources which Artifacts
1072
- * should be included in the Artifact produced for this GitRepository.
1073
- *
1074
- * @schema GitRepositorySpec#include
1075
- */
1076
- readonly include?: GitRepositorySpecInclude[];
1077
- /**
1078
- * Interval at which the GitRepository URL is checked for updates.
1079
- * This interval is approximate and may be subject to jitter to ensure
1080
- * efficient use of resources.
1081
- *
1082
- * @schema GitRepositorySpec#interval
1083
- */
1084
- readonly interval: string;
1085
- /**
1086
- * Provider used for authentication, can be 'azure', 'github', 'generic'.
1087
- * When not specified, defaults to 'generic'.
1088
- *
1089
- * @schema GitRepositorySpec#provider
1090
- */
1091
- readonly provider?: GitRepositorySpecProvider;
1092
- /**
1093
- * ProxySecretRef specifies the Secret containing the proxy configuration
1094
- * to use while communicating with the Git server.
1095
- *
1096
- * @schema GitRepositorySpec#proxySecretRef
1097
- */
1098
- readonly proxySecretRef?: GitRepositorySpecProxySecretRef;
1099
- /**
1100
- * RecurseSubmodules enables the initialization of all submodules within
1101
- * the GitRepository as cloned from the URL, using their default settings.
1102
- *
1103
- * @schema GitRepositorySpec#recurseSubmodules
1104
- */
1105
- readonly recurseSubmodules?: boolean;
1106
- /**
1107
- * Reference specifies the Git reference to resolve and monitor for
1108
- * changes, defaults to the 'master' branch.
1109
- *
1110
- * @schema GitRepositorySpec#ref
1111
- */
1112
- readonly ref?: GitRepositorySpecRef;
1113
- /**
1114
- * SecretRef specifies the Secret containing authentication credentials for
1115
- * the GitRepository.
1116
- * For HTTPS repositories the Secret must contain 'username' and 'password'
1117
- * fields for basic auth or 'bearerToken' field for token auth.
1118
- * For SSH repositories the Secret must contain 'identity'
1119
- * and 'known_hosts' fields.
1120
- *
1121
- * @schema GitRepositorySpec#secretRef
1122
- */
1123
- readonly secretRef?: GitRepositorySpecSecretRef;
1124
- /**
1125
- * Suspend tells the controller to suspend the reconciliation of this
1126
- * GitRepository.
1127
- *
1128
- * @schema GitRepositorySpec#suspend
1129
- */
1130
- readonly suspend?: boolean;
1131
- /**
1132
- * Timeout for Git operations like cloning, defaults to 60s.
1133
- *
1134
- * @schema GitRepositorySpec#timeout
1135
- */
1136
- readonly timeout?: string;
1137
- /**
1138
- * URL specifies the Git repository URL, it can be an HTTP/S or SSH address.
1139
- *
1140
- * @schema GitRepositorySpec#url
1141
- */
1142
- readonly url: string;
1143
- /**
1144
- * Verification specifies the configuration to verify the Git commit
1145
- * signature(s).
1146
- *
1147
- * @schema GitRepositorySpec#verify
1148
- */
1149
- readonly verify?: GitRepositorySpecVerify;
1150
- }
1151
- /**
1152
- * Converts an object of type 'GitRepositorySpec' to JSON representation.
1153
- */
1154
- export declare function toJson_GitRepositorySpec(obj: GitRepositorySpec | undefined): Record<string, any> | undefined;
1155
- /**
1156
- * GitRepositoryInclude specifies a local reference to a GitRepository which
1157
- * Artifact (sub-)contents must be included, and where they should be placed.
1158
- *
1159
- * @schema GitRepositorySpecInclude
1160
- */
1161
- export interface GitRepositorySpecInclude {
1162
- /**
1163
- * FromPath specifies the path to copy contents from, defaults to the root
1164
- * of the Artifact.
1165
- *
1166
- * @schema GitRepositorySpecInclude#fromPath
1167
- */
1168
- readonly fromPath?: string;
1169
- /**
1170
- * GitRepositoryRef specifies the GitRepository which Artifact contents
1171
- * must be included.
1172
- *
1173
- * @schema GitRepositorySpecInclude#repository
1174
- */
1175
- readonly repository: GitRepositorySpecIncludeRepository;
1176
- /**
1177
- * ToPath specifies the path to copy contents to, defaults to the name of
1178
- * the GitRepositoryRef.
1179
- *
1180
- * @schema GitRepositorySpecInclude#toPath
1181
- */
1182
- readonly toPath?: string;
1183
- }
1184
- /**
1185
- * Converts an object of type 'GitRepositorySpecInclude' to JSON representation.
1186
- */
1187
- export declare function toJson_GitRepositorySpecInclude(obj: GitRepositorySpecInclude | undefined): Record<string, any> | undefined;
1188
- /**
1189
- * Provider used for authentication, can be 'azure', 'github', 'generic'.
1190
- * When not specified, defaults to 'generic'.
1191
- *
1192
- * @schema GitRepositorySpecProvider
1193
- */
1194
- export declare enum GitRepositorySpecProvider {
1195
- /** generic */
1196
- GENERIC = "generic",
1197
- /** azure */
1198
- AZURE = "azure",
1199
- /** github */
1200
- GITHUB = "github"
1201
- }
1202
- /**
1203
- * ProxySecretRef specifies the Secret containing the proxy configuration
1204
- * to use while communicating with the Git server.
1205
- *
1206
- * @schema GitRepositorySpecProxySecretRef
1207
- */
1208
- export interface GitRepositorySpecProxySecretRef {
1209
- /**
1210
- * Name of the referent.
1211
- *
1212
- * @schema GitRepositorySpecProxySecretRef#name
1213
- */
1214
- readonly name: string;
1215
- }
1216
- /**
1217
- * Converts an object of type 'GitRepositorySpecProxySecretRef' to JSON representation.
1218
- */
1219
- export declare function toJson_GitRepositorySpecProxySecretRef(obj: GitRepositorySpecProxySecretRef | undefined): Record<string, any> | undefined;
1220
- /**
1221
- * Reference specifies the Git reference to resolve and monitor for
1222
- * changes, defaults to the 'master' branch.
1223
- *
1224
- * @schema GitRepositorySpecRef
1225
- */
1226
- export interface GitRepositorySpecRef {
1227
- /**
1228
- * Branch to check out, defaults to 'master' if no other field is defined.
1229
- *
1230
- * @schema GitRepositorySpecRef#branch
1231
- */
1232
- readonly branch?: string;
1233
- /**
1234
- * Commit SHA to check out, takes precedence over all reference fields.
1235
- *
1236
- * This can be combined with Branch to shallow clone the branch, in which
1237
- * the commit is expected to exist.
1238
- *
1239
- * @schema GitRepositorySpecRef#commit
1240
- */
1241
- readonly commit?: string;
1242
- /**
1243
- * Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
1244
- *
1245
- * It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
1246
- * Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head"
1247
- *
1248
- * @schema GitRepositorySpecRef#name
1249
- */
1250
- readonly name?: string;
1251
- /**
1252
- * SemVer tag expression to check out, takes precedence over Tag.
1253
- *
1254
- * @schema GitRepositorySpecRef#semver
1255
- */
1256
- readonly semver?: string;
1257
- /**
1258
- * Tag to check out, takes precedence over Branch.
1259
- *
1260
- * @schema GitRepositorySpecRef#tag
1261
- */
1262
- readonly tag?: string;
1263
- }
1264
- /**
1265
- * Converts an object of type 'GitRepositorySpecRef' to JSON representation.
1266
- */
1267
- export declare function toJson_GitRepositorySpecRef(obj: GitRepositorySpecRef | undefined): Record<string, any> | undefined;
1268
- /**
1269
- * SecretRef specifies the Secret containing authentication credentials for
1270
- * the GitRepository.
1271
- * For HTTPS repositories the Secret must contain 'username' and 'password'
1272
- * fields for basic auth or 'bearerToken' field for token auth.
1273
- * For SSH repositories the Secret must contain 'identity'
1274
- * and 'known_hosts' fields.
1275
- *
1276
- * @schema GitRepositorySpecSecretRef
1277
- */
1278
- export interface GitRepositorySpecSecretRef {
1279
- /**
1280
- * Name of the referent.
1281
- *
1282
- * @schema GitRepositorySpecSecretRef#name
1283
- */
1284
- readonly name: string;
1285
- }
1286
- /**
1287
- * Converts an object of type 'GitRepositorySpecSecretRef' to JSON representation.
1288
- */
1289
- export declare function toJson_GitRepositorySpecSecretRef(obj: GitRepositorySpecSecretRef | undefined): Record<string, any> | undefined;
1290
- /**
1291
- * Verification specifies the configuration to verify the Git commit
1292
- * signature(s).
1293
- *
1294
- * @schema GitRepositorySpecVerify
1295
- */
1296
- export interface GitRepositorySpecVerify {
1297
- /**
1298
- * Mode specifies which Git object(s) should be verified.
1299
- *
1300
- * The variants "head" and "HEAD" both imply the same thing, i.e. verify
1301
- * the commit that the HEAD of the Git repository points to. The variant
1302
- * "head" solely exists to ensure backwards compatibility.
1303
- *
1304
- * @schema GitRepositorySpecVerify#mode
1305
- */
1306
- readonly mode?: GitRepositorySpecVerifyMode;
1307
- /**
1308
- * SecretRef specifies the Secret containing the public keys of trusted Git
1309
- * authors.
1310
- *
1311
- * @schema GitRepositorySpecVerify#secretRef
1312
- */
1313
- readonly secretRef: GitRepositorySpecVerifySecretRef;
1314
- }
1315
- /**
1316
- * Converts an object of type 'GitRepositorySpecVerify' to JSON representation.
1317
- */
1318
- export declare function toJson_GitRepositorySpecVerify(obj: GitRepositorySpecVerify | undefined): Record<string, any> | undefined;
1319
- /**
1320
- * GitRepositoryRef specifies the GitRepository which Artifact contents
1321
- * must be included.
1322
- *
1323
- * @schema GitRepositorySpecIncludeRepository
1324
- */
1325
- export interface GitRepositorySpecIncludeRepository {
1326
- /**
1327
- * Name of the referent.
1328
- *
1329
- * @schema GitRepositorySpecIncludeRepository#name
1330
- */
1331
- readonly name: string;
1332
- }
1333
- /**
1334
- * Converts an object of type 'GitRepositorySpecIncludeRepository' to JSON representation.
1335
- */
1336
- export declare function toJson_GitRepositorySpecIncludeRepository(obj: GitRepositorySpecIncludeRepository | undefined): Record<string, any> | undefined;
1337
- /**
1338
- * Mode specifies which Git object(s) should be verified.
1339
- *
1340
- * The variants "head" and "HEAD" both imply the same thing, i.e. verify
1341
- * the commit that the HEAD of the Git repository points to. The variant
1342
- * "head" solely exists to ensure backwards compatibility.
1343
- *
1344
- * @schema GitRepositorySpecVerifyMode
1345
- */
1346
- export declare enum GitRepositorySpecVerifyMode {
1347
- /** head */
1348
- HEAD = "head",
1349
- /** Tag */
1350
- TAG = "Tag",
1351
- /** TagAndHEAD */
1352
- TAG_AND_HEAD = "TagAndHEAD"
1353
- }
1354
- /**
1355
- * SecretRef specifies the Secret containing the public keys of trusted Git
1356
- * authors.
1357
- *
1358
- * @schema GitRepositorySpecVerifySecretRef
1359
- */
1360
- export interface GitRepositorySpecVerifySecretRef {
1361
- /**
1362
- * Name of the referent.
1363
- *
1364
- * @schema GitRepositorySpecVerifySecretRef#name
1365
- */
1366
- readonly name: string;
1367
- }
1368
- /**
1369
- * Converts an object of type 'GitRepositorySpecVerifySecretRef' to JSON representation.
1370
- */
1371
- export declare function toJson_GitRepositorySpecVerifySecretRef(obj: GitRepositorySpecVerifySecretRef | undefined): Record<string, any> | undefined;
1372
- /**
1373
- * GitRepository is the Schema for the gitrepositories API
1374
- *
1375
- * @schema GitRepositoryV1Beta1
1376
- */
1377
- export declare class GitRepositoryV1Beta1 extends ApiObject {
1378
- /**
1379
- * Returns the apiVersion and kind for "GitRepositoryV1Beta1"
1380
- */
1381
- static readonly GVK: GroupVersionKind;
1382
- /**
1383
- * Renders a Kubernetes manifest for "GitRepositoryV1Beta1".
1384
- *
1385
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
1386
- *
1387
- * @param props initialization props
1388
- */
1389
- static manifest(props?: GitRepositoryV1Beta1Props): any;
1390
- /**
1391
- * Defines a "GitRepositoryV1Beta1" API object
1392
- * @param scope the scope in which to define this object
1393
- * @param id a scope-local name for the object
1394
- * @param props initialization props
1395
- */
1396
- constructor(scope: Construct, id: string, props?: GitRepositoryV1Beta1Props);
1397
- /**
1398
- * Renders the object to Kubernetes JSON.
1399
- */
1400
- toJson(): any;
1401
- }
1402
- /**
1403
- * GitRepository is the Schema for the gitrepositories API
1404
- *
1405
- * @schema GitRepositoryV1Beta1
1406
- */
1407
- export interface GitRepositoryV1Beta1Props {
1408
- /**
1409
- * @schema GitRepositoryV1Beta1#metadata
1410
- */
1411
- readonly metadata?: ApiObjectMetadata;
1412
- /**
1413
- * GitRepositorySpec defines the desired state of a Git repository.
1414
- *
1415
- * @schema GitRepositoryV1Beta1#spec
1416
- */
1417
- readonly spec?: GitRepositoryV1Beta1Spec;
1418
- }
1419
- /**
1420
- * Converts an object of type 'GitRepositoryV1Beta1Props' to JSON representation.
1421
- */
1422
- export declare function toJson_GitRepositoryV1Beta1Props(obj: GitRepositoryV1Beta1Props | undefined): Record<string, any> | undefined;
1423
- /**
1424
- * GitRepositorySpec defines the desired state of a Git repository.
1425
- *
1426
- * @schema GitRepositoryV1Beta1Spec
1427
- */
1428
- export interface GitRepositoryV1Beta1Spec {
1429
- /**
1430
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
1431
- *
1432
- * @schema GitRepositoryV1Beta1Spec#accessFrom
1433
- */
1434
- readonly accessFrom?: GitRepositoryV1Beta1SpecAccessFrom;
1435
- /**
1436
- * Determines which git client library to use.
1437
- * Defaults to go-git, valid values are ('go-git', 'libgit2').
1438
- *
1439
- * @default go-git, valid values are ('go-git', 'libgit2').
1440
- * @schema GitRepositoryV1Beta1Spec#gitImplementation
1441
- */
1442
- readonly gitImplementation?: GitRepositoryV1Beta1SpecGitImplementation;
1443
- /**
1444
- * Ignore overrides the set of excluded patterns in the .sourceignore format
1445
- * (which is the same as .gitignore). If not provided, a default will be used,
1446
- * consult the documentation for your version to find out what those are.
1447
- *
1448
- * @schema GitRepositoryV1Beta1Spec#ignore
1449
- */
1450
- readonly ignore?: string;
1451
- /**
1452
- * Extra git repositories to map into the repository
1453
- *
1454
- * @schema GitRepositoryV1Beta1Spec#include
1455
- */
1456
- readonly include?: GitRepositoryV1Beta1SpecInclude[];
1457
- /**
1458
- * The interval at which to check for repository updates.
1459
- *
1460
- * @schema GitRepositoryV1Beta1Spec#interval
1461
- */
1462
- readonly interval: string;
1463
- /**
1464
- * When enabled, after the clone is created, initializes all submodules within,
1465
- * using their default settings.
1466
- * This option is available only when using the 'go-git' GitImplementation.
1467
- *
1468
- * @schema GitRepositoryV1Beta1Spec#recurseSubmodules
1469
- */
1470
- readonly recurseSubmodules?: boolean;
1471
- /**
1472
- * The Git reference to checkout and monitor for changes, defaults to
1473
- * master branch.
1474
- *
1475
- * @schema GitRepositoryV1Beta1Spec#ref
1476
- */
1477
- readonly ref?: GitRepositoryV1Beta1SpecRef;
1478
- /**
1479
- * The secret name containing the Git credentials.
1480
- * For HTTPS repositories the secret must contain username and password
1481
- * fields.
1482
- * For SSH repositories the secret must contain identity and known_hosts
1483
- * fields.
1484
- *
1485
- * @schema GitRepositoryV1Beta1Spec#secretRef
1486
- */
1487
- readonly secretRef?: GitRepositoryV1Beta1SpecSecretRef;
1488
- /**
1489
- * This flag tells the controller to suspend the reconciliation of this source.
1490
- *
1491
- * @schema GitRepositoryV1Beta1Spec#suspend
1492
- */
1493
- readonly suspend?: boolean;
1494
- /**
1495
- * The timeout for remote Git operations like cloning, defaults to 60s.
1496
- *
1497
- * @schema GitRepositoryV1Beta1Spec#timeout
1498
- */
1499
- readonly timeout?: string;
1500
- /**
1501
- * The repository URL, can be a HTTP/S or SSH address.
1502
- *
1503
- * @schema GitRepositoryV1Beta1Spec#url
1504
- */
1505
- readonly url: string;
1506
- /**
1507
- * Verify OpenPGP signature for the Git commit HEAD points to.
1508
- *
1509
- * @schema GitRepositoryV1Beta1Spec#verify
1510
- */
1511
- readonly verify?: GitRepositoryV1Beta1SpecVerify;
1512
- }
1513
- /**
1514
- * Converts an object of type 'GitRepositoryV1Beta1Spec' to JSON representation.
1515
- */
1516
- export declare function toJson_GitRepositoryV1Beta1Spec(obj: GitRepositoryV1Beta1Spec | undefined): Record<string, any> | undefined;
1517
- /**
1518
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
1519
- *
1520
- * @schema GitRepositoryV1Beta1SpecAccessFrom
1521
- */
1522
- export interface GitRepositoryV1Beta1SpecAccessFrom {
1523
- /**
1524
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
1525
- * Items in this list are evaluated using a logical OR operation.
1526
- *
1527
- * @schema GitRepositoryV1Beta1SpecAccessFrom#namespaceSelectors
1528
- */
1529
- readonly namespaceSelectors: GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors[];
1530
- }
1531
- /**
1532
- * Converts an object of type 'GitRepositoryV1Beta1SpecAccessFrom' to JSON representation.
1533
- */
1534
- export declare function toJson_GitRepositoryV1Beta1SpecAccessFrom(obj: GitRepositoryV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
1535
- /**
1536
- * Determines which git client library to use.
1537
- * Defaults to go-git, valid values are ('go-git', 'libgit2').
1538
- *
1539
- * @default go-git, valid values are ('go-git', 'libgit2').
1540
- * @schema GitRepositoryV1Beta1SpecGitImplementation
1541
- */
1542
- export declare enum GitRepositoryV1Beta1SpecGitImplementation {
1543
- /** go-git */
1544
- GO_HYPHEN_GIT = "go-git",
1545
- /** libgit2 */
1546
- LIBGIT2 = "libgit2"
1547
- }
1548
- /**
1549
- * GitRepositoryInclude defines a source with a from and to path.
1550
- *
1551
- * @schema GitRepositoryV1Beta1SpecInclude
1552
- */
1553
- export interface GitRepositoryV1Beta1SpecInclude {
1554
- /**
1555
- * The path to copy contents from, defaults to the root directory.
1556
- *
1557
- * @schema GitRepositoryV1Beta1SpecInclude#fromPath
1558
- */
1559
- readonly fromPath?: string;
1560
- /**
1561
- * Reference to a GitRepository to include.
1562
- *
1563
- * @schema GitRepositoryV1Beta1SpecInclude#repository
1564
- */
1565
- readonly repository: GitRepositoryV1Beta1SpecIncludeRepository;
1566
- /**
1567
- * The path to copy contents to, defaults to the name of the source ref.
1568
- *
1569
- * @schema GitRepositoryV1Beta1SpecInclude#toPath
1570
- */
1571
- readonly toPath?: string;
1572
- }
1573
- /**
1574
- * Converts an object of type 'GitRepositoryV1Beta1SpecInclude' to JSON representation.
1575
- */
1576
- export declare function toJson_GitRepositoryV1Beta1SpecInclude(obj: GitRepositoryV1Beta1SpecInclude | undefined): Record<string, any> | undefined;
1577
- /**
1578
- * The Git reference to checkout and monitor for changes, defaults to
1579
- * master branch.
1580
- *
1581
- * @schema GitRepositoryV1Beta1SpecRef
1582
- */
1583
- export interface GitRepositoryV1Beta1SpecRef {
1584
- /**
1585
- * The Git branch to checkout, defaults to master.
1586
- *
1587
- * @schema GitRepositoryV1Beta1SpecRef#branch
1588
- */
1589
- readonly branch?: string;
1590
- /**
1591
- * The Git commit SHA to checkout, if specified Tag filters will be ignored.
1592
- *
1593
- * @schema GitRepositoryV1Beta1SpecRef#commit
1594
- */
1595
- readonly commit?: string;
1596
- /**
1597
- * The Git tag semver expression, takes precedence over Tag.
1598
- *
1599
- * @schema GitRepositoryV1Beta1SpecRef#semver
1600
- */
1601
- readonly semver?: string;
1602
- /**
1603
- * The Git tag to checkout, takes precedence over Branch.
1604
- *
1605
- * @schema GitRepositoryV1Beta1SpecRef#tag
1606
- */
1607
- readonly tag?: string;
1608
- }
1609
- /**
1610
- * Converts an object of type 'GitRepositoryV1Beta1SpecRef' to JSON representation.
1611
- */
1612
- export declare function toJson_GitRepositoryV1Beta1SpecRef(obj: GitRepositoryV1Beta1SpecRef | undefined): Record<string, any> | undefined;
1613
- /**
1614
- * The secret name containing the Git credentials.
1615
- * For HTTPS repositories the secret must contain username and password
1616
- * fields.
1617
- * For SSH repositories the secret must contain identity and known_hosts
1618
- * fields.
1619
- *
1620
- * @schema GitRepositoryV1Beta1SpecSecretRef
1621
- */
1622
- export interface GitRepositoryV1Beta1SpecSecretRef {
1623
- /**
1624
- * Name of the referent.
1625
- *
1626
- * @schema GitRepositoryV1Beta1SpecSecretRef#name
1627
- */
1628
- readonly name: string;
1629
- }
1630
- /**
1631
- * Converts an object of type 'GitRepositoryV1Beta1SpecSecretRef' to JSON representation.
1632
- */
1633
- export declare function toJson_GitRepositoryV1Beta1SpecSecretRef(obj: GitRepositoryV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
1634
- /**
1635
- * Verify OpenPGP signature for the Git commit HEAD points to.
1636
- *
1637
- * @schema GitRepositoryV1Beta1SpecVerify
1638
- */
1639
- export interface GitRepositoryV1Beta1SpecVerify {
1640
- /**
1641
- * Mode describes what git object should be verified, currently ('head').
1642
- *
1643
- * @schema GitRepositoryV1Beta1SpecVerify#mode
1644
- */
1645
- readonly mode: GitRepositoryV1Beta1SpecVerifyMode;
1646
- /**
1647
- * The secret name containing the public keys of all trusted Git authors.
1648
- *
1649
- * @schema GitRepositoryV1Beta1SpecVerify#secretRef
1650
- */
1651
- readonly secretRef?: GitRepositoryV1Beta1SpecVerifySecretRef;
1652
- }
1653
- /**
1654
- * Converts an object of type 'GitRepositoryV1Beta1SpecVerify' to JSON representation.
1655
- */
1656
- export declare function toJson_GitRepositoryV1Beta1SpecVerify(obj: GitRepositoryV1Beta1SpecVerify | undefined): Record<string, any> | undefined;
1657
- /**
1658
- * NamespaceSelector selects the namespaces to which this ACL applies.
1659
- * An empty map of MatchLabels matches all namespaces in a cluster.
1660
- *
1661
- * @schema GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors
1662
- */
1663
- export interface GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors {
1664
- /**
1665
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1666
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
1667
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
1668
- *
1669
- * @schema GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
1670
- */
1671
- readonly matchLabels?: {
1672
- [key: string]: string;
1673
- };
1674
- }
1675
- /**
1676
- * Converts an object of type 'GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors' to JSON representation.
1677
- */
1678
- export declare function toJson_GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors(obj: GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
1679
- /**
1680
- * Reference to a GitRepository to include.
1681
- *
1682
- * @schema GitRepositoryV1Beta1SpecIncludeRepository
1683
- */
1684
- export interface GitRepositoryV1Beta1SpecIncludeRepository {
1685
- /**
1686
- * Name of the referent.
1687
- *
1688
- * @schema GitRepositoryV1Beta1SpecIncludeRepository#name
1689
- */
1690
- readonly name: string;
1691
- }
1692
- /**
1693
- * Converts an object of type 'GitRepositoryV1Beta1SpecIncludeRepository' to JSON representation.
1694
- */
1695
- export declare function toJson_GitRepositoryV1Beta1SpecIncludeRepository(obj: GitRepositoryV1Beta1SpecIncludeRepository | undefined): Record<string, any> | undefined;
1696
- /**
1697
- * Mode describes what git object should be verified, currently ('head').
1698
- *
1699
- * @schema GitRepositoryV1Beta1SpecVerifyMode
1700
- */
1701
- export declare enum GitRepositoryV1Beta1SpecVerifyMode {
1702
- /** head */
1703
- HEAD = "head"
1704
- }
1705
- /**
1706
- * The secret name containing the public keys of all trusted Git authors.
1707
- *
1708
- * @schema GitRepositoryV1Beta1SpecVerifySecretRef
1709
- */
1710
- export interface GitRepositoryV1Beta1SpecVerifySecretRef {
1711
- /**
1712
- * Name of the referent.
1713
- *
1714
- * @schema GitRepositoryV1Beta1SpecVerifySecretRef#name
1715
- */
1716
- readonly name: string;
1717
- }
1718
- /**
1719
- * Converts an object of type 'GitRepositoryV1Beta1SpecVerifySecretRef' to JSON representation.
1720
- */
1721
- export declare function toJson_GitRepositoryV1Beta1SpecVerifySecretRef(obj: GitRepositoryV1Beta1SpecVerifySecretRef | undefined): Record<string, any> | undefined;
1722
- /**
1723
- * GitRepository is the Schema for the gitrepositories API.
1724
- *
1725
- * @schema GitRepositoryV1Beta2
1726
- */
1727
- export declare class GitRepositoryV1Beta2 extends ApiObject {
1728
- /**
1729
- * Returns the apiVersion and kind for "GitRepositoryV1Beta2"
1730
- */
1731
- static readonly GVK: GroupVersionKind;
1732
- /**
1733
- * Renders a Kubernetes manifest for "GitRepositoryV1Beta2".
1734
- *
1735
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
1736
- *
1737
- * @param props initialization props
1738
- */
1739
- static manifest(props?: GitRepositoryV1Beta2Props): any;
1740
- /**
1741
- * Defines a "GitRepositoryV1Beta2" API object
1742
- * @param scope the scope in which to define this object
1743
- * @param id a scope-local name for the object
1744
- * @param props initialization props
1745
- */
1746
- constructor(scope: Construct, id: string, props?: GitRepositoryV1Beta2Props);
1747
- /**
1748
- * Renders the object to Kubernetes JSON.
1749
- */
1750
- toJson(): any;
1751
- }
1752
- /**
1753
- * GitRepository is the Schema for the gitrepositories API.
1754
- *
1755
- * @schema GitRepositoryV1Beta2
1756
- */
1757
- export interface GitRepositoryV1Beta2Props {
1758
- /**
1759
- * @schema GitRepositoryV1Beta2#metadata
1760
- */
1761
- readonly metadata?: ApiObjectMetadata;
1762
- /**
1763
- * GitRepositorySpec specifies the required configuration to produce an
1764
- * Artifact for a Git repository.
1765
- *
1766
- * @schema GitRepositoryV1Beta2#spec
1767
- */
1768
- readonly spec?: GitRepositoryV1Beta2Spec;
1769
- }
1770
- /**
1771
- * Converts an object of type 'GitRepositoryV1Beta2Props' to JSON representation.
1772
- */
1773
- export declare function toJson_GitRepositoryV1Beta2Props(obj: GitRepositoryV1Beta2Props | undefined): Record<string, any> | undefined;
1774
- /**
1775
- * GitRepositorySpec specifies the required configuration to produce an
1776
- * Artifact for a Git repository.
1777
- *
1778
- * @schema GitRepositoryV1Beta2Spec
1779
- */
1780
- export interface GitRepositoryV1Beta2Spec {
1781
- /**
1782
- * AccessFrom specifies an Access Control List for allowing cross-namespace
1783
- * references to this object.
1784
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
1785
- *
1786
- * @schema GitRepositoryV1Beta2Spec#accessFrom
1787
- */
1788
- readonly accessFrom?: GitRepositoryV1Beta2SpecAccessFrom;
1789
- /**
1790
- * GitImplementation specifies which Git client library implementation to
1791
- * use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
1792
- * Deprecated: gitImplementation is deprecated now that 'go-git' is the
1793
- * only supported implementation.
1794
- *
1795
- * @default go-git', valid values are ('go-git', 'libgit2').
1796
- * @schema GitRepositoryV1Beta2Spec#gitImplementation
1797
- */
1798
- readonly gitImplementation?: GitRepositoryV1Beta2SpecGitImplementation;
1799
- /**
1800
- * Ignore overrides the set of excluded patterns in the .sourceignore format
1801
- * (which is the same as .gitignore). If not provided, a default will be used,
1802
- * consult the documentation for your version to find out what those are.
1803
- *
1804
- * @schema GitRepositoryV1Beta2Spec#ignore
1805
- */
1806
- readonly ignore?: string;
1807
- /**
1808
- * Include specifies a list of GitRepository resources which Artifacts
1809
- * should be included in the Artifact produced for this GitRepository.
1810
- *
1811
- * @schema GitRepositoryV1Beta2Spec#include
1812
- */
1813
- readonly include?: GitRepositoryV1Beta2SpecInclude[];
1814
- /**
1815
- * Interval at which to check the GitRepository for updates.
1816
- *
1817
- * @schema GitRepositoryV1Beta2Spec#interval
1818
- */
1819
- readonly interval: string;
1820
- /**
1821
- * RecurseSubmodules enables the initialization of all submodules within
1822
- * the GitRepository as cloned from the URL, using their default settings.
1823
- *
1824
- * @schema GitRepositoryV1Beta2Spec#recurseSubmodules
1825
- */
1826
- readonly recurseSubmodules?: boolean;
1827
- /**
1828
- * Reference specifies the Git reference to resolve and monitor for
1829
- * changes, defaults to the 'master' branch.
1830
- *
1831
- * @schema GitRepositoryV1Beta2Spec#ref
1832
- */
1833
- readonly ref?: GitRepositoryV1Beta2SpecRef;
1834
- /**
1835
- * SecretRef specifies the Secret containing authentication credentials for
1836
- * the GitRepository.
1837
- * For HTTPS repositories the Secret must contain 'username' and 'password'
1838
- * fields for basic auth or 'bearerToken' field for token auth.
1839
- * For SSH repositories the Secret must contain 'identity'
1840
- * and 'known_hosts' fields.
1841
- *
1842
- * @schema GitRepositoryV1Beta2Spec#secretRef
1843
- */
1844
- readonly secretRef?: GitRepositoryV1Beta2SpecSecretRef;
1845
- /**
1846
- * Suspend tells the controller to suspend the reconciliation of this
1847
- * GitRepository.
1848
- *
1849
- * @schema GitRepositoryV1Beta2Spec#suspend
1850
- */
1851
- readonly suspend?: boolean;
1852
- /**
1853
- * Timeout for Git operations like cloning, defaults to 60s.
1854
- *
1855
- * @schema GitRepositoryV1Beta2Spec#timeout
1856
- */
1857
- readonly timeout?: string;
1858
- /**
1859
- * URL specifies the Git repository URL, it can be an HTTP/S or SSH address.
1860
- *
1861
- * @schema GitRepositoryV1Beta2Spec#url
1862
- */
1863
- readonly url: string;
1864
- /**
1865
- * Verification specifies the configuration to verify the Git commit
1866
- * signature(s).
1867
- *
1868
- * @schema GitRepositoryV1Beta2Spec#verify
1869
- */
1870
- readonly verify?: GitRepositoryV1Beta2SpecVerify;
1871
- }
1872
- /**
1873
- * Converts an object of type 'GitRepositoryV1Beta2Spec' to JSON representation.
1874
- */
1875
- export declare function toJson_GitRepositoryV1Beta2Spec(obj: GitRepositoryV1Beta2Spec | undefined): Record<string, any> | undefined;
1876
- /**
1877
- * AccessFrom specifies an Access Control List for allowing cross-namespace
1878
- * references to this object.
1879
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
1880
- *
1881
- * @schema GitRepositoryV1Beta2SpecAccessFrom
1882
- */
1883
- export interface GitRepositoryV1Beta2SpecAccessFrom {
1884
- /**
1885
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
1886
- * Items in this list are evaluated using a logical OR operation.
1887
- *
1888
- * @schema GitRepositoryV1Beta2SpecAccessFrom#namespaceSelectors
1889
- */
1890
- readonly namespaceSelectors: GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors[];
1891
- }
1892
- /**
1893
- * Converts an object of type 'GitRepositoryV1Beta2SpecAccessFrom' to JSON representation.
1894
- */
1895
- export declare function toJson_GitRepositoryV1Beta2SpecAccessFrom(obj: GitRepositoryV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
1896
- /**
1897
- * GitImplementation specifies which Git client library implementation to
1898
- * use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
1899
- * Deprecated: gitImplementation is deprecated now that 'go-git' is the
1900
- * only supported implementation.
1901
- *
1902
- * @default go-git', valid values are ('go-git', 'libgit2').
1903
- * @schema GitRepositoryV1Beta2SpecGitImplementation
1904
- */
1905
- export declare enum GitRepositoryV1Beta2SpecGitImplementation {
1906
- /** go-git */
1907
- GO_HYPHEN_GIT = "go-git",
1908
- /** libgit2 */
1909
- LIBGIT2 = "libgit2"
1910
- }
1911
- /**
1912
- * GitRepositoryInclude specifies a local reference to a GitRepository which
1913
- * Artifact (sub-)contents must be included, and where they should be placed.
1914
- *
1915
- * @schema GitRepositoryV1Beta2SpecInclude
1916
- */
1917
- export interface GitRepositoryV1Beta2SpecInclude {
1918
- /**
1919
- * FromPath specifies the path to copy contents from, defaults to the root
1920
- * of the Artifact.
1921
- *
1922
- * @schema GitRepositoryV1Beta2SpecInclude#fromPath
1923
- */
1924
- readonly fromPath?: string;
1925
- /**
1926
- * GitRepositoryRef specifies the GitRepository which Artifact contents
1927
- * must be included.
1928
- *
1929
- * @schema GitRepositoryV1Beta2SpecInclude#repository
1930
- */
1931
- readonly repository: GitRepositoryV1Beta2SpecIncludeRepository;
1932
- /**
1933
- * ToPath specifies the path to copy contents to, defaults to the name of
1934
- * the GitRepositoryRef.
1935
- *
1936
- * @schema GitRepositoryV1Beta2SpecInclude#toPath
1937
- */
1938
- readonly toPath?: string;
1939
- }
1940
- /**
1941
- * Converts an object of type 'GitRepositoryV1Beta2SpecInclude' to JSON representation.
1942
- */
1943
- export declare function toJson_GitRepositoryV1Beta2SpecInclude(obj: GitRepositoryV1Beta2SpecInclude | undefined): Record<string, any> | undefined;
1944
- /**
1945
- * Reference specifies the Git reference to resolve and monitor for
1946
- * changes, defaults to the 'master' branch.
1947
- *
1948
- * @schema GitRepositoryV1Beta2SpecRef
1949
- */
1950
- export interface GitRepositoryV1Beta2SpecRef {
1951
- /**
1952
- * Branch to check out, defaults to 'master' if no other field is defined.
1953
- *
1954
- * @schema GitRepositoryV1Beta2SpecRef#branch
1955
- */
1956
- readonly branch?: string;
1957
- /**
1958
- * Commit SHA to check out, takes precedence over all reference fields.
1959
- *
1960
- * This can be combined with Branch to shallow clone the branch, in which
1961
- * the commit is expected to exist.
1962
- *
1963
- * @schema GitRepositoryV1Beta2SpecRef#commit
1964
- */
1965
- readonly commit?: string;
1966
- /**
1967
- * Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
1968
- *
1969
- * It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
1970
- * Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head"
1971
- *
1972
- * @schema GitRepositoryV1Beta2SpecRef#name
1973
- */
1974
- readonly name?: string;
1975
- /**
1976
- * SemVer tag expression to check out, takes precedence over Tag.
1977
- *
1978
- * @schema GitRepositoryV1Beta2SpecRef#semver
1979
- */
1980
- readonly semver?: string;
1981
- /**
1982
- * Tag to check out, takes precedence over Branch.
1983
- *
1984
- * @schema GitRepositoryV1Beta2SpecRef#tag
1985
- */
1986
- readonly tag?: string;
1987
- }
1988
- /**
1989
- * Converts an object of type 'GitRepositoryV1Beta2SpecRef' to JSON representation.
1990
- */
1991
- export declare function toJson_GitRepositoryV1Beta2SpecRef(obj: GitRepositoryV1Beta2SpecRef | undefined): Record<string, any> | undefined;
1992
- /**
1993
- * SecretRef specifies the Secret containing authentication credentials for
1994
- * the GitRepository.
1995
- * For HTTPS repositories the Secret must contain 'username' and 'password'
1996
- * fields for basic auth or 'bearerToken' field for token auth.
1997
- * For SSH repositories the Secret must contain 'identity'
1998
- * and 'known_hosts' fields.
1999
- *
2000
- * @schema GitRepositoryV1Beta2SpecSecretRef
2001
- */
2002
- export interface GitRepositoryV1Beta2SpecSecretRef {
2003
- /**
2004
- * Name of the referent.
2005
- *
2006
- * @schema GitRepositoryV1Beta2SpecSecretRef#name
2007
- */
2008
- readonly name: string;
2009
- }
2010
- /**
2011
- * Converts an object of type 'GitRepositoryV1Beta2SpecSecretRef' to JSON representation.
2012
- */
2013
- export declare function toJson_GitRepositoryV1Beta2SpecSecretRef(obj: GitRepositoryV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
2014
- /**
2015
- * Verification specifies the configuration to verify the Git commit
2016
- * signature(s).
2017
- *
2018
- * @schema GitRepositoryV1Beta2SpecVerify
2019
- */
2020
- export interface GitRepositoryV1Beta2SpecVerify {
2021
- /**
2022
- * Mode specifies what Git object should be verified, currently ('head').
2023
- *
2024
- * @schema GitRepositoryV1Beta2SpecVerify#mode
2025
- */
2026
- readonly mode: GitRepositoryV1Beta2SpecVerifyMode;
2027
- /**
2028
- * SecretRef specifies the Secret containing the public keys of trusted Git
2029
- * authors.
2030
- *
2031
- * @schema GitRepositoryV1Beta2SpecVerify#secretRef
2032
- */
2033
- readonly secretRef: GitRepositoryV1Beta2SpecVerifySecretRef;
2034
- }
2035
- /**
2036
- * Converts an object of type 'GitRepositoryV1Beta2SpecVerify' to JSON representation.
2037
- */
2038
- export declare function toJson_GitRepositoryV1Beta2SpecVerify(obj: GitRepositoryV1Beta2SpecVerify | undefined): Record<string, any> | undefined;
2039
- /**
2040
- * NamespaceSelector selects the namespaces to which this ACL applies.
2041
- * An empty map of MatchLabels matches all namespaces in a cluster.
2042
- *
2043
- * @schema GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors
2044
- */
2045
- export interface GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors {
2046
- /**
2047
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
2048
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
2049
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
2050
- *
2051
- * @schema GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
2052
- */
2053
- readonly matchLabels?: {
2054
- [key: string]: string;
2055
- };
2056
- }
2057
- /**
2058
- * Converts an object of type 'GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors' to JSON representation.
2059
- */
2060
- export declare function toJson_GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors(obj: GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
2061
- /**
2062
- * GitRepositoryRef specifies the GitRepository which Artifact contents
2063
- * must be included.
2064
- *
2065
- * @schema GitRepositoryV1Beta2SpecIncludeRepository
2066
- */
2067
- export interface GitRepositoryV1Beta2SpecIncludeRepository {
2068
- /**
2069
- * Name of the referent.
2070
- *
2071
- * @schema GitRepositoryV1Beta2SpecIncludeRepository#name
2072
- */
2073
- readonly name: string;
2074
- }
2075
- /**
2076
- * Converts an object of type 'GitRepositoryV1Beta2SpecIncludeRepository' to JSON representation.
2077
- */
2078
- export declare function toJson_GitRepositoryV1Beta2SpecIncludeRepository(obj: GitRepositoryV1Beta2SpecIncludeRepository | undefined): Record<string, any> | undefined;
2079
- /**
2080
- * Mode specifies what Git object should be verified, currently ('head').
2081
- *
2082
- * @schema GitRepositoryV1Beta2SpecVerifyMode
2083
- */
2084
- export declare enum GitRepositoryV1Beta2SpecVerifyMode {
2085
- /** head */
2086
- HEAD = "head"
2087
- }
2088
- /**
2089
- * SecretRef specifies the Secret containing the public keys of trusted Git
2090
- * authors.
2091
- *
2092
- * @schema GitRepositoryV1Beta2SpecVerifySecretRef
2093
- */
2094
- export interface GitRepositoryV1Beta2SpecVerifySecretRef {
2095
- /**
2096
- * Name of the referent.
2097
- *
2098
- * @schema GitRepositoryV1Beta2SpecVerifySecretRef#name
2099
- */
2100
- readonly name: string;
2101
- }
2102
- /**
2103
- * Converts an object of type 'GitRepositoryV1Beta2SpecVerifySecretRef' to JSON representation.
2104
- */
2105
- export declare function toJson_GitRepositoryV1Beta2SpecVerifySecretRef(obj: GitRepositoryV1Beta2SpecVerifySecretRef | undefined): Record<string, any> | undefined;
2106
- /**
2107
- * HelmChart is the Schema for the helmcharts API.
2108
- *
2109
- * @schema HelmChart
2110
- */
2111
- export declare class HelmChart extends ApiObject {
2112
- /**
2113
- * Returns the apiVersion and kind for "HelmChart"
2114
- */
2115
- static readonly GVK: GroupVersionKind;
2116
- /**
2117
- * Renders a Kubernetes manifest for "HelmChart".
2118
- *
2119
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
2120
- *
2121
- * @param props initialization props
2122
- */
2123
- static manifest(props?: HelmChartProps): any;
2124
- /**
2125
- * Defines a "HelmChart" API object
2126
- * @param scope the scope in which to define this object
2127
- * @param id a scope-local name for the object
2128
- * @param props initialization props
2129
- */
2130
- constructor(scope: Construct, id: string, props?: HelmChartProps);
2131
- /**
2132
- * Renders the object to Kubernetes JSON.
2133
- */
2134
- toJson(): any;
2135
- }
2136
- /**
2137
- * HelmChart is the Schema for the helmcharts API.
2138
- *
2139
- * @schema HelmChart
2140
- */
2141
- export interface HelmChartProps {
2142
- /**
2143
- * @schema HelmChart#metadata
2144
- */
2145
- readonly metadata?: ApiObjectMetadata;
2146
- /**
2147
- * HelmChartSpec specifies the desired state of a Helm chart.
2148
- *
2149
- * @schema HelmChart#spec
2150
- */
2151
- readonly spec?: HelmChartSpec;
2152
- }
2153
- /**
2154
- * Converts an object of type 'HelmChartProps' to JSON representation.
2155
- */
2156
- export declare function toJson_HelmChartProps(obj: HelmChartProps | undefined): Record<string, any> | undefined;
2157
- /**
2158
- * HelmChartSpec specifies the desired state of a Helm chart.
2159
- *
2160
- * @schema HelmChartSpec
2161
- */
2162
- export interface HelmChartSpec {
2163
- /**
2164
- * Chart is the name or path the Helm chart is available at in the
2165
- * SourceRef.
2166
- *
2167
- * @schema HelmChartSpec#chart
2168
- */
2169
- readonly chart: string;
2170
- /**
2171
- * IgnoreMissingValuesFiles controls whether to silently ignore missing values
2172
- * files rather than failing.
2173
- *
2174
- * @schema HelmChartSpec#ignoreMissingValuesFiles
2175
- */
2176
- readonly ignoreMissingValuesFiles?: boolean;
2177
- /**
2178
- * Interval at which the HelmChart SourceRef is checked for updates.
2179
- * This interval is approximate and may be subject to jitter to ensure
2180
- * efficient use of resources.
2181
- *
2182
- * @schema HelmChartSpec#interval
2183
- */
2184
- readonly interval: string;
2185
- /**
2186
- * ReconcileStrategy determines what enables the creation of a new artifact.
2187
- * Valid values are ('ChartVersion', 'Revision').
2188
- * See the documentation of the values for an explanation on their behavior.
2189
- * Defaults to ChartVersion when omitted.
2190
- *
2191
- * @default ChartVersion when omitted.
2192
- * @schema HelmChartSpec#reconcileStrategy
2193
- */
2194
- readonly reconcileStrategy?: HelmChartSpecReconcileStrategy;
2195
- /**
2196
- * SourceRef is the reference to the Source the chart is available at.
2197
- *
2198
- * @schema HelmChartSpec#sourceRef
2199
- */
2200
- readonly sourceRef: HelmChartSpecSourceRef;
2201
- /**
2202
- * Suspend tells the controller to suspend the reconciliation of this
2203
- * source.
2204
- *
2205
- * @schema HelmChartSpec#suspend
2206
- */
2207
- readonly suspend?: boolean;
2208
- /**
2209
- * ValuesFiles is an alternative list of values files to use as the chart
2210
- * values (values.yaml is not included by default), expected to be a
2211
- * relative path in the SourceRef.
2212
- * Values files are merged in the order of this list with the last file
2213
- * overriding the first. Ignored when omitted.
2214
- *
2215
- * @schema HelmChartSpec#valuesFiles
2216
- */
2217
- readonly valuesFiles?: string[];
2218
- /**
2219
- * Verify contains the secret name containing the trusted public keys
2220
- * used to verify the signature and specifies which provider to use to check
2221
- * whether OCI image is authentic.
2222
- * This field is only supported when using HelmRepository source with spec.type 'oci'.
2223
- * Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
2224
- *
2225
- * @schema HelmChartSpec#verify
2226
- */
2227
- readonly verify?: HelmChartSpecVerify;
2228
- /**
2229
- * Version is the chart version semver expression, ignored for charts from
2230
- * GitRepository and Bucket sources. Defaults to latest when omitted.
2231
- *
2232
- * @default latest when omitted.
2233
- * @schema HelmChartSpec#version
2234
- */
2235
- readonly version?: string;
2236
- }
2237
- /**
2238
- * Converts an object of type 'HelmChartSpec' to JSON representation.
2239
- */
2240
- export declare function toJson_HelmChartSpec(obj: HelmChartSpec | undefined): Record<string, any> | undefined;
2241
- /**
2242
- * ReconcileStrategy determines what enables the creation of a new artifact.
2243
- * Valid values are ('ChartVersion', 'Revision').
2244
- * See the documentation of the values for an explanation on their behavior.
2245
- * Defaults to ChartVersion when omitted.
2246
- *
2247
- * @default ChartVersion when omitted.
2248
- * @schema HelmChartSpecReconcileStrategy
2249
- */
2250
- export declare enum HelmChartSpecReconcileStrategy {
2251
- /** ChartVersion */
2252
- CHART_VERSION = "ChartVersion",
2253
- /** Revision */
2254
- REVISION = "Revision"
2255
- }
2256
- /**
2257
- * SourceRef is the reference to the Source the chart is available at.
2258
- *
2259
- * @schema HelmChartSpecSourceRef
2260
- */
2261
- export interface HelmChartSpecSourceRef {
2262
- /**
2263
- * APIVersion of the referent.
2264
- *
2265
- * @schema HelmChartSpecSourceRef#apiVersion
2266
- */
2267
- readonly apiVersion?: string;
2268
- /**
2269
- * Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
2270
- * 'Bucket').
2271
- *
2272
- * @schema HelmChartSpecSourceRef#kind
2273
- */
2274
- readonly kind: HelmChartSpecSourceRefKind;
2275
- /**
2276
- * Name of the referent.
2277
- *
2278
- * @schema HelmChartSpecSourceRef#name
2279
- */
2280
- readonly name: string;
2281
- }
2282
- /**
2283
- * Converts an object of type 'HelmChartSpecSourceRef' to JSON representation.
2284
- */
2285
- export declare function toJson_HelmChartSpecSourceRef(obj: HelmChartSpecSourceRef | undefined): Record<string, any> | undefined;
2286
- /**
2287
- * Verify contains the secret name containing the trusted public keys
2288
- * used to verify the signature and specifies which provider to use to check
2289
- * whether OCI image is authentic.
2290
- * This field is only supported when using HelmRepository source with spec.type 'oci'.
2291
- * Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
2292
- *
2293
- * @schema HelmChartSpecVerify
2294
- */
2295
- export interface HelmChartSpecVerify {
2296
- /**
2297
- * MatchOIDCIdentity specifies the identity matching criteria to use
2298
- * while verifying an OCI artifact which was signed using Cosign keyless
2299
- * signing. The artifact's identity is deemed to be verified if any of the
2300
- * specified matchers match against the identity.
2301
- *
2302
- * @schema HelmChartSpecVerify#matchOIDCIdentity
2303
- */
2304
- readonly matchOidcIdentity?: HelmChartSpecVerifyMatchOidcIdentity[];
2305
- /**
2306
- * Provider specifies the technology used to sign the OCI Artifact.
2307
- *
2308
- * @schema HelmChartSpecVerify#provider
2309
- */
2310
- readonly provider: HelmChartSpecVerifyProvider;
2311
- /**
2312
- * SecretRef specifies the Kubernetes Secret containing the
2313
- * trusted public keys.
2314
- *
2315
- * @schema HelmChartSpecVerify#secretRef
2316
- */
2317
- readonly secretRef?: HelmChartSpecVerifySecretRef;
2318
- }
2319
- /**
2320
- * Converts an object of type 'HelmChartSpecVerify' to JSON representation.
2321
- */
2322
- export declare function toJson_HelmChartSpecVerify(obj: HelmChartSpecVerify | undefined): Record<string, any> | undefined;
2323
- /**
2324
- * Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
2325
- * 'Bucket').
2326
- *
2327
- * @schema HelmChartSpecSourceRefKind
2328
- */
2329
- export declare enum HelmChartSpecSourceRefKind {
2330
- /** HelmRepository */
2331
- HELM_REPOSITORY = "HelmRepository",
2332
- /** GitRepository */
2333
- GIT_REPOSITORY = "GitRepository",
2334
- /** Bucket */
2335
- BUCKET = "Bucket"
2336
- }
2337
- /**
2338
- * OIDCIdentityMatch specifies options for verifying the certificate identity,
2339
- * i.e. the issuer and the subject of the certificate.
2340
- *
2341
- * @schema HelmChartSpecVerifyMatchOidcIdentity
2342
- */
2343
- export interface HelmChartSpecVerifyMatchOidcIdentity {
2344
- /**
2345
- * Issuer specifies the regex pattern to match against to verify
2346
- * the OIDC issuer in the Fulcio certificate. The pattern must be a
2347
- * valid Go regular expression.
2348
- *
2349
- * @schema HelmChartSpecVerifyMatchOidcIdentity#issuer
2350
- */
2351
- readonly issuer: string;
2352
- /**
2353
- * Subject specifies the regex pattern to match against to verify
2354
- * the identity subject in the Fulcio certificate. The pattern must
2355
- * be a valid Go regular expression.
2356
- *
2357
- * @schema HelmChartSpecVerifyMatchOidcIdentity#subject
2358
- */
2359
- readonly subject: string;
2360
- }
2361
- /**
2362
- * Converts an object of type 'HelmChartSpecVerifyMatchOidcIdentity' to JSON representation.
2363
- */
2364
- export declare function toJson_HelmChartSpecVerifyMatchOidcIdentity(obj: HelmChartSpecVerifyMatchOidcIdentity | undefined): Record<string, any> | undefined;
2365
- /**
2366
- * Provider specifies the technology used to sign the OCI Artifact.
2367
- *
2368
- * @schema HelmChartSpecVerifyProvider
2369
- */
2370
- export declare enum HelmChartSpecVerifyProvider {
2371
- /** cosign */
2372
- COSIGN = "cosign",
2373
- /** notation */
2374
- NOTATION = "notation"
2375
- }
2376
- /**
2377
- * SecretRef specifies the Kubernetes Secret containing the
2378
- * trusted public keys.
2379
- *
2380
- * @schema HelmChartSpecVerifySecretRef
2381
- */
2382
- export interface HelmChartSpecVerifySecretRef {
2383
- /**
2384
- * Name of the referent.
2385
- *
2386
- * @schema HelmChartSpecVerifySecretRef#name
2387
- */
2388
- readonly name: string;
2389
- }
2390
- /**
2391
- * Converts an object of type 'HelmChartSpecVerifySecretRef' to JSON representation.
2392
- */
2393
- export declare function toJson_HelmChartSpecVerifySecretRef(obj: HelmChartSpecVerifySecretRef | undefined): Record<string, any> | undefined;
2394
- /**
2395
- * HelmChart is the Schema for the helmcharts API
2396
- *
2397
- * @schema HelmChartV1Beta1
2398
- */
2399
- export declare class HelmChartV1Beta1 extends ApiObject {
2400
- /**
2401
- * Returns the apiVersion and kind for "HelmChartV1Beta1"
2402
- */
2403
- static readonly GVK: GroupVersionKind;
2404
- /**
2405
- * Renders a Kubernetes manifest for "HelmChartV1Beta1".
2406
- *
2407
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
2408
- *
2409
- * @param props initialization props
2410
- */
2411
- static manifest(props?: HelmChartV1Beta1Props): any;
2412
- /**
2413
- * Defines a "HelmChartV1Beta1" API object
2414
- * @param scope the scope in which to define this object
2415
- * @param id a scope-local name for the object
2416
- * @param props initialization props
2417
- */
2418
- constructor(scope: Construct, id: string, props?: HelmChartV1Beta1Props);
2419
- /**
2420
- * Renders the object to Kubernetes JSON.
2421
- */
2422
- toJson(): any;
2423
- }
2424
- /**
2425
- * HelmChart is the Schema for the helmcharts API
2426
- *
2427
- * @schema HelmChartV1Beta1
2428
- */
2429
- export interface HelmChartV1Beta1Props {
2430
- /**
2431
- * @schema HelmChartV1Beta1#metadata
2432
- */
2433
- readonly metadata?: ApiObjectMetadata;
2434
- /**
2435
- * HelmChartSpec defines the desired state of a Helm chart.
2436
- *
2437
- * @schema HelmChartV1Beta1#spec
2438
- */
2439
- readonly spec?: HelmChartV1Beta1Spec;
2440
- }
2441
- /**
2442
- * Converts an object of type 'HelmChartV1Beta1Props' to JSON representation.
2443
- */
2444
- export declare function toJson_HelmChartV1Beta1Props(obj: HelmChartV1Beta1Props | undefined): Record<string, any> | undefined;
2445
- /**
2446
- * HelmChartSpec defines the desired state of a Helm chart.
2447
- *
2448
- * @schema HelmChartV1Beta1Spec
2449
- */
2450
- export interface HelmChartV1Beta1Spec {
2451
- /**
2452
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
2453
- *
2454
- * @schema HelmChartV1Beta1Spec#accessFrom
2455
- */
2456
- readonly accessFrom?: HelmChartV1Beta1SpecAccessFrom;
2457
- /**
2458
- * The name or path the Helm chart is available at in the SourceRef.
2459
- *
2460
- * @schema HelmChartV1Beta1Spec#chart
2461
- */
2462
- readonly chart: string;
2463
- /**
2464
- * The interval at which to check the Source for updates.
2465
- *
2466
- * @schema HelmChartV1Beta1Spec#interval
2467
- */
2468
- readonly interval: string;
2469
- /**
2470
- * Determines what enables the creation of a new artifact. Valid values are
2471
- * ('ChartVersion', 'Revision').
2472
- * See the documentation of the values for an explanation on their behavior.
2473
- * Defaults to ChartVersion when omitted.
2474
- *
2475
- * @default ChartVersion when omitted.
2476
- * @schema HelmChartV1Beta1Spec#reconcileStrategy
2477
- */
2478
- readonly reconcileStrategy?: HelmChartV1Beta1SpecReconcileStrategy;
2479
- /**
2480
- * The reference to the Source the chart is available at.
2481
- *
2482
- * @schema HelmChartV1Beta1Spec#sourceRef
2483
- */
2484
- readonly sourceRef: HelmChartV1Beta1SpecSourceRef;
2485
- /**
2486
- * This flag tells the controller to suspend the reconciliation of this source.
2487
- *
2488
- * @schema HelmChartV1Beta1Spec#suspend
2489
- */
2490
- readonly suspend?: boolean;
2491
- /**
2492
- * Alternative values file to use as the default chart values, expected to
2493
- * be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
2494
- * for backwards compatibility the file defined here is merged before the
2495
- * ValuesFiles items. Ignored when omitted.
2496
- *
2497
- * @schema HelmChartV1Beta1Spec#valuesFile
2498
- */
2499
- readonly valuesFile?: string;
2500
- /**
2501
- * Alternative list of values files to use as the chart values (values.yaml
2502
- * is not included by default), expected to be a relative path in the SourceRef.
2503
- * Values files are merged in the order of this list with the last file overriding
2504
- * the first. Ignored when omitted.
2505
- *
2506
- * @schema HelmChartV1Beta1Spec#valuesFiles
2507
- */
2508
- readonly valuesFiles?: string[];
2509
- /**
2510
- * The chart version semver expression, ignored for charts from GitRepository
2511
- * and Bucket sources. Defaults to latest when omitted.
2512
- *
2513
- * @default latest when omitted.
2514
- * @schema HelmChartV1Beta1Spec#version
2515
- */
2516
- readonly version?: string;
2517
- }
2518
- /**
2519
- * Converts an object of type 'HelmChartV1Beta1Spec' to JSON representation.
2520
- */
2521
- export declare function toJson_HelmChartV1Beta1Spec(obj: HelmChartV1Beta1Spec | undefined): Record<string, any> | undefined;
2522
- /**
2523
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
2524
- *
2525
- * @schema HelmChartV1Beta1SpecAccessFrom
2526
- */
2527
- export interface HelmChartV1Beta1SpecAccessFrom {
2528
- /**
2529
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
2530
- * Items in this list are evaluated using a logical OR operation.
2531
- *
2532
- * @schema HelmChartV1Beta1SpecAccessFrom#namespaceSelectors
2533
- */
2534
- readonly namespaceSelectors: HelmChartV1Beta1SpecAccessFromNamespaceSelectors[];
2535
- }
2536
- /**
2537
- * Converts an object of type 'HelmChartV1Beta1SpecAccessFrom' to JSON representation.
2538
- */
2539
- export declare function toJson_HelmChartV1Beta1SpecAccessFrom(obj: HelmChartV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
2540
- /**
2541
- * Determines what enables the creation of a new artifact. Valid values are
2542
- * ('ChartVersion', 'Revision').
2543
- * See the documentation of the values for an explanation on their behavior.
2544
- * Defaults to ChartVersion when omitted.
2545
- *
2546
- * @default ChartVersion when omitted.
2547
- * @schema HelmChartV1Beta1SpecReconcileStrategy
2548
- */
2549
- export declare enum HelmChartV1Beta1SpecReconcileStrategy {
2550
- /** ChartVersion */
2551
- CHART_VERSION = "ChartVersion",
2552
- /** Revision */
2553
- REVISION = "Revision"
2554
- }
2555
- /**
2556
- * The reference to the Source the chart is available at.
2557
- *
2558
- * @schema HelmChartV1Beta1SpecSourceRef
2559
- */
2560
- export interface HelmChartV1Beta1SpecSourceRef {
2561
- /**
2562
- * APIVersion of the referent.
2563
- *
2564
- * @schema HelmChartV1Beta1SpecSourceRef#apiVersion
2565
- */
2566
- readonly apiVersion?: string;
2567
- /**
2568
- * Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
2569
- * 'Bucket').
2570
- *
2571
- * @schema HelmChartV1Beta1SpecSourceRef#kind
2572
- */
2573
- readonly kind: HelmChartV1Beta1SpecSourceRefKind;
2574
- /**
2575
- * Name of the referent.
2576
- *
2577
- * @schema HelmChartV1Beta1SpecSourceRef#name
2578
- */
2579
- readonly name: string;
2580
- }
2581
- /**
2582
- * Converts an object of type 'HelmChartV1Beta1SpecSourceRef' to JSON representation.
2583
- */
2584
- export declare function toJson_HelmChartV1Beta1SpecSourceRef(obj: HelmChartV1Beta1SpecSourceRef | undefined): Record<string, any> | undefined;
2585
- /**
2586
- * NamespaceSelector selects the namespaces to which this ACL applies.
2587
- * An empty map of MatchLabels matches all namespaces in a cluster.
2588
- *
2589
- * @schema HelmChartV1Beta1SpecAccessFromNamespaceSelectors
2590
- */
2591
- export interface HelmChartV1Beta1SpecAccessFromNamespaceSelectors {
2592
- /**
2593
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
2594
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
2595
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
2596
- *
2597
- * @schema HelmChartV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
2598
- */
2599
- readonly matchLabels?: {
2600
- [key: string]: string;
2601
- };
2602
- }
2603
- /**
2604
- * Converts an object of type 'HelmChartV1Beta1SpecAccessFromNamespaceSelectors' to JSON representation.
2605
- */
2606
- export declare function toJson_HelmChartV1Beta1SpecAccessFromNamespaceSelectors(obj: HelmChartV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
2607
- /**
2608
- * Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
2609
- * 'Bucket').
2610
- *
2611
- * @schema HelmChartV1Beta1SpecSourceRefKind
2612
- */
2613
- export declare enum HelmChartV1Beta1SpecSourceRefKind {
2614
- /** HelmRepository */
2615
- HELM_REPOSITORY = "HelmRepository",
2616
- /** GitRepository */
2617
- GIT_REPOSITORY = "GitRepository",
2618
- /** Bucket */
2619
- BUCKET = "Bucket"
2620
- }
2621
- /**
2622
- * HelmChart is the Schema for the helmcharts API.
2623
- *
2624
- * @schema HelmChartV1Beta2
2625
- */
2626
- export declare class HelmChartV1Beta2 extends ApiObject {
2627
- /**
2628
- * Returns the apiVersion and kind for "HelmChartV1Beta2"
2629
- */
2630
- static readonly GVK: GroupVersionKind;
2631
- /**
2632
- * Renders a Kubernetes manifest for "HelmChartV1Beta2".
2633
- *
2634
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
2635
- *
2636
- * @param props initialization props
2637
- */
2638
- static manifest(props?: HelmChartV1Beta2Props): any;
2639
- /**
2640
- * Defines a "HelmChartV1Beta2" API object
2641
- * @param scope the scope in which to define this object
2642
- * @param id a scope-local name for the object
2643
- * @param props initialization props
2644
- */
2645
- constructor(scope: Construct, id: string, props?: HelmChartV1Beta2Props);
2646
- /**
2647
- * Renders the object to Kubernetes JSON.
2648
- */
2649
- toJson(): any;
2650
- }
2651
- /**
2652
- * HelmChart is the Schema for the helmcharts API.
2653
- *
2654
- * @schema HelmChartV1Beta2
2655
- */
2656
- export interface HelmChartV1Beta2Props {
2657
- /**
2658
- * @schema HelmChartV1Beta2#metadata
2659
- */
2660
- readonly metadata?: ApiObjectMetadata;
2661
- /**
2662
- * HelmChartSpec specifies the desired state of a Helm chart.
2663
- *
2664
- * @schema HelmChartV1Beta2#spec
2665
- */
2666
- readonly spec?: HelmChartV1Beta2Spec;
2667
- }
2668
- /**
2669
- * Converts an object of type 'HelmChartV1Beta2Props' to JSON representation.
2670
- */
2671
- export declare function toJson_HelmChartV1Beta2Props(obj: HelmChartV1Beta2Props | undefined): Record<string, any> | undefined;
2672
- /**
2673
- * HelmChartSpec specifies the desired state of a Helm chart.
2674
- *
2675
- * @schema HelmChartV1Beta2Spec
2676
- */
2677
- export interface HelmChartV1Beta2Spec {
2678
- /**
2679
- * AccessFrom specifies an Access Control List for allowing cross-namespace
2680
- * references to this object.
2681
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
2682
- *
2683
- * @schema HelmChartV1Beta2Spec#accessFrom
2684
- */
2685
- readonly accessFrom?: HelmChartV1Beta2SpecAccessFrom;
2686
- /**
2687
- * Chart is the name or path the Helm chart is available at in the
2688
- * SourceRef.
2689
- *
2690
- * @schema HelmChartV1Beta2Spec#chart
2691
- */
2692
- readonly chart: string;
2693
- /**
2694
- * IgnoreMissingValuesFiles controls whether to silently ignore missing values
2695
- * files rather than failing.
2696
- *
2697
- * @schema HelmChartV1Beta2Spec#ignoreMissingValuesFiles
2698
- */
2699
- readonly ignoreMissingValuesFiles?: boolean;
2700
- /**
2701
- * Interval at which the HelmChart SourceRef is checked for updates.
2702
- * This interval is approximate and may be subject to jitter to ensure
2703
- * efficient use of resources.
2704
- *
2705
- * @schema HelmChartV1Beta2Spec#interval
2706
- */
2707
- readonly interval: string;
2708
- /**
2709
- * ReconcileStrategy determines what enables the creation of a new artifact.
2710
- * Valid values are ('ChartVersion', 'Revision').
2711
- * See the documentation of the values for an explanation on their behavior.
2712
- * Defaults to ChartVersion when omitted.
2713
- *
2714
- * @default ChartVersion when omitted.
2715
- * @schema HelmChartV1Beta2Spec#reconcileStrategy
2716
- */
2717
- readonly reconcileStrategy?: HelmChartV1Beta2SpecReconcileStrategy;
2718
- /**
2719
- * SourceRef is the reference to the Source the chart is available at.
2720
- *
2721
- * @schema HelmChartV1Beta2Spec#sourceRef
2722
- */
2723
- readonly sourceRef: HelmChartV1Beta2SpecSourceRef;
2724
- /**
2725
- * Suspend tells the controller to suspend the reconciliation of this
2726
- * source.
2727
- *
2728
- * @schema HelmChartV1Beta2Spec#suspend
2729
- */
2730
- readonly suspend?: boolean;
2731
- /**
2732
- * ValuesFile is an alternative values file to use as the default chart
2733
- * values, expected to be a relative path in the SourceRef. Deprecated in
2734
- * favor of ValuesFiles, for backwards compatibility the file specified here
2735
- * is merged before the ValuesFiles items. Ignored when omitted.
2736
- *
2737
- * @schema HelmChartV1Beta2Spec#valuesFile
2738
- */
2739
- readonly valuesFile?: string;
2740
- /**
2741
- * ValuesFiles is an alternative list of values files to use as the chart
2742
- * values (values.yaml is not included by default), expected to be a
2743
- * relative path in the SourceRef.
2744
- * Values files are merged in the order of this list with the last file
2745
- * overriding the first. Ignored when omitted.
2746
- *
2747
- * @schema HelmChartV1Beta2Spec#valuesFiles
2748
- */
2749
- readonly valuesFiles?: string[];
2750
- /**
2751
- * Verify contains the secret name containing the trusted public keys
2752
- * used to verify the signature and specifies which provider to use to check
2753
- * whether OCI image is authentic.
2754
- * This field is only supported when using HelmRepository source with spec.type 'oci'.
2755
- * Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
2756
- *
2757
- * @schema HelmChartV1Beta2Spec#verify
2758
- */
2759
- readonly verify?: HelmChartV1Beta2SpecVerify;
2760
- /**
2761
- * Version is the chart version semver expression, ignored for charts from
2762
- * GitRepository and Bucket sources. Defaults to latest when omitted.
2763
- *
2764
- * @default latest when omitted.
2765
- * @schema HelmChartV1Beta2Spec#version
2766
- */
2767
- readonly version?: string;
2768
- }
2769
- /**
2770
- * Converts an object of type 'HelmChartV1Beta2Spec' to JSON representation.
2771
- */
2772
- export declare function toJson_HelmChartV1Beta2Spec(obj: HelmChartV1Beta2Spec | undefined): Record<string, any> | undefined;
2773
- /**
2774
- * AccessFrom specifies an Access Control List for allowing cross-namespace
2775
- * references to this object.
2776
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
2777
- *
2778
- * @schema HelmChartV1Beta2SpecAccessFrom
2779
- */
2780
- export interface HelmChartV1Beta2SpecAccessFrom {
2781
- /**
2782
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
2783
- * Items in this list are evaluated using a logical OR operation.
2784
- *
2785
- * @schema HelmChartV1Beta2SpecAccessFrom#namespaceSelectors
2786
- */
2787
- readonly namespaceSelectors: HelmChartV1Beta2SpecAccessFromNamespaceSelectors[];
2788
- }
2789
- /**
2790
- * Converts an object of type 'HelmChartV1Beta2SpecAccessFrom' to JSON representation.
2791
- */
2792
- export declare function toJson_HelmChartV1Beta2SpecAccessFrom(obj: HelmChartV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
2793
- /**
2794
- * ReconcileStrategy determines what enables the creation of a new artifact.
2795
- * Valid values are ('ChartVersion', 'Revision').
2796
- * See the documentation of the values for an explanation on their behavior.
2797
- * Defaults to ChartVersion when omitted.
2798
- *
2799
- * @default ChartVersion when omitted.
2800
- * @schema HelmChartV1Beta2SpecReconcileStrategy
2801
- */
2802
- export declare enum HelmChartV1Beta2SpecReconcileStrategy {
2803
- /** ChartVersion */
2804
- CHART_VERSION = "ChartVersion",
2805
- /** Revision */
2806
- REVISION = "Revision"
2807
- }
2808
- /**
2809
- * SourceRef is the reference to the Source the chart is available at.
2810
- *
2811
- * @schema HelmChartV1Beta2SpecSourceRef
2812
- */
2813
- export interface HelmChartV1Beta2SpecSourceRef {
2814
- /**
2815
- * APIVersion of the referent.
2816
- *
2817
- * @schema HelmChartV1Beta2SpecSourceRef#apiVersion
2818
- */
2819
- readonly apiVersion?: string;
2820
- /**
2821
- * Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
2822
- * 'Bucket').
2823
- *
2824
- * @schema HelmChartV1Beta2SpecSourceRef#kind
2825
- */
2826
- readonly kind: HelmChartV1Beta2SpecSourceRefKind;
2827
- /**
2828
- * Name of the referent.
2829
- *
2830
- * @schema HelmChartV1Beta2SpecSourceRef#name
2831
- */
2832
- readonly name: string;
2833
- }
2834
- /**
2835
- * Converts an object of type 'HelmChartV1Beta2SpecSourceRef' to JSON representation.
2836
- */
2837
- export declare function toJson_HelmChartV1Beta2SpecSourceRef(obj: HelmChartV1Beta2SpecSourceRef | undefined): Record<string, any> | undefined;
2838
- /**
2839
- * Verify contains the secret name containing the trusted public keys
2840
- * used to verify the signature and specifies which provider to use to check
2841
- * whether OCI image is authentic.
2842
- * This field is only supported when using HelmRepository source with spec.type 'oci'.
2843
- * Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
2844
- *
2845
- * @schema HelmChartV1Beta2SpecVerify
2846
- */
2847
- export interface HelmChartV1Beta2SpecVerify {
2848
- /**
2849
- * MatchOIDCIdentity specifies the identity matching criteria to use
2850
- * while verifying an OCI artifact which was signed using Cosign keyless
2851
- * signing. The artifact's identity is deemed to be verified if any of the
2852
- * specified matchers match against the identity.
2853
- *
2854
- * @schema HelmChartV1Beta2SpecVerify#matchOIDCIdentity
2855
- */
2856
- readonly matchOidcIdentity?: HelmChartV1Beta2SpecVerifyMatchOidcIdentity[];
2857
- /**
2858
- * Provider specifies the technology used to sign the OCI Artifact.
2859
- *
2860
- * @schema HelmChartV1Beta2SpecVerify#provider
2861
- */
2862
- readonly provider: HelmChartV1Beta2SpecVerifyProvider;
2863
- /**
2864
- * SecretRef specifies the Kubernetes Secret containing the
2865
- * trusted public keys.
2866
- *
2867
- * @schema HelmChartV1Beta2SpecVerify#secretRef
2868
- */
2869
- readonly secretRef?: HelmChartV1Beta2SpecVerifySecretRef;
2870
- }
2871
- /**
2872
- * Converts an object of type 'HelmChartV1Beta2SpecVerify' to JSON representation.
2873
- */
2874
- export declare function toJson_HelmChartV1Beta2SpecVerify(obj: HelmChartV1Beta2SpecVerify | undefined): Record<string, any> | undefined;
2875
- /**
2876
- * NamespaceSelector selects the namespaces to which this ACL applies.
2877
- * An empty map of MatchLabels matches all namespaces in a cluster.
2878
- *
2879
- * @schema HelmChartV1Beta2SpecAccessFromNamespaceSelectors
2880
- */
2881
- export interface HelmChartV1Beta2SpecAccessFromNamespaceSelectors {
2882
- /**
2883
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
2884
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
2885
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
2886
- *
2887
- * @schema HelmChartV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
2888
- */
2889
- readonly matchLabels?: {
2890
- [key: string]: string;
2891
- };
2892
- }
2893
- /**
2894
- * Converts an object of type 'HelmChartV1Beta2SpecAccessFromNamespaceSelectors' to JSON representation.
2895
- */
2896
- export declare function toJson_HelmChartV1Beta2SpecAccessFromNamespaceSelectors(obj: HelmChartV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
2897
- /**
2898
- * Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
2899
- * 'Bucket').
2900
- *
2901
- * @schema HelmChartV1Beta2SpecSourceRefKind
2902
- */
2903
- export declare enum HelmChartV1Beta2SpecSourceRefKind {
2904
- /** HelmRepository */
2905
- HELM_REPOSITORY = "HelmRepository",
2906
- /** GitRepository */
2907
- GIT_REPOSITORY = "GitRepository",
2908
- /** Bucket */
2909
- BUCKET = "Bucket"
2910
- }
2911
- /**
2912
- * OIDCIdentityMatch specifies options for verifying the certificate identity,
2913
- * i.e. the issuer and the subject of the certificate.
2914
- *
2915
- * @schema HelmChartV1Beta2SpecVerifyMatchOidcIdentity
2916
- */
2917
- export interface HelmChartV1Beta2SpecVerifyMatchOidcIdentity {
2918
- /**
2919
- * Issuer specifies the regex pattern to match against to verify
2920
- * the OIDC issuer in the Fulcio certificate. The pattern must be a
2921
- * valid Go regular expression.
2922
- *
2923
- * @schema HelmChartV1Beta2SpecVerifyMatchOidcIdentity#issuer
2924
- */
2925
- readonly issuer: string;
2926
- /**
2927
- * Subject specifies the regex pattern to match against to verify
2928
- * the identity subject in the Fulcio certificate. The pattern must
2929
- * be a valid Go regular expression.
2930
- *
2931
- * @schema HelmChartV1Beta2SpecVerifyMatchOidcIdentity#subject
2932
- */
2933
- readonly subject: string;
2934
- }
2935
- /**
2936
- * Converts an object of type 'HelmChartV1Beta2SpecVerifyMatchOidcIdentity' to JSON representation.
2937
- */
2938
- export declare function toJson_HelmChartV1Beta2SpecVerifyMatchOidcIdentity(obj: HelmChartV1Beta2SpecVerifyMatchOidcIdentity | undefined): Record<string, any> | undefined;
2939
- /**
2940
- * Provider specifies the technology used to sign the OCI Artifact.
2941
- *
2942
- * @schema HelmChartV1Beta2SpecVerifyProvider
2943
- */
2944
- export declare enum HelmChartV1Beta2SpecVerifyProvider {
2945
- /** cosign */
2946
- COSIGN = "cosign",
2947
- /** notation */
2948
- NOTATION = "notation"
2949
- }
2950
- /**
2951
- * SecretRef specifies the Kubernetes Secret containing the
2952
- * trusted public keys.
2953
- *
2954
- * @schema HelmChartV1Beta2SpecVerifySecretRef
2955
- */
2956
- export interface HelmChartV1Beta2SpecVerifySecretRef {
2957
- /**
2958
- * Name of the referent.
2959
- *
2960
- * @schema HelmChartV1Beta2SpecVerifySecretRef#name
2961
- */
2962
- readonly name: string;
2963
- }
2964
- /**
2965
- * Converts an object of type 'HelmChartV1Beta2SpecVerifySecretRef' to JSON representation.
2966
- */
2967
- export declare function toJson_HelmChartV1Beta2SpecVerifySecretRef(obj: HelmChartV1Beta2SpecVerifySecretRef | undefined): Record<string, any> | undefined;
2968
- /**
2969
- * HelmRepository is the Schema for the helmrepositories API.
2970
- *
2971
- * @schema HelmRepository
2972
- */
2973
- export declare class HelmRepository extends ApiObject {
2974
- /**
2975
- * Returns the apiVersion and kind for "HelmRepository"
2976
- */
2977
- static readonly GVK: GroupVersionKind;
2978
- /**
2979
- * Renders a Kubernetes manifest for "HelmRepository".
2980
- *
2981
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
2982
- *
2983
- * @param props initialization props
2984
- */
2985
- static manifest(props?: HelmRepositoryProps): any;
2986
- /**
2987
- * Defines a "HelmRepository" API object
2988
- * @param scope the scope in which to define this object
2989
- * @param id a scope-local name for the object
2990
- * @param props initialization props
2991
- */
2992
- constructor(scope: Construct, id: string, props?: HelmRepositoryProps);
2993
- /**
2994
- * Renders the object to Kubernetes JSON.
2995
- */
2996
- toJson(): any;
2997
- }
2998
- /**
2999
- * HelmRepository is the Schema for the helmrepositories API.
3000
- *
3001
- * @schema HelmRepository
3002
- */
3003
- export interface HelmRepositoryProps {
3004
- /**
3005
- * @schema HelmRepository#metadata
3006
- */
3007
- readonly metadata?: ApiObjectMetadata;
3008
- /**
3009
- * HelmRepositorySpec specifies the required configuration to produce an
3010
- * Artifact for a Helm repository index YAML.
3011
- *
3012
- * @schema HelmRepository#spec
3013
- */
3014
- readonly spec?: HelmRepositorySpec;
3015
- }
3016
- /**
3017
- * Converts an object of type 'HelmRepositoryProps' to JSON representation.
3018
- */
3019
- export declare function toJson_HelmRepositoryProps(obj: HelmRepositoryProps | undefined): Record<string, any> | undefined;
3020
- /**
3021
- * HelmRepositorySpec specifies the required configuration to produce an
3022
- * Artifact for a Helm repository index YAML.
3023
- *
3024
- * @schema HelmRepositorySpec
3025
- */
3026
- export interface HelmRepositorySpec {
3027
- /**
3028
- * AccessFrom specifies an Access Control List for allowing cross-namespace
3029
- * references to this object.
3030
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
3031
- *
3032
- * @schema HelmRepositorySpec#accessFrom
3033
- */
3034
- readonly accessFrom?: HelmRepositorySpecAccessFrom;
3035
- /**
3036
- * CertSecretRef can be given the name of a Secret containing
3037
- * either or both of
3038
- *
3039
- * - a PEM-encoded client certificate (`tls.crt`) and private
3040
- * key (`tls.key`);
3041
- * - a PEM-encoded CA certificate (`ca.crt`)
3042
- *
3043
- * and whichever are supplied, will be used for connecting to the
3044
- * registry. The client cert and key are useful if you are
3045
- * authenticating with a certificate; the CA cert is useful if
3046
- * you are using a self-signed server certificate. The Secret must
3047
- * be of type `Opaque` or `kubernetes.io/tls`.
3048
- *
3049
- * It takes precedence over the values specified in the Secret referred
3050
- * to by `.spec.secretRef`.
3051
- *
3052
- * @schema HelmRepositorySpec#certSecretRef
3053
- */
3054
- readonly certSecretRef?: HelmRepositorySpecCertSecretRef;
3055
- /**
3056
- * Insecure allows connecting to a non-TLS HTTP container registry.
3057
- * This field is only taken into account if the .spec.type field is set to 'oci'.
3058
- *
3059
- * @schema HelmRepositorySpec#insecure
3060
- */
3061
- readonly insecure?: boolean;
3062
- /**
3063
- * Interval at which the HelmRepository URL is checked for updates.
3064
- * This interval is approximate and may be subject to jitter to ensure
3065
- * efficient use of resources.
3066
- *
3067
- * @schema HelmRepositorySpec#interval
3068
- */
3069
- readonly interval?: string;
3070
- /**
3071
- * PassCredentials allows the credentials from the SecretRef to be passed
3072
- * on to a host that does not match the host as defined in URL.
3073
- * This may be required if the host of the advertised chart URLs in the
3074
- * index differ from the defined URL.
3075
- * Enabling this should be done with caution, as it can potentially result
3076
- * in credentials getting stolen in a MITM-attack.
3077
- *
3078
- * @schema HelmRepositorySpec#passCredentials
3079
- */
3080
- readonly passCredentials?: boolean;
3081
- /**
3082
- * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
3083
- * This field is optional, and only taken into account if the .spec.type field is set to 'oci'.
3084
- * When not specified, defaults to 'generic'.
3085
- *
3086
- * @schema HelmRepositorySpec#provider
3087
- */
3088
- readonly provider?: HelmRepositorySpecProvider;
3089
- /**
3090
- * SecretRef specifies the Secret containing authentication credentials
3091
- * for the HelmRepository.
3092
- * For HTTP/S basic auth the secret must contain 'username' and 'password'
3093
- * fields.
3094
- * Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
3095
- * keys is deprecated. Please use `.spec.certSecretRef` instead.
3096
- *
3097
- * @schema HelmRepositorySpec#secretRef
3098
- */
3099
- readonly secretRef?: HelmRepositorySpecSecretRef;
3100
- /**
3101
- * Suspend tells the controller to suspend the reconciliation of this
3102
- * HelmRepository.
3103
- *
3104
- * @schema HelmRepositorySpec#suspend
3105
- */
3106
- readonly suspend?: boolean;
3107
- /**
3108
- * Timeout is used for the index fetch operation for an HTTPS helm repository,
3109
- * and for remote OCI Repository operations like pulling for an OCI helm
3110
- * chart by the associated HelmChart.
3111
- * Its default value is 60s.
3112
- *
3113
- * @schema HelmRepositorySpec#timeout
3114
- */
3115
- readonly timeout?: string;
3116
- /**
3117
- * Type of the HelmRepository.
3118
- * When this field is set to "oci", the URL field value must be prefixed with "oci://".
3119
- *
3120
- * @schema HelmRepositorySpec#type
3121
- */
3122
- readonly type?: HelmRepositorySpecType;
3123
- /**
3124
- * URL of the Helm repository, a valid URL contains at least a protocol and
3125
- * host.
3126
- *
3127
- * @schema HelmRepositorySpec#url
3128
- */
3129
- readonly url: string;
3130
- }
3131
- /**
3132
- * Converts an object of type 'HelmRepositorySpec' to JSON representation.
3133
- */
3134
- export declare function toJson_HelmRepositorySpec(obj: HelmRepositorySpec | undefined): Record<string, any> | undefined;
3135
- /**
3136
- * AccessFrom specifies an Access Control List for allowing cross-namespace
3137
- * references to this object.
3138
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
3139
- *
3140
- * @schema HelmRepositorySpecAccessFrom
3141
- */
3142
- export interface HelmRepositorySpecAccessFrom {
3143
- /**
3144
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
3145
- * Items in this list are evaluated using a logical OR operation.
3146
- *
3147
- * @schema HelmRepositorySpecAccessFrom#namespaceSelectors
3148
- */
3149
- readonly namespaceSelectors: HelmRepositorySpecAccessFromNamespaceSelectors[];
3150
- }
3151
- /**
3152
- * Converts an object of type 'HelmRepositorySpecAccessFrom' to JSON representation.
3153
- */
3154
- export declare function toJson_HelmRepositorySpecAccessFrom(obj: HelmRepositorySpecAccessFrom | undefined): Record<string, any> | undefined;
3155
- /**
3156
- * CertSecretRef can be given the name of a Secret containing
3157
- * either or both of
3158
- *
3159
- * - a PEM-encoded client certificate (`tls.crt`) and private
3160
- * key (`tls.key`);
3161
- * - a PEM-encoded CA certificate (`ca.crt`)
3162
- *
3163
- * and whichever are supplied, will be used for connecting to the
3164
- * registry. The client cert and key are useful if you are
3165
- * authenticating with a certificate; the CA cert is useful if
3166
- * you are using a self-signed server certificate. The Secret must
3167
- * be of type `Opaque` or `kubernetes.io/tls`.
3168
- *
3169
- * It takes precedence over the values specified in the Secret referred
3170
- * to by `.spec.secretRef`.
3171
- *
3172
- * @schema HelmRepositorySpecCertSecretRef
3173
- */
3174
- export interface HelmRepositorySpecCertSecretRef {
3175
- /**
3176
- * Name of the referent.
3177
- *
3178
- * @schema HelmRepositorySpecCertSecretRef#name
3179
- */
3180
- readonly name: string;
3181
- }
3182
- /**
3183
- * Converts an object of type 'HelmRepositorySpecCertSecretRef' to JSON representation.
3184
- */
3185
- export declare function toJson_HelmRepositorySpecCertSecretRef(obj: HelmRepositorySpecCertSecretRef | undefined): Record<string, any> | undefined;
3186
- /**
3187
- * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
3188
- * This field is optional, and only taken into account if the .spec.type field is set to 'oci'.
3189
- * When not specified, defaults to 'generic'.
3190
- *
3191
- * @schema HelmRepositorySpecProvider
3192
- */
3193
- export declare enum HelmRepositorySpecProvider {
3194
- /** generic */
3195
- GENERIC = "generic",
3196
- /** aws */
3197
- AWS = "aws",
3198
- /** azure */
3199
- AZURE = "azure",
3200
- /** gcp */
3201
- GCP = "gcp"
3202
- }
3203
- /**
3204
- * SecretRef specifies the Secret containing authentication credentials
3205
- * for the HelmRepository.
3206
- * For HTTP/S basic auth the secret must contain 'username' and 'password'
3207
- * fields.
3208
- * Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
3209
- * keys is deprecated. Please use `.spec.certSecretRef` instead.
3210
- *
3211
- * @schema HelmRepositorySpecSecretRef
3212
- */
3213
- export interface HelmRepositorySpecSecretRef {
3214
- /**
3215
- * Name of the referent.
3216
- *
3217
- * @schema HelmRepositorySpecSecretRef#name
3218
- */
3219
- readonly name: string;
3220
- }
3221
- /**
3222
- * Converts an object of type 'HelmRepositorySpecSecretRef' to JSON representation.
3223
- */
3224
- export declare function toJson_HelmRepositorySpecSecretRef(obj: HelmRepositorySpecSecretRef | undefined): Record<string, any> | undefined;
3225
- /**
3226
- * Type of the HelmRepository.
3227
- * When this field is set to "oci", the URL field value must be prefixed with "oci://".
3228
- *
3229
- * @schema HelmRepositorySpecType
3230
- */
3231
- export declare enum HelmRepositorySpecType {
3232
- /** default */
3233
- DEFAULT = "default",
3234
- /** oci */
3235
- OCI = "oci"
3236
- }
3237
- /**
3238
- * NamespaceSelector selects the namespaces to which this ACL applies.
3239
- * An empty map of MatchLabels matches all namespaces in a cluster.
3240
- *
3241
- * @schema HelmRepositorySpecAccessFromNamespaceSelectors
3242
- */
3243
- export interface HelmRepositorySpecAccessFromNamespaceSelectors {
3244
- /**
3245
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
3246
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
3247
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
3248
- *
3249
- * @schema HelmRepositorySpecAccessFromNamespaceSelectors#matchLabels
3250
- */
3251
- readonly matchLabels?: {
3252
- [key: string]: string;
3253
- };
3254
- }
3255
- /**
3256
- * Converts an object of type 'HelmRepositorySpecAccessFromNamespaceSelectors' to JSON representation.
3257
- */
3258
- export declare function toJson_HelmRepositorySpecAccessFromNamespaceSelectors(obj: HelmRepositorySpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
3259
- /**
3260
- * HelmRepository is the Schema for the helmrepositories API
3261
- *
3262
- * @schema HelmRepositoryV1Beta1
3263
- */
3264
- export declare class HelmRepositoryV1Beta1 extends ApiObject {
3265
- /**
3266
- * Returns the apiVersion and kind for "HelmRepositoryV1Beta1"
3267
- */
3268
- static readonly GVK: GroupVersionKind;
3269
- /**
3270
- * Renders a Kubernetes manifest for "HelmRepositoryV1Beta1".
3271
- *
3272
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
3273
- *
3274
- * @param props initialization props
3275
- */
3276
- static manifest(props?: HelmRepositoryV1Beta1Props): any;
3277
- /**
3278
- * Defines a "HelmRepositoryV1Beta1" API object
3279
- * @param scope the scope in which to define this object
3280
- * @param id a scope-local name for the object
3281
- * @param props initialization props
3282
- */
3283
- constructor(scope: Construct, id: string, props?: HelmRepositoryV1Beta1Props);
3284
- /**
3285
- * Renders the object to Kubernetes JSON.
3286
- */
3287
- toJson(): any;
3288
- }
3289
- /**
3290
- * HelmRepository is the Schema for the helmrepositories API
3291
- *
3292
- * @schema HelmRepositoryV1Beta1
3293
- */
3294
- export interface HelmRepositoryV1Beta1Props {
3295
- /**
3296
- * @schema HelmRepositoryV1Beta1#metadata
3297
- */
3298
- readonly metadata?: ApiObjectMetadata;
3299
- /**
3300
- * HelmRepositorySpec defines the reference to a Helm repository.
3301
- *
3302
- * @schema HelmRepositoryV1Beta1#spec
3303
- */
3304
- readonly spec?: HelmRepositoryV1Beta1Spec;
3305
- }
3306
- /**
3307
- * Converts an object of type 'HelmRepositoryV1Beta1Props' to JSON representation.
3308
- */
3309
- export declare function toJson_HelmRepositoryV1Beta1Props(obj: HelmRepositoryV1Beta1Props | undefined): Record<string, any> | undefined;
3310
- /**
3311
- * HelmRepositorySpec defines the reference to a Helm repository.
3312
- *
3313
- * @schema HelmRepositoryV1Beta1Spec
3314
- */
3315
- export interface HelmRepositoryV1Beta1Spec {
3316
- /**
3317
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
3318
- *
3319
- * @schema HelmRepositoryV1Beta1Spec#accessFrom
3320
- */
3321
- readonly accessFrom?: HelmRepositoryV1Beta1SpecAccessFrom;
3322
- /**
3323
- * The interval at which to check the upstream for updates.
3324
- *
3325
- * @schema HelmRepositoryV1Beta1Spec#interval
3326
- */
3327
- readonly interval: string;
3328
- /**
3329
- * PassCredentials allows the credentials from the SecretRef to be passed on to
3330
- * a host that does not match the host as defined in URL.
3331
- * This may be required if the host of the advertised chart URLs in the index
3332
- * differ from the defined URL.
3333
- * Enabling this should be done with caution, as it can potentially result in
3334
- * credentials getting stolen in a MITM-attack.
3335
- *
3336
- * @schema HelmRepositoryV1Beta1Spec#passCredentials
3337
- */
3338
- readonly passCredentials?: boolean;
3339
- /**
3340
- * The name of the secret containing authentication credentials for the Helm
3341
- * repository.
3342
- * For HTTP/S basic auth the secret must contain username and
3343
- * password fields.
3344
- * For TLS the secret must contain a certFile and keyFile, and/or
3345
- * caFile fields.
3346
- *
3347
- * @schema HelmRepositoryV1Beta1Spec#secretRef
3348
- */
3349
- readonly secretRef?: HelmRepositoryV1Beta1SpecSecretRef;
3350
- /**
3351
- * This flag tells the controller to suspend the reconciliation of this source.
3352
- *
3353
- * @schema HelmRepositoryV1Beta1Spec#suspend
3354
- */
3355
- readonly suspend?: boolean;
3356
- /**
3357
- * The timeout of index downloading, defaults to 60s.
3358
- *
3359
- * @schema HelmRepositoryV1Beta1Spec#timeout
3360
- */
3361
- readonly timeout?: string;
3362
- /**
3363
- * The Helm repository URL, a valid URL contains at least a protocol and host.
3364
- *
3365
- * @schema HelmRepositoryV1Beta1Spec#url
3366
- */
3367
- readonly url: string;
3368
- }
3369
- /**
3370
- * Converts an object of type 'HelmRepositoryV1Beta1Spec' to JSON representation.
3371
- */
3372
- export declare function toJson_HelmRepositoryV1Beta1Spec(obj: HelmRepositoryV1Beta1Spec | undefined): Record<string, any> | undefined;
3373
- /**
3374
- * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
3375
- *
3376
- * @schema HelmRepositoryV1Beta1SpecAccessFrom
3377
- */
3378
- export interface HelmRepositoryV1Beta1SpecAccessFrom {
3379
- /**
3380
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
3381
- * Items in this list are evaluated using a logical OR operation.
3382
- *
3383
- * @schema HelmRepositoryV1Beta1SpecAccessFrom#namespaceSelectors
3384
- */
3385
- readonly namespaceSelectors: HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors[];
3386
- }
3387
- /**
3388
- * Converts an object of type 'HelmRepositoryV1Beta1SpecAccessFrom' to JSON representation.
3389
- */
3390
- export declare function toJson_HelmRepositoryV1Beta1SpecAccessFrom(obj: HelmRepositoryV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
3391
- /**
3392
- * The name of the secret containing authentication credentials for the Helm
3393
- * repository.
3394
- * For HTTP/S basic auth the secret must contain username and
3395
- * password fields.
3396
- * For TLS the secret must contain a certFile and keyFile, and/or
3397
- * caFile fields.
3398
- *
3399
- * @schema HelmRepositoryV1Beta1SpecSecretRef
3400
- */
3401
- export interface HelmRepositoryV1Beta1SpecSecretRef {
3402
- /**
3403
- * Name of the referent.
3404
- *
3405
- * @schema HelmRepositoryV1Beta1SpecSecretRef#name
3406
- */
3407
- readonly name: string;
3408
- }
3409
- /**
3410
- * Converts an object of type 'HelmRepositoryV1Beta1SpecSecretRef' to JSON representation.
3411
- */
3412
- export declare function toJson_HelmRepositoryV1Beta1SpecSecretRef(obj: HelmRepositoryV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
3413
- /**
3414
- * NamespaceSelector selects the namespaces to which this ACL applies.
3415
- * An empty map of MatchLabels matches all namespaces in a cluster.
3416
- *
3417
- * @schema HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors
3418
- */
3419
- export interface HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors {
3420
- /**
3421
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
3422
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
3423
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
3424
- *
3425
- * @schema HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
3426
- */
3427
- readonly matchLabels?: {
3428
- [key: string]: string;
3429
- };
3430
- }
3431
- /**
3432
- * Converts an object of type 'HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors' to JSON representation.
3433
- */
3434
- export declare function toJson_HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors(obj: HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
3435
- /**
3436
- * HelmRepository is the Schema for the helmrepositories API.
3437
- *
3438
- * @schema HelmRepositoryV1Beta2
3439
- */
3440
- export declare class HelmRepositoryV1Beta2 extends ApiObject {
3441
- /**
3442
- * Returns the apiVersion and kind for "HelmRepositoryV1Beta2"
3443
- */
3444
- static readonly GVK: GroupVersionKind;
3445
- /**
3446
- * Renders a Kubernetes manifest for "HelmRepositoryV1Beta2".
3447
- *
3448
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
3449
- *
3450
- * @param props initialization props
3451
- */
3452
- static manifest(props?: HelmRepositoryV1Beta2Props): any;
3453
- /**
3454
- * Defines a "HelmRepositoryV1Beta2" API object
3455
- * @param scope the scope in which to define this object
3456
- * @param id a scope-local name for the object
3457
- * @param props initialization props
3458
- */
3459
- constructor(scope: Construct, id: string, props?: HelmRepositoryV1Beta2Props);
3460
- /**
3461
- * Renders the object to Kubernetes JSON.
3462
- */
3463
- toJson(): any;
3464
- }
3465
- /**
3466
- * HelmRepository is the Schema for the helmrepositories API.
3467
- *
3468
- * @schema HelmRepositoryV1Beta2
3469
- */
3470
- export interface HelmRepositoryV1Beta2Props {
3471
- /**
3472
- * @schema HelmRepositoryV1Beta2#metadata
3473
- */
3474
- readonly metadata?: ApiObjectMetadata;
3475
- /**
3476
- * HelmRepositorySpec specifies the required configuration to produce an
3477
- * Artifact for a Helm repository index YAML.
3478
- *
3479
- * @schema HelmRepositoryV1Beta2#spec
3480
- */
3481
- readonly spec?: HelmRepositoryV1Beta2Spec;
3482
- }
3483
- /**
3484
- * Converts an object of type 'HelmRepositoryV1Beta2Props' to JSON representation.
3485
- */
3486
- export declare function toJson_HelmRepositoryV1Beta2Props(obj: HelmRepositoryV1Beta2Props | undefined): Record<string, any> | undefined;
3487
- /**
3488
- * HelmRepositorySpec specifies the required configuration to produce an
3489
- * Artifact for a Helm repository index YAML.
3490
- *
3491
- * @schema HelmRepositoryV1Beta2Spec
3492
- */
3493
- export interface HelmRepositoryV1Beta2Spec {
3494
- /**
3495
- * AccessFrom specifies an Access Control List for allowing cross-namespace
3496
- * references to this object.
3497
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
3498
- *
3499
- * @schema HelmRepositoryV1Beta2Spec#accessFrom
3500
- */
3501
- readonly accessFrom?: HelmRepositoryV1Beta2SpecAccessFrom;
3502
- /**
3503
- * CertSecretRef can be given the name of a Secret containing
3504
- * either or both of
3505
- *
3506
- * - a PEM-encoded client certificate (`tls.crt`) and private
3507
- * key (`tls.key`);
3508
- * - a PEM-encoded CA certificate (`ca.crt`)
3509
- *
3510
- * and whichever are supplied, will be used for connecting to the
3511
- * registry. The client cert and key are useful if you are
3512
- * authenticating with a certificate; the CA cert is useful if
3513
- * you are using a self-signed server certificate. The Secret must
3514
- * be of type `Opaque` or `kubernetes.io/tls`.
3515
- *
3516
- * It takes precedence over the values specified in the Secret referred
3517
- * to by `.spec.secretRef`.
3518
- *
3519
- * @schema HelmRepositoryV1Beta2Spec#certSecretRef
3520
- */
3521
- readonly certSecretRef?: HelmRepositoryV1Beta2SpecCertSecretRef;
3522
- /**
3523
- * Insecure allows connecting to a non-TLS HTTP container registry.
3524
- * This field is only taken into account if the .spec.type field is set to 'oci'.
3525
- *
3526
- * @schema HelmRepositoryV1Beta2Spec#insecure
3527
- */
3528
- readonly insecure?: boolean;
3529
- /**
3530
- * Interval at which the HelmRepository URL is checked for updates.
3531
- * This interval is approximate and may be subject to jitter to ensure
3532
- * efficient use of resources.
3533
- *
3534
- * @schema HelmRepositoryV1Beta2Spec#interval
3535
- */
3536
- readonly interval?: string;
3537
- /**
3538
- * PassCredentials allows the credentials from the SecretRef to be passed
3539
- * on to a host that does not match the host as defined in URL.
3540
- * This may be required if the host of the advertised chart URLs in the
3541
- * index differ from the defined URL.
3542
- * Enabling this should be done with caution, as it can potentially result
3543
- * in credentials getting stolen in a MITM-attack.
3544
- *
3545
- * @schema HelmRepositoryV1Beta2Spec#passCredentials
3546
- */
3547
- readonly passCredentials?: boolean;
3548
- /**
3549
- * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
3550
- * This field is optional, and only taken into account if the .spec.type field is set to 'oci'.
3551
- * When not specified, defaults to 'generic'.
3552
- *
3553
- * @schema HelmRepositoryV1Beta2Spec#provider
3554
- */
3555
- readonly provider?: HelmRepositoryV1Beta2SpecProvider;
3556
- /**
3557
- * SecretRef specifies the Secret containing authentication credentials
3558
- * for the HelmRepository.
3559
- * For HTTP/S basic auth the secret must contain 'username' and 'password'
3560
- * fields.
3561
- * Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
3562
- * keys is deprecated. Please use `.spec.certSecretRef` instead.
3563
- *
3564
- * @schema HelmRepositoryV1Beta2Spec#secretRef
3565
- */
3566
- readonly secretRef?: HelmRepositoryV1Beta2SpecSecretRef;
3567
- /**
3568
- * Suspend tells the controller to suspend the reconciliation of this
3569
- * HelmRepository.
3570
- *
3571
- * @schema HelmRepositoryV1Beta2Spec#suspend
3572
- */
3573
- readonly suspend?: boolean;
3574
- /**
3575
- * Timeout is used for the index fetch operation for an HTTPS helm repository,
3576
- * and for remote OCI Repository operations like pulling for an OCI helm
3577
- * chart by the associated HelmChart.
3578
- * Its default value is 60s.
3579
- *
3580
- * @schema HelmRepositoryV1Beta2Spec#timeout
3581
- */
3582
- readonly timeout?: string;
3583
- /**
3584
- * Type of the HelmRepository.
3585
- * When this field is set to "oci", the URL field value must be prefixed with "oci://".
3586
- *
3587
- * @schema HelmRepositoryV1Beta2Spec#type
3588
- */
3589
- readonly type?: HelmRepositoryV1Beta2SpecType;
3590
- /**
3591
- * URL of the Helm repository, a valid URL contains at least a protocol and
3592
- * host.
3593
- *
3594
- * @schema HelmRepositoryV1Beta2Spec#url
3595
- */
3596
- readonly url: string;
3597
- }
3598
- /**
3599
- * Converts an object of type 'HelmRepositoryV1Beta2Spec' to JSON representation.
3600
- */
3601
- export declare function toJson_HelmRepositoryV1Beta2Spec(obj: HelmRepositoryV1Beta2Spec | undefined): Record<string, any> | undefined;
3602
- /**
3603
- * AccessFrom specifies an Access Control List for allowing cross-namespace
3604
- * references to this object.
3605
- * NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
3606
- *
3607
- * @schema HelmRepositoryV1Beta2SpecAccessFrom
3608
- */
3609
- export interface HelmRepositoryV1Beta2SpecAccessFrom {
3610
- /**
3611
- * NamespaceSelectors is the list of namespace selectors to which this ACL applies.
3612
- * Items in this list are evaluated using a logical OR operation.
3613
- *
3614
- * @schema HelmRepositoryV1Beta2SpecAccessFrom#namespaceSelectors
3615
- */
3616
- readonly namespaceSelectors: HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors[];
3617
- }
3618
- /**
3619
- * Converts an object of type 'HelmRepositoryV1Beta2SpecAccessFrom' to JSON representation.
3620
- */
3621
- export declare function toJson_HelmRepositoryV1Beta2SpecAccessFrom(obj: HelmRepositoryV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
3622
- /**
3623
- * CertSecretRef can be given the name of a Secret containing
3624
- * either or both of
3625
- *
3626
- * - a PEM-encoded client certificate (`tls.crt`) and private
3627
- * key (`tls.key`);
3628
- * - a PEM-encoded CA certificate (`ca.crt`)
3629
- *
3630
- * and whichever are supplied, will be used for connecting to the
3631
- * registry. The client cert and key are useful if you are
3632
- * authenticating with a certificate; the CA cert is useful if
3633
- * you are using a self-signed server certificate. The Secret must
3634
- * be of type `Opaque` or `kubernetes.io/tls`.
3635
- *
3636
- * It takes precedence over the values specified in the Secret referred
3637
- * to by `.spec.secretRef`.
3638
- *
3639
- * @schema HelmRepositoryV1Beta2SpecCertSecretRef
3640
- */
3641
- export interface HelmRepositoryV1Beta2SpecCertSecretRef {
3642
- /**
3643
- * Name of the referent.
3644
- *
3645
- * @schema HelmRepositoryV1Beta2SpecCertSecretRef#name
3646
- */
3647
- readonly name: string;
3648
- }
3649
- /**
3650
- * Converts an object of type 'HelmRepositoryV1Beta2SpecCertSecretRef' to JSON representation.
3651
- */
3652
- export declare function toJson_HelmRepositoryV1Beta2SpecCertSecretRef(obj: HelmRepositoryV1Beta2SpecCertSecretRef | undefined): Record<string, any> | undefined;
3653
- /**
3654
- * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
3655
- * This field is optional, and only taken into account if the .spec.type field is set to 'oci'.
3656
- * When not specified, defaults to 'generic'.
3657
- *
3658
- * @schema HelmRepositoryV1Beta2SpecProvider
3659
- */
3660
- export declare enum HelmRepositoryV1Beta2SpecProvider {
3661
- /** generic */
3662
- GENERIC = "generic",
3663
- /** aws */
3664
- AWS = "aws",
3665
- /** azure */
3666
- AZURE = "azure",
3667
- /** gcp */
3668
- GCP = "gcp"
3669
- }
3670
- /**
3671
- * SecretRef specifies the Secret containing authentication credentials
3672
- * for the HelmRepository.
3673
- * For HTTP/S basic auth the secret must contain 'username' and 'password'
3674
- * fields.
3675
- * Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
3676
- * keys is deprecated. Please use `.spec.certSecretRef` instead.
3677
- *
3678
- * @schema HelmRepositoryV1Beta2SpecSecretRef
3679
- */
3680
- export interface HelmRepositoryV1Beta2SpecSecretRef {
3681
- /**
3682
- * Name of the referent.
3683
- *
3684
- * @schema HelmRepositoryV1Beta2SpecSecretRef#name
3685
- */
3686
- readonly name: string;
3687
- }
3688
- /**
3689
- * Converts an object of type 'HelmRepositoryV1Beta2SpecSecretRef' to JSON representation.
3690
- */
3691
- export declare function toJson_HelmRepositoryV1Beta2SpecSecretRef(obj: HelmRepositoryV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
3692
- /**
3693
- * Type of the HelmRepository.
3694
- * When this field is set to "oci", the URL field value must be prefixed with "oci://".
3695
- *
3696
- * @schema HelmRepositoryV1Beta2SpecType
3697
- */
3698
- export declare enum HelmRepositoryV1Beta2SpecType {
3699
- /** default */
3700
- DEFAULT = "default",
3701
- /** oci */
3702
- OCI = "oci"
3703
- }
3704
- /**
3705
- * NamespaceSelector selects the namespaces to which this ACL applies.
3706
- * An empty map of MatchLabels matches all namespaces in a cluster.
3707
- *
3708
- * @schema HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors
3709
- */
3710
- export interface HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors {
3711
- /**
3712
- * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
3713
- * map is equivalent to an element of matchExpressions, whose key field is "key", the
3714
- * operator is "In", and the values array contains only "value". The requirements are ANDed.
3715
- *
3716
- * @schema HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
3717
- */
3718
- readonly matchLabels?: {
3719
- [key: string]: string;
3720
- };
3721
- }
3722
- /**
3723
- * Converts an object of type 'HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors' to JSON representation.
3724
- */
3725
- export declare function toJson_HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors(obj: HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
3726
- /**
3727
- * OCIRepository is the Schema for the ocirepositories API
3728
- *
3729
- * @schema OCIRepository
3730
- */
3731
- export declare class OciRepository extends ApiObject {
3732
- /**
3733
- * Returns the apiVersion and kind for "OCIRepository"
3734
- */
3735
- static readonly GVK: GroupVersionKind;
3736
- /**
3737
- * Renders a Kubernetes manifest for "OCIRepository".
3738
- *
3739
- * This can be used to inline resource manifests inside other objects (e.g. as templates).
3740
- *
3741
- * @param props initialization props
3742
- */
3743
- static manifest(props?: OciRepositoryProps): any;
3744
- /**
3745
- * Defines a "OCIRepository" API object
3746
- * @param scope the scope in which to define this object
3747
- * @param id a scope-local name for the object
3748
- * @param props initialization props
3749
- */
3750
- constructor(scope: Construct, id: string, props?: OciRepositoryProps);
3751
- /**
3752
- * Renders the object to Kubernetes JSON.
3753
- */
3754
- toJson(): any;
3755
- }
3756
- /**
3757
- * OCIRepository is the Schema for the ocirepositories API
3758
- *
3759
- * @schema OCIRepository
3760
- */
3761
- export interface OciRepositoryProps {
3762
- /**
3763
- * @schema OCIRepository#metadata
3764
- */
3765
- readonly metadata?: ApiObjectMetadata;
3766
- /**
3767
- * OCIRepositorySpec defines the desired state of OCIRepository
3768
- *
3769
- * @schema OCIRepository#spec
3770
- */
3771
- readonly spec?: OciRepositorySpec;
3772
- }
3773
- /**
3774
- * Converts an object of type 'OciRepositoryProps' to JSON representation.
3775
- */
3776
- export declare function toJson_OciRepositoryProps(obj: OciRepositoryProps | undefined): Record<string, any> | undefined;
3777
- /**
3778
- * OCIRepositorySpec defines the desired state of OCIRepository
3779
- *
3780
- * @schema OciRepositorySpec
3781
- */
3782
- export interface OciRepositorySpec {
3783
- /**
3784
- * CertSecretRef can be given the name of a Secret containing
3785
- * either or both of
3786
- *
3787
- * - a PEM-encoded client certificate (`tls.crt`) and private
3788
- * key (`tls.key`);
3789
- * - a PEM-encoded CA certificate (`ca.crt`)
3790
- *
3791
- * and whichever are supplied, will be used for connecting to the
3792
- * registry. The client cert and key are useful if you are
3793
- * authenticating with a certificate; the CA cert is useful if
3794
- * you are using a self-signed server certificate. The Secret must
3795
- * be of type `Opaque` or `kubernetes.io/tls`.
3796
- *
3797
- * Note: Support for the `caFile`, `certFile` and `keyFile` keys have
3798
- * been deprecated.
3799
- *
3800
- * @schema OciRepositorySpec#certSecretRef
3801
- */
3802
- readonly certSecretRef?: OciRepositorySpecCertSecretRef;
3803
- /**
3804
- * Ignore overrides the set of excluded patterns in the .sourceignore format
3805
- * (which is the same as .gitignore). If not provided, a default will be used,
3806
- * consult the documentation for your version to find out what those are.
3807
- *
3808
- * @schema OciRepositorySpec#ignore
3809
- */
3810
- readonly ignore?: string;
3811
- /**
3812
- * Insecure allows connecting to a non-TLS HTTP container registry.
3813
- *
3814
- * @schema OciRepositorySpec#insecure
3815
- */
3816
- readonly insecure?: boolean;
3817
- /**
3818
- * Interval at which the OCIRepository URL is checked for updates.
3819
- * This interval is approximate and may be subject to jitter to ensure
3820
- * efficient use of resources.
3821
- *
3822
- * @schema OciRepositorySpec#interval
3823
- */
3824
- readonly interval: string;
3825
- /**
3826
- * LayerSelector specifies which layer should be extracted from the OCI artifact.
3827
- * When not specified, the first layer found in the artifact is selected.
3828
- *
3829
- * @schema OciRepositorySpec#layerSelector
3830
- */
3831
- readonly layerSelector?: OciRepositorySpecLayerSelector;
3832
- /**
3833
- * The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
3834
- * When not specified, defaults to 'generic'.
3835
- *
3836
- * @schema OciRepositorySpec#provider
3837
- */
3838
- readonly provider?: OciRepositorySpecProvider;
3839
- /**
3840
- * ProxySecretRef specifies the Secret containing the proxy configuration
3841
- * to use while communicating with the container registry.
3842
- *
3843
- * @schema OciRepositorySpec#proxySecretRef
3844
- */
3845
- readonly proxySecretRef?: OciRepositorySpecProxySecretRef;
3846
- /**
3847
- * The OCI reference to pull and monitor for changes,
3848
- * defaults to the latest tag.
3849
- *
3850
- * @schema OciRepositorySpec#ref
3851
- */
3852
- readonly ref?: OciRepositorySpecRef;
3853
- /**
3854
- * SecretRef contains the secret name containing the registry login
3855
- * credentials to resolve image metadata.
3856
- * The secret must be of type kubernetes.io/dockerconfigjson.
3857
- *
3858
- * @schema OciRepositorySpec#secretRef
3859
- */
3860
- readonly secretRef?: OciRepositorySpecSecretRef;
3861
- /**
3862
- * ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate
3863
- * the image pull if the service account has attached pull secrets. For more information:
3864
- * https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account
3865
- *
3866
- * @schema OciRepositorySpec#serviceAccountName
3867
- */
3868
- readonly serviceAccountName?: string;
3869
- /**
3870
- * This flag tells the controller to suspend the reconciliation of this source.
3871
- *
3872
- * @schema OciRepositorySpec#suspend
3873
- */
3874
- readonly suspend?: boolean;
3875
- /**
3876
- * The timeout for remote OCI Repository operations like pulling, defaults to 60s.
3877
- *
3878
- * @schema OciRepositorySpec#timeout
3879
- */
3880
- readonly timeout?: string;
3881
- /**
3882
- * URL is a reference to an OCI artifact repository hosted
3883
- * on a remote container registry.
3884
- *
3885
- * @schema OciRepositorySpec#url
3886
- */
3887
- readonly url: string;
3888
- /**
3889
- * Verify contains the secret name containing the trusted public keys
3890
- * used to verify the signature and specifies which provider to use to check
3891
- * whether OCI image is authentic.
3892
- *
3893
- * @schema OciRepositorySpec#verify
3894
- */
3895
- readonly verify?: OciRepositorySpecVerify;
3896
- }
3897
- /**
3898
- * Converts an object of type 'OciRepositorySpec' to JSON representation.
3899
- */
3900
- export declare function toJson_OciRepositorySpec(obj: OciRepositorySpec | undefined): Record<string, any> | undefined;
3901
- /**
3902
- * CertSecretRef can be given the name of a Secret containing
3903
- * either or both of
3904
- *
3905
- * - a PEM-encoded client certificate (`tls.crt`) and private
3906
- * key (`tls.key`);
3907
- * - a PEM-encoded CA certificate (`ca.crt`)
3908
- *
3909
- * and whichever are supplied, will be used for connecting to the
3910
- * registry. The client cert and key are useful if you are
3911
- * authenticating with a certificate; the CA cert is useful if
3912
- * you are using a self-signed server certificate. The Secret must
3913
- * be of type `Opaque` or `kubernetes.io/tls`.
3914
- *
3915
- * Note: Support for the `caFile`, `certFile` and `keyFile` keys have
3916
- * been deprecated.
3917
- *
3918
- * @schema OciRepositorySpecCertSecretRef
3919
- */
3920
- export interface OciRepositorySpecCertSecretRef {
3921
- /**
3922
- * Name of the referent.
3923
- *
3924
- * @schema OciRepositorySpecCertSecretRef#name
3925
- */
3926
- readonly name: string;
3927
- }
3928
- /**
3929
- * Converts an object of type 'OciRepositorySpecCertSecretRef' to JSON representation.
3930
- */
3931
- export declare function toJson_OciRepositorySpecCertSecretRef(obj: OciRepositorySpecCertSecretRef | undefined): Record<string, any> | undefined;
3932
- /**
3933
- * LayerSelector specifies which layer should be extracted from the OCI artifact.
3934
- * When not specified, the first layer found in the artifact is selected.
3935
- *
3936
- * @schema OciRepositorySpecLayerSelector
3937
- */
3938
- export interface OciRepositorySpecLayerSelector {
3939
- /**
3940
- * MediaType specifies the OCI media type of the layer
3941
- * which should be extracted from the OCI Artifact. The
3942
- * first layer matching this type is selected.
3943
- *
3944
- * @schema OciRepositorySpecLayerSelector#mediaType
3945
- */
3946
- readonly mediaType?: string;
3947
- /**
3948
- * Operation specifies how the selected layer should be processed.
3949
- * By default, the layer compressed content is extracted to storage.
3950
- * When the operation is set to 'copy', the layer compressed content
3951
- * is persisted to storage as it is.
3952
- *
3953
- * @schema OciRepositorySpecLayerSelector#operation
3954
- */
3955
- readonly operation?: OciRepositorySpecLayerSelectorOperation;
3956
- }
3957
- /**
3958
- * Converts an object of type 'OciRepositorySpecLayerSelector' to JSON representation.
3959
- */
3960
- export declare function toJson_OciRepositorySpecLayerSelector(obj: OciRepositorySpecLayerSelector | undefined): Record<string, any> | undefined;
3961
- /**
3962
- * The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
3963
- * When not specified, defaults to 'generic'.
3964
- *
3965
- * @schema OciRepositorySpecProvider
3966
- */
3967
- export declare enum OciRepositorySpecProvider {
3968
- /** generic */
3969
- GENERIC = "generic",
3970
- /** aws */
3971
- AWS = "aws",
3972
- /** azure */
3973
- AZURE = "azure",
3974
- /** gcp */
3975
- GCP = "gcp"
3976
- }
3977
- /**
3978
- * ProxySecretRef specifies the Secret containing the proxy configuration
3979
- * to use while communicating with the container registry.
3980
- *
3981
- * @schema OciRepositorySpecProxySecretRef
3982
- */
3983
- export interface OciRepositorySpecProxySecretRef {
3984
- /**
3985
- * Name of the referent.
3986
- *
3987
- * @schema OciRepositorySpecProxySecretRef#name
3988
- */
3989
- readonly name: string;
3990
- }
3991
- /**
3992
- * Converts an object of type 'OciRepositorySpecProxySecretRef' to JSON representation.
3993
- */
3994
- export declare function toJson_OciRepositorySpecProxySecretRef(obj: OciRepositorySpecProxySecretRef | undefined): Record<string, any> | undefined;
3995
- /**
3996
- * The OCI reference to pull and monitor for changes,
3997
- * defaults to the latest tag.
3998
- *
3999
- * @schema OciRepositorySpecRef
4000
- */
4001
- export interface OciRepositorySpecRef {
4002
- /**
4003
- * Digest is the image digest to pull, takes precedence over SemVer.
4004
- * The value should be in the format 'sha256:<HASH>'.
4005
- *
4006
- * @schema OciRepositorySpecRef#digest
4007
- */
4008
- readonly digest?: string;
4009
- /**
4010
- * SemVer is the range of tags to pull selecting the latest within
4011
- * the range, takes precedence over Tag.
4012
- *
4013
- * @schema OciRepositorySpecRef#semver
4014
- */
4015
- readonly semver?: string;
4016
- /**
4017
- * SemverFilter is a regex pattern to filter the tags within the SemVer range.
4018
- *
4019
- * @schema OciRepositorySpecRef#semverFilter
4020
- */
4021
- readonly semverFilter?: string;
4022
- /**
4023
- * Tag is the image tag to pull, defaults to latest.
4024
- *
4025
- * @schema OciRepositorySpecRef#tag
4026
- */
4027
- readonly tag?: string;
4028
- }
4029
- /**
4030
- * Converts an object of type 'OciRepositorySpecRef' to JSON representation.
4031
- */
4032
- export declare function toJson_OciRepositorySpecRef(obj: OciRepositorySpecRef | undefined): Record<string, any> | undefined;
4033
- /**
4034
- * SecretRef contains the secret name containing the registry login
4035
- * credentials to resolve image metadata.
4036
- * The secret must be of type kubernetes.io/dockerconfigjson.
4037
- *
4038
- * @schema OciRepositorySpecSecretRef
4039
- */
4040
- export interface OciRepositorySpecSecretRef {
4041
- /**
4042
- * Name of the referent.
4043
- *
4044
- * @schema OciRepositorySpecSecretRef#name
4045
- */
4046
- readonly name: string;
4047
- }
4048
- /**
4049
- * Converts an object of type 'OciRepositorySpecSecretRef' to JSON representation.
4050
- */
4051
- export declare function toJson_OciRepositorySpecSecretRef(obj: OciRepositorySpecSecretRef | undefined): Record<string, any> | undefined;
4052
- /**
4053
- * Verify contains the secret name containing the trusted public keys
4054
- * used to verify the signature and specifies which provider to use to check
4055
- * whether OCI image is authentic.
4056
- *
4057
- * @schema OciRepositorySpecVerify
4058
- */
4059
- export interface OciRepositorySpecVerify {
4060
- /**
4061
- * MatchOIDCIdentity specifies the identity matching criteria to use
4062
- * while verifying an OCI artifact which was signed using Cosign keyless
4063
- * signing. The artifact's identity is deemed to be verified if any of the
4064
- * specified matchers match against the identity.
4065
- *
4066
- * @schema OciRepositorySpecVerify#matchOIDCIdentity
4067
- */
4068
- readonly matchOidcIdentity?: OciRepositorySpecVerifyMatchOidcIdentity[];
4069
- /**
4070
- * Provider specifies the technology used to sign the OCI Artifact.
4071
- *
4072
- * @schema OciRepositorySpecVerify#provider
4073
- */
4074
- readonly provider: OciRepositorySpecVerifyProvider;
4075
- /**
4076
- * SecretRef specifies the Kubernetes Secret containing the
4077
- * trusted public keys.
4078
- *
4079
- * @schema OciRepositorySpecVerify#secretRef
4080
- */
4081
- readonly secretRef?: OciRepositorySpecVerifySecretRef;
4082
- }
4083
- /**
4084
- * Converts an object of type 'OciRepositorySpecVerify' to JSON representation.
4085
- */
4086
- export declare function toJson_OciRepositorySpecVerify(obj: OciRepositorySpecVerify | undefined): Record<string, any> | undefined;
4087
- /**
4088
- * Operation specifies how the selected layer should be processed.
4089
- * By default, the layer compressed content is extracted to storage.
4090
- * When the operation is set to 'copy', the layer compressed content
4091
- * is persisted to storage as it is.
4092
- *
4093
- * @schema OciRepositorySpecLayerSelectorOperation
4094
- */
4095
- export declare enum OciRepositorySpecLayerSelectorOperation {
4096
- /** extract */
4097
- EXTRACT = "extract",
4098
- /** copy */
4099
- COPY = "copy"
4100
- }
4101
- /**
4102
- * OIDCIdentityMatch specifies options for verifying the certificate identity,
4103
- * i.e. the issuer and the subject of the certificate.
4104
- *
4105
- * @schema OciRepositorySpecVerifyMatchOidcIdentity
4106
- */
4107
- export interface OciRepositorySpecVerifyMatchOidcIdentity {
4108
- /**
4109
- * Issuer specifies the regex pattern to match against to verify
4110
- * the OIDC issuer in the Fulcio certificate. The pattern must be a
4111
- * valid Go regular expression.
4112
- *
4113
- * @schema OciRepositorySpecVerifyMatchOidcIdentity#issuer
4114
- */
4115
- readonly issuer: string;
4116
- /**
4117
- * Subject specifies the regex pattern to match against to verify
4118
- * the identity subject in the Fulcio certificate. The pattern must
4119
- * be a valid Go regular expression.
4120
- *
4121
- * @schema OciRepositorySpecVerifyMatchOidcIdentity#subject
4122
- */
4123
- readonly subject: string;
4124
- }
4125
- /**
4126
- * Converts an object of type 'OciRepositorySpecVerifyMatchOidcIdentity' to JSON representation.
4127
- */
4128
- export declare function toJson_OciRepositorySpecVerifyMatchOidcIdentity(obj: OciRepositorySpecVerifyMatchOidcIdentity | undefined): Record<string, any> | undefined;
4129
- /**
4130
- * Provider specifies the technology used to sign the OCI Artifact.
4131
- *
4132
- * @schema OciRepositorySpecVerifyProvider
4133
- */
4134
- export declare enum OciRepositorySpecVerifyProvider {
4135
- /** cosign */
4136
- COSIGN = "cosign",
4137
- /** notation */
4138
- NOTATION = "notation"
4139
- }
4140
- /**
4141
- * SecretRef specifies the Kubernetes Secret containing the
4142
- * trusted public keys.
4143
- *
4144
- * @schema OciRepositorySpecVerifySecretRef
4145
- */
4146
- export interface OciRepositorySpecVerifySecretRef {
4147
- /**
4148
- * Name of the referent.
4149
- *
4150
- * @schema OciRepositorySpecVerifySecretRef#name
4151
- */
4152
- readonly name: string;
4153
- }
4154
- /**
4155
- * Converts an object of type 'OciRepositorySpecVerifySecretRef' to JSON representation.
4156
- */
4157
- export declare function toJson_OciRepositorySpecVerifySecretRef(obj: OciRepositorySpecVerifySecretRef | undefined): Record<string, any> | undefined;
4158
- //# sourceMappingURL=source.toolkit.fluxcd.io.d.ts.map