@intentius/chant-lexicon-k8s 0.41.19 → 0.42.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 (276) hide show
  1. package/dist/components/builders.d.ts +4 -0
  2. package/dist/components/builders.d.ts.map +1 -1
  3. package/dist/components/capability-plugin.d.ts +1 -1
  4. package/dist/components/capability-plugin.d.ts.map +1 -1
  5. package/dist/components/index.d.ts +1 -0
  6. package/dist/components/index.d.ts.map +1 -1
  7. package/dist/components/kustomize-apply.d.ts +48 -0
  8. package/dist/components/kustomize-apply.d.ts.map +1 -0
  9. package/dist/deep-observe-hooks.d.ts +8 -0
  10. package/dist/deep-observe-hooks.d.ts.map +1 -1
  11. package/dist/describe-resources.d.ts.map +1 -1
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/integrity.json +2 -2
  15. package/dist/manifest.json +1 -1
  16. package/dist/okf/index.md +250 -0
  17. package/dist/okf/rules/ARGO001.md +16 -0
  18. package/dist/okf/rules/ARGO002.md +16 -0
  19. package/dist/okf/rules/ARGO003.md +15 -0
  20. package/dist/okf/rules/ARGO004.md +17 -0
  21. package/dist/okf/rules/ARGO005.md +15 -0
  22. package/dist/okf/rules/WK8001.md +16 -0
  23. package/dist/okf/rules/WK8002.md +20 -0
  24. package/dist/okf/rules/WK8003.md +19 -0
  25. package/dist/okf/rules/WK8005.md +11 -0
  26. package/dist/okf/rules/WK8006.md +11 -0
  27. package/dist/okf/rules/WK8041.md +11 -0
  28. package/dist/okf/rules/WK8042.md +11 -0
  29. package/dist/okf/rules/WK8101.md +11 -0
  30. package/dist/okf/rules/WK8102.md +11 -0
  31. package/dist/okf/rules/WK8103.md +11 -0
  32. package/dist/okf/rules/WK8104.md +15 -0
  33. package/dist/okf/rules/WK8105.md +11 -0
  34. package/dist/okf/rules/WK8201.md +11 -0
  35. package/dist/okf/rules/WK8202.md +11 -0
  36. package/dist/okf/rules/WK8203.md +11 -0
  37. package/dist/okf/rules/WK8204.md +11 -0
  38. package/dist/okf/rules/WK8205.md +11 -0
  39. package/dist/okf/rules/WK8207.md +11 -0
  40. package/dist/okf/rules/WK8208.md +11 -0
  41. package/dist/okf/rules/WK8209.md +11 -0
  42. package/dist/okf/rules/WK8301.md +16 -0
  43. package/dist/okf/rules/WK8302.md +11 -0
  44. package/dist/okf/rules/WK8303.md +15 -0
  45. package/dist/okf/rules/WK8304.md +15 -0
  46. package/dist/okf/rules/WK8305.md +15 -0
  47. package/dist/okf/rules/WK8306.md +11 -0
  48. package/dist/okf/rules/WK8401.md +15 -0
  49. package/dist/okf/rules/WK8402.md +15 -0
  50. package/dist/okf/rules/WK8403.md +15 -0
  51. package/dist/okf/types/APIGroup.md +16 -0
  52. package/dist/okf/types/APIGroupList.md +13 -0
  53. package/dist/okf/types/APIResourceList.md +14 -0
  54. package/dist/okf/types/APIService.md +14 -0
  55. package/dist/okf/types/APIServiceList.md +14 -0
  56. package/dist/okf/types/APIVersions.md +14 -0
  57. package/dist/okf/types/Alert.md +14 -0
  58. package/dist/okf/types/AppProject.md +19 -0
  59. package/dist/okf/types/Application.md +23 -0
  60. package/dist/okf/types/ApplicationSet.md +18 -0
  61. package/dist/okf/types/Backup.md +14 -0
  62. package/dist/okf/types/BatchJob.md +14 -0
  63. package/dist/okf/types/Binding.md +14 -0
  64. package/dist/okf/types/Bucket.md +14 -0
  65. package/dist/okf/types/CM.md +16 -0
  66. package/dist/okf/types/CSIDriver.md +14 -0
  67. package/dist/okf/types/CSIDriverList.md +14 -0
  68. package/dist/okf/types/CSINode.md +14 -0
  69. package/dist/okf/types/CSINodeList.md +14 -0
  70. package/dist/okf/types/CSIStorageCapacity.md +17 -0
  71. package/dist/okf/types/CSIStorageCapacityList.md +14 -0
  72. package/dist/okf/types/Certificate.md +18 -0
  73. package/dist/okf/types/CertificateRequest.md +14 -0
  74. package/dist/okf/types/CertificateSigningRequest.md +14 -0
  75. package/dist/okf/types/CertificateSigningRequestList.md +14 -0
  76. package/dist/okf/types/Challenge.md +14 -0
  77. package/dist/okf/types/Cluster.md +14 -0
  78. package/dist/okf/types/ClusterIssuer.md +14 -0
  79. package/dist/okf/types/ClusterRole.md +15 -0
  80. package/dist/okf/types/ClusterRoleBinding.md +15 -0
  81. package/dist/okf/types/ClusterRoleBindingList.md +14 -0
  82. package/dist/okf/types/ClusterRoleList.md +14 -0
  83. package/dist/okf/types/ClusterTrustBundle.md +14 -0
  84. package/dist/okf/types/ClusterTrustBundleList.md +14 -0
  85. package/dist/okf/types/ComponentStatus.md +14 -0
  86. package/dist/okf/types/ComponentStatusList.md +14 -0
  87. package/dist/okf/types/ConfigMapList.md +14 -0
  88. package/dist/okf/types/ControllerRevision.md +15 -0
  89. package/dist/okf/types/ControllerRevisionList.md +14 -0
  90. package/dist/okf/types/CoreEventList.md +14 -0
  91. package/dist/okf/types/CrdbCluster.md +14 -0
  92. package/dist/okf/types/CronJob.md +20 -0
  93. package/dist/okf/types/CronJobList.md +14 -0
  94. package/dist/okf/types/CustomResourceDefinition.md +14 -0
  95. package/dist/okf/types/CustomResourceDefinitionList.md +14 -0
  96. package/dist/okf/types/DaemonSet.md +19 -0
  97. package/dist/okf/types/DaemonSetList.md +14 -0
  98. package/dist/okf/types/DeleteOptions.md +18 -0
  99. package/dist/okf/types/Deploy.md +14 -0
  100. package/dist/okf/types/DeploymentList.md +14 -0
  101. package/dist/okf/types/DeviceClass.md +14 -0
  102. package/dist/okf/types/DeviceClassList.md +14 -0
  103. package/dist/okf/types/DeviceTaintRule.md +14 -0
  104. package/dist/okf/types/DeviceTaintRuleList.md +14 -0
  105. package/dist/okf/types/EndpointSlice.md +16 -0
  106. package/dist/okf/types/EndpointSliceList.md +14 -0
  107. package/dist/okf/types/Endpoints.md +14 -0
  108. package/dist/okf/types/EndpointsList.md +14 -0
  109. package/dist/okf/types/Event.md +27 -0
  110. package/dist/okf/types/EventsEvent.md +27 -0
  111. package/dist/okf/types/EventsEventList.md +14 -0
  112. package/dist/okf/types/Eviction.md +14 -0
  113. package/dist/okf/types/FlowSchema.md +14 -0
  114. package/dist/okf/types/FlowSchemaList.md +14 -0
  115. package/dist/okf/types/FluxInstance.md +14 -0
  116. package/dist/okf/types/FluxReport.md +14 -0
  117. package/dist/okf/types/GRPCRoute.md +14 -0
  118. package/dist/okf/types/Gateway.md +14 -0
  119. package/dist/okf/types/GatewayClass.md +14 -0
  120. package/dist/okf/types/GitRepository.md +14 -0
  121. package/dist/okf/types/HTTPRoute.md +14 -0
  122. package/dist/okf/types/HelmChart.md +14 -0
  123. package/dist/okf/types/HelmRelease.md +14 -0
  124. package/dist/okf/types/HelmRepository.md +14 -0
  125. package/dist/okf/types/HorizontalPodAutoscaler.md +14 -0
  126. package/dist/okf/types/HorizontalPodAutoscalerList.md +14 -0
  127. package/dist/okf/types/IPAddress.md +14 -0
  128. package/dist/okf/types/IPAddressList.md +14 -0
  129. package/dist/okf/types/ImagePolicy.md +14 -0
  130. package/dist/okf/types/ImageRepository.md +14 -0
  131. package/dist/okf/types/ImageUpdateAutomation.md +14 -0
  132. package/dist/okf/types/InfisicalDynamicSecret.md +14 -0
  133. package/dist/okf/types/InfisicalPushSecret.md +14 -0
  134. package/dist/okf/types/InfisicalSecret.md +14 -0
  135. package/dist/okf/types/Ing.md +14 -0
  136. package/dist/okf/types/IngressClass.md +14 -0
  137. package/dist/okf/types/IngressClassList.md +14 -0
  138. package/dist/okf/types/IngressList.md +14 -0
  139. package/dist/okf/types/IngressRoute.md +14 -0
  140. package/dist/okf/types/IngressRouteTCP.md +14 -0
  141. package/dist/okf/types/IngressRouteUDP.md +14 -0
  142. package/dist/okf/types/Issuer.md +14 -0
  143. package/dist/okf/types/JobList.md +14 -0
  144. package/dist/okf/types/Kustomization.md +14 -0
  145. package/dist/okf/types/Lease.md +14 -0
  146. package/dist/okf/types/LeaseCandidate.md +14 -0
  147. package/dist/okf/types/LeaseCandidateList.md +14 -0
  148. package/dist/okf/types/LeaseList.md +14 -0
  149. package/dist/okf/types/LimitRange.md +14 -0
  150. package/dist/okf/types/LimitRangeList.md +14 -0
  151. package/dist/okf/types/LocalSubjectAccessReview.md +14 -0
  152. package/dist/okf/types/MicroVM.md +14 -0
  153. package/dist/okf/types/MicroVMClass.md +14 -0
  154. package/dist/okf/types/MicroVMImage.md +14 -0
  155. package/dist/okf/types/MicroVMNetwork.md +14 -0
  156. package/dist/okf/types/MicroVMReplicaSet.md +14 -0
  157. package/dist/okf/types/Middleware.md +14 -0
  158. package/dist/okf/types/MiddlewareTCP.md +14 -0
  159. package/dist/okf/types/MutatingAdmissionPolicy.md +14 -0
  160. package/dist/okf/types/MutatingAdmissionPolicyBinding.md +14 -0
  161. package/dist/okf/types/MutatingAdmissionPolicyBindingList.md +14 -0
  162. package/dist/okf/types/MutatingAdmissionPolicyList.md +14 -0
  163. package/dist/okf/types/MutatingWebhookConfiguration.md +14 -0
  164. package/dist/okf/types/MutatingWebhookConfigurationList.md +14 -0
  165. package/dist/okf/types/Namespace.md +18 -0
  166. package/dist/okf/types/NamespaceList.md +14 -0
  167. package/dist/okf/types/NetPol.md +14 -0
  168. package/dist/okf/types/NetworkPolicyList.md +14 -0
  169. package/dist/okf/types/Node.md +21 -0
  170. package/dist/okf/types/NodeList.md +14 -0
  171. package/dist/okf/types/OCIRepository.md +14 -0
  172. package/dist/okf/types/ObjectStore.md +14 -0
  173. package/dist/okf/types/Order.md +14 -0
  174. package/dist/okf/types/PDB.md +18 -0
  175. package/dist/okf/types/PersistentVolume.md +14 -0
  176. package/dist/okf/types/PersistentVolumeClaim.md +14 -0
  177. package/dist/okf/types/PersistentVolumeClaimList.md +14 -0
  178. package/dist/okf/types/PersistentVolumeList.md +14 -0
  179. package/dist/okf/types/Pod.md +18 -0
  180. package/dist/okf/types/PodCertificateRequest.md +14 -0
  181. package/dist/okf/types/PodCertificateRequestList.md +14 -0
  182. package/dist/okf/types/PodDisruptionBudgetList.md +14 -0
  183. package/dist/okf/types/PodList.md +14 -0
  184. package/dist/okf/types/PodTemplate.md +14 -0
  185. package/dist/okf/types/PodTemplateList.md +14 -0
  186. package/dist/okf/types/Pooler.md +14 -0
  187. package/dist/okf/types/PriorityClass.md +17 -0
  188. package/dist/okf/types/PriorityClassList.md +14 -0
  189. package/dist/okf/types/PriorityLevelConfiguration.md +14 -0
  190. package/dist/okf/types/PriorityLevelConfigurationList.md +14 -0
  191. package/dist/okf/types/PrometheusRule.md +14 -0
  192. package/dist/okf/types/Provider.md +14 -0
  193. package/dist/okf/types/RayCluster.md +20 -0
  194. package/dist/okf/types/RayJob.md +14 -0
  195. package/dist/okf/types/RayService.md +14 -0
  196. package/dist/okf/types/Receiver.md +14 -0
  197. package/dist/okf/types/ReferenceGrant.md +14 -0
  198. package/dist/okf/types/ReplicaSet.md +19 -0
  199. package/dist/okf/types/ReplicaSetList.md +14 -0
  200. package/dist/okf/types/ReplicationController.md +14 -0
  201. package/dist/okf/types/ReplicationControllerList.md +14 -0
  202. package/dist/okf/types/ResourceClaim.md +14 -0
  203. package/dist/okf/types/ResourceClaimList.md +14 -0
  204. package/dist/okf/types/ResourceClaimTemplate.md +14 -0
  205. package/dist/okf/types/ResourceClaimTemplateList.md +14 -0
  206. package/dist/okf/types/ResourceQuota.md +14 -0
  207. package/dist/okf/types/ResourceQuotaList.md +14 -0
  208. package/dist/okf/types/ResourceSet.md +14 -0
  209. package/dist/okf/types/ResourceSetInputProvider.md +14 -0
  210. package/dist/okf/types/ResourceSlice.md +14 -0
  211. package/dist/okf/types/ResourceSliceList.md +14 -0
  212. package/dist/okf/types/Role.md +14 -0
  213. package/dist/okf/types/RoleBinding.md +15 -0
  214. package/dist/okf/types/RoleBindingList.md +14 -0
  215. package/dist/okf/types/RoleList.md +14 -0
  216. package/dist/okf/types/RuntimeClass.md +16 -0
  217. package/dist/okf/types/RuntimeClassList.md +14 -0
  218. package/dist/okf/types/SA.md +16 -0
  219. package/dist/okf/types/Scale.md +14 -0
  220. package/dist/okf/types/ScheduledBackup.md +14 -0
  221. package/dist/okf/types/Sec.md +17 -0
  222. package/dist/okf/types/SecretList.md +14 -0
  223. package/dist/okf/types/SelfSubjectAccessReview.md +14 -0
  224. package/dist/okf/types/SelfSubjectReview.md +13 -0
  225. package/dist/okf/types/SelfSubjectRulesReview.md +14 -0
  226. package/dist/okf/types/ServersTransport.md +14 -0
  227. package/dist/okf/types/ServersTransportTCP.md +14 -0
  228. package/dist/okf/types/Service.md +20 -0
  229. package/dist/okf/types/ServiceAccountList.md +14 -0
  230. package/dist/okf/types/ServiceCIDR.md +14 -0
  231. package/dist/okf/types/ServiceCIDRList.md +14 -0
  232. package/dist/okf/types/ServiceList.md +14 -0
  233. package/dist/okf/types/ServiceMonitor.md +14 -0
  234. package/dist/okf/types/StatefulSet.md +19 -0
  235. package/dist/okf/types/StatefulSetList.md +14 -0
  236. package/dist/okf/types/Status.md +17 -0
  237. package/dist/okf/types/StorageClass.md +20 -0
  238. package/dist/okf/types/StorageClassList.md +14 -0
  239. package/dist/okf/types/StorageVersionMigration.md +14 -0
  240. package/dist/okf/types/StorageVersionMigrationList.md +14 -0
  241. package/dist/okf/types/SubjectAccessReview.md +14 -0
  242. package/dist/okf/types/TLSOption.md +14 -0
  243. package/dist/okf/types/TLSStore.md +14 -0
  244. package/dist/okf/types/TokenRequest.md +14 -0
  245. package/dist/okf/types/TokenReview.md +14 -0
  246. package/dist/okf/types/TraefikService.md +14 -0
  247. package/dist/okf/types/ValidatingAdmissionPolicy.md +14 -0
  248. package/dist/okf/types/ValidatingAdmissionPolicyBinding.md +14 -0
  249. package/dist/okf/types/ValidatingAdmissionPolicyBindingList.md +14 -0
  250. package/dist/okf/types/ValidatingAdmissionPolicyList.md +14 -0
  251. package/dist/okf/types/ValidatingWebhookConfiguration.md +14 -0
  252. package/dist/okf/types/ValidatingWebhookConfigurationList.md +14 -0
  253. package/dist/okf/types/VolumeAttachment.md +14 -0
  254. package/dist/okf/types/VolumeAttachmentList.md +14 -0
  255. package/dist/okf/types/VolumeAttributesClass.md +15 -0
  256. package/dist/okf/types/VolumeAttributesClassList.md +14 -0
  257. package/dist/okf/types/WatchEvent.md +14 -0
  258. package/dist/op/activities/kubectl.d.ts +15 -1
  259. package/dist/op/activities/kubectl.d.ts.map +1 -1
  260. package/dist/op/activities/wait-for-ready.d.ts +16 -6
  261. package/dist/op/activities/wait-for-ready.d.ts.map +1 -1
  262. package/package.json +2 -2
  263. package/src/components/builders.ts +5 -0
  264. package/src/components/capability-plugin.ts +3 -2
  265. package/src/components/index.ts +7 -0
  266. package/src/components/kustomize-apply.test.ts +98 -0
  267. package/src/components/kustomize-apply.ts +133 -0
  268. package/src/deep-observe-hooks.ts +60 -0
  269. package/src/deep-observe.test.ts +114 -0
  270. package/src/describe-resources.test.ts +159 -0
  271. package/src/describe-resources.ts +142 -2
  272. package/src/index.ts +1 -0
  273. package/src/op/activities/kubectl.test.ts +22 -0
  274. package/src/op/activities/kubectl.ts +15 -2
  275. package/src/op/activities/wait-for-ready.test.ts +27 -0
  276. package/src/op/activities/wait-for-ready.ts +84 -6
@@ -0,0 +1,20 @@
1
+ ---
2
+ type: resource-type
3
+ title: Service
4
+ description: k8s resource type K8s::Core::Service
5
+ name: Service
6
+ lexicon: k8s
7
+ resource_type: K8s::Core::Service
8
+ ---
9
+ `K8s::Core::Service`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
+ - `spec` (`Record<string, unknown>`, optional): Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
15
+
16
+ ## Governed by
17
+
18
+ - [WK8104](/rules/WK8104.md): Ports should be named — named ports improve Service and NetworkPolicy configuration
19
+ - [WK8301](/rules/WK8301.md): Probes required — containers should have livenessProbe and readinessProbe
20
+ - [WK8305](/rules/WK8305.md): Ingress port not matching Service — backend port must match a declared Service port
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ServiceAccountList
4
+ description: k8s resource type K8s::Core::ServiceAccountList
5
+ name: ServiceAccountList
6
+ lexicon: k8s
7
+ resource_type: K8s::Core::ServiceAccountList
8
+ ---
9
+ `K8s::Core::ServiceAccountList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ServiceCIDR
4
+ description: k8s resource type K8s::Networking::ServiceCIDR
5
+ name: ServiceCIDR
6
+ lexicon: k8s
7
+ resource_type: K8s::Networking::ServiceCIDR
8
+ ---
9
+ `K8s::Networking::ServiceCIDR`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
+ - `spec` (`Record<string, unknown>`, optional): spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ServiceCIDRList
4
+ description: k8s resource type K8s::Networking::ServiceCIDRList
5
+ name: ServiceCIDRList
6
+ lexicon: k8s
7
+ resource_type: K8s::Networking::ServiceCIDRList
8
+ ---
9
+ `K8s::Networking::ServiceCIDRList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): items is the list of ServiceCIDRs.
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ServiceList
4
+ description: k8s resource type K8s::Core::ServiceList
5
+ name: ServiceList
6
+ lexicon: k8s
7
+ resource_type: K8s::Core::ServiceList
8
+ ---
9
+ `K8s::Core::ServiceList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): List of services
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ServiceMonitor
4
+ description: k8s resource type K8s::Monitoring::ServiceMonitor
5
+ name: ServiceMonitor
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::ServiceMonitor
8
+ ---
9
+ `K8s::Monitoring::ServiceMonitor`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): Specification of desired Service selection for target discovery by Prometheus.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -0,0 +1,19 @@
1
+ ---
2
+ type: resource-type
3
+ title: StatefulSet
4
+ description: k8s resource type K8s::Apps::StatefulSet
5
+ name: StatefulSet
6
+ lexicon: k8s
7
+ resource_type: K8s::Apps::StatefulSet
8
+ ---
9
+ `K8s::Apps::StatefulSet`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
+ - `spec` (`Record<string, unknown>`, optional): Spec defines the desired identities of pods in this set.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8002](/rules/WK8002.md): Latest Image Tag
19
+ - [WK8003](/rules/WK8003.md): Missing Resource Limits
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: StatefulSetList
4
+ description: k8s resource type K8s::Apps::StatefulSetList
5
+ name: StatefulSetList
6
+ lexicon: k8s
7
+ resource_type: K8s::Apps::StatefulSetList
8
+ ---
9
+ `K8s::Apps::StatefulSetList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): Items is the list of stateful sets.
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,17 @@
1
+ ---
2
+ type: resource-type
3
+ title: Status
4
+ description: k8s resource type K8s::Core::Status
5
+ name: Status
6
+ lexicon: k8s
7
+ resource_type: K8s::Core::Status
8
+ ---
9
+ `K8s::Core::Status`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `code` (`number`, optional): Suggested HTTP return code for this status, 0 if not set.
14
+ - `details` (`Record<string, unknown>`, optional): Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
15
+ - `message` (`string`, optional): A human-readable description of the status of this operation.
16
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
17
+ - `reason` (`string`, optional): A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
@@ -0,0 +1,20 @@
1
+ ---
2
+ type: resource-type
3
+ title: StorageClass
4
+ description: k8s resource type K8s::Storage::StorageClass
5
+ name: StorageClass
6
+ lexicon: k8s
7
+ resource_type: K8s::Storage::StorageClass
8
+ ---
9
+ `K8s::Storage::StorageClass`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `provisioner` (`string`, required): provisioner indicates the type of the provisioner.
14
+ - `allowedTopologies` (`Record<string, unknown>[]`, optional): allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.
15
+ - `allowVolumeExpansion` (`boolean`, optional): allowVolumeExpansion shows whether the storage class allow volume expand.
16
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
17
+ - `mountOptions` (`string[]`, optional): mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
18
+ - `parameters` (`Record<string, string>`, optional): parameters holds the parameters for the provisioner that should create volumes of this storage class.
19
+ - `reclaimPolicy` (`string`, optional): reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
20
+ - `volumeBindingMode` (`string`, optional): volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: StorageClassList
4
+ description: k8s resource type K8s::Storage::StorageClassList
5
+ name: StorageClassList
6
+ lexicon: k8s
7
+ resource_type: K8s::Storage::StorageClassList
8
+ ---
9
+ `K8s::Storage::StorageClassList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): items is the list of StorageClasses
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: StorageVersionMigration
4
+ description: k8s resource type K8s::Storagemigration::StorageVersionMigration
5
+ name: StorageVersionMigration
6
+ lexicon: k8s
7
+ resource_type: K8s::Storagemigration::StorageVersionMigration
8
+ ---
9
+ `K8s::Storagemigration::StorageVersionMigration`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
+ - `spec` (`Record<string, unknown>`, optional): Specification of the migration.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: StorageVersionMigrationList
4
+ description: k8s resource type K8s::Storagemigration::StorageVersionMigrationList
5
+ name: StorageVersionMigrationList
6
+ lexicon: k8s
7
+ resource_type: K8s::Storagemigration::StorageVersionMigrationList
8
+ ---
9
+ `K8s::Storagemigration::StorageVersionMigrationList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): Items is the list of StorageVersionMigration
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: SubjectAccessReview
4
+ description: k8s resource type K8s::Authorization::SubjectAccessReview
5
+ name: SubjectAccessReview
6
+ lexicon: k8s
7
+ resource_type: K8s::Authorization::SubjectAccessReview
8
+ ---
9
+ `K8s::Authorization::SubjectAccessReview`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec holds information about the request being evaluated
14
+ - `metadata` (`ObjectMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: TLSOption
4
+ description: k8s resource type K8s::Traefik::TLSOption
5
+ name: TLSOption
6
+ lexicon: k8s
7
+ resource_type: K8s::Traefik::TLSOption
8
+ ---
9
+ `K8s::Traefik::TLSOption`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): TLSOptionSpec defines the desired state of a TLSOption.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: TLSStore
4
+ description: k8s resource type K8s::Traefik::TLSStore
5
+ name: TLSStore
6
+ lexicon: k8s
7
+ resource_type: K8s::Traefik::TLSStore
8
+ ---
9
+ `K8s::Traefik::TLSStore`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): TLSStoreSpec defines the desired state of a TLSStore.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: TokenRequest
4
+ description: k8s resource type K8s::Authentication::TokenRequest
5
+ name: TokenRequest
6
+ lexicon: k8s
7
+ resource_type: K8s::Authentication::TokenRequest
8
+ ---
9
+ `K8s::Authentication::TokenRequest`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
14
+ - `spec` (`Record<string, unknown>`, optional): spec holds information about the request being evaluated
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: TokenReview
4
+ description: k8s resource type K8s::Authentication::TokenReview
5
+ name: TokenReview
6
+ lexicon: k8s
7
+ resource_type: K8s::Authentication::TokenReview
8
+ ---
9
+ `K8s::Authentication::TokenReview`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec holds information about the request being evaluated
14
+ - `metadata` (`ObjectMeta`, optional): metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: TraefikService
4
+ description: k8s resource type K8s::Traefik::TraefikService
5
+ name: TraefikService
6
+ lexicon: k8s
7
+ resource_type: K8s::Traefik::TraefikService
8
+ ---
9
+ `K8s::Traefik::TraefikService`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): TraefikServiceSpec defines the desired state of a TraefikService.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ValidatingAdmissionPolicy
4
+ description: k8s resource type K8s::Admissionregistration::ValidatingAdmissionPolicy
5
+ name: ValidatingAdmissionPolicy
6
+ lexicon: k8s
7
+ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicy
8
+ ---
9
+ `K8s::Admissionregistration::ValidatingAdmissionPolicy`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
14
+ - `spec` (`Record<string, unknown>`, optional): spec defines the desired behavior of the ValidatingAdmissionPolicy.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ValidatingAdmissionPolicyBinding
4
+ description: k8s resource type K8s::Admissionregistration::ValidatingAdmissionPolicyBinding
5
+ name: ValidatingAdmissionPolicyBinding
6
+ lexicon: k8s
7
+ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyBinding
8
+ ---
9
+ `K8s::Admissionregistration::ValidatingAdmissionPolicyBinding`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
14
+ - `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ValidatingAdmissionPolicyBindingList
4
+ description: k8s resource type K8s::Admissionregistration::ValidatingAdmissionPolicyBindingList
5
+ name: ValidatingAdmissionPolicyBindingList
6
+ lexicon: k8s
7
+ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyBindingList
8
+ ---
9
+ `K8s::Admissionregistration::ValidatingAdmissionPolicyBindingList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): List of PolicyBinding.
14
+ - `metadata` (`Record<string, unknown>`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ValidatingAdmissionPolicyList
4
+ description: k8s resource type K8s::Admissionregistration::ValidatingAdmissionPolicyList
5
+ name: ValidatingAdmissionPolicyList
6
+ lexicon: k8s
7
+ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyList
8
+ ---
9
+ `K8s::Admissionregistration::ValidatingAdmissionPolicyList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): List of ValidatingAdmissionPolicy.
14
+ - `metadata` (`Record<string, unknown>`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ValidatingWebhookConfiguration
4
+ description: k8s resource type K8s::Admissionregistration::ValidatingWebhookConfiguration
5
+ name: ValidatingWebhookConfiguration
6
+ lexicon: k8s
7
+ resource_type: K8s::Admissionregistration::ValidatingWebhookConfiguration
8
+ ---
9
+ `K8s::Admissionregistration::ValidatingWebhookConfiguration`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
14
+ - `webhooks` (`Record<string, unknown>[]`, optional): webhooks is a list of webhooks and the affected resources and operations.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ValidatingWebhookConfigurationList
4
+ description: k8s resource type K8s::Admissionregistration::ValidatingWebhookConfigurationList
5
+ name: ValidatingWebhookConfigurationList
6
+ lexicon: k8s
7
+ resource_type: K8s::Admissionregistration::ValidatingWebhookConfigurationList
8
+ ---
9
+ `K8s::Admissionregistration::ValidatingWebhookConfigurationList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): List of ValidatingWebhookConfiguration.
14
+ - `metadata` (`Record<string, unknown>`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: VolumeAttachment
4
+ description: k8s resource type K8s::Storage::VolumeAttachment
5
+ name: VolumeAttachment
6
+ lexicon: k8s
7
+ resource_type: K8s::Storage::VolumeAttachment
8
+ ---
9
+ `K8s::Storage::VolumeAttachment`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: VolumeAttachmentList
4
+ description: k8s resource type K8s::Storage::VolumeAttachmentList
5
+ name: VolumeAttachmentList
6
+ lexicon: k8s
7
+ resource_type: K8s::Storage::VolumeAttachmentList
8
+ ---
9
+ `K8s::Storage::VolumeAttachmentList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): items is the list of VolumeAttachments
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,15 @@
1
+ ---
2
+ type: resource-type
3
+ title: VolumeAttributesClass
4
+ description: k8s resource type K8s::Storage::VolumeAttributesClass
5
+ name: VolumeAttributesClass
6
+ lexicon: k8s
7
+ resource_type: K8s::Storage::VolumeAttributesClass
8
+ ---
9
+ `K8s::Storage::VolumeAttributesClass`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `driverName` (`string`, required): Name of the CSI driver This field is immutable.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
15
+ - `parameters` (`Record<string, string>`, optional): parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: VolumeAttributesClassList
4
+ description: k8s resource type K8s::Storage::VolumeAttributesClassList
5
+ name: VolumeAttributesClassList
6
+ lexicon: k8s
7
+ resource_type: K8s::Storage::VolumeAttributesClassList
8
+ ---
9
+ `K8s::Storage::VolumeAttributesClassList`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `items` (`Record<string, unknown>[]`, required): items is the list of VolumeAttributesClass objects.
14
+ - `metadata` (`Record<string, unknown>`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: WatchEvent
4
+ description: k8s resource type K8s::Core::WatchEvent
5
+ name: WatchEvent
6
+ lexicon: k8s
7
+ resource_type: K8s::Core::WatchEvent
8
+ ---
9
+ `K8s::Core::WatchEvent`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `object` (`Record<string, unknown>`, required): Object is: If Type is Added or Modified: the new state of the object. If Type is Deleted: the state of the object immediately before deletion. If Type is Error: *Status is recommended; other types may make sense depending on context.
14
+ - `type` (`string`, required)
@@ -30,6 +30,7 @@
30
30
  * - **Documents apply in file order**, as `kubectl apply -f` does, and a
31
31
  * directory's files are read in sorted order.
32
32
  */
33
+ import type { K8sObject } from "@intentius/chant-k8s-client";
33
34
  import { type K8sConnector } from "../../api/connect.js";
34
35
  /**
35
36
  * How the apply treats chant-owned objects that are no longer declared. The
@@ -39,8 +40,21 @@ import { type K8sConnector } from "../../api/connect.js";
39
40
  */
40
41
  export type ApplyDeleteMode = "never" | "owned-only" | "gated";
41
42
  export interface KubectlApplyArgs {
42
- /** Path to a manifest file, or a directory of them. */
43
+ /**
44
+ * Path to a manifest file, or a directory of them. With `documents` given,
45
+ * this becomes only the human-facing label the heartbeats and logs carry
46
+ * (e.g. `kustomize:<dir>`), and nothing is read from disk.
47
+ */
43
48
  manifest: string;
49
+ /**
50
+ * Already-parsed documents to apply INSTEAD of reading `manifest` (#1548):
51
+ * a renderer that produced the objects in memory — kustomize-apply's
52
+ * `kustomize build` — hands them straight in rather than round-tripping
53
+ * through a temp file. Everything downstream (ownership stamping, the
54
+ * marker-scoped prune, the self-conflict retake) is document-driven and
55
+ * behaves identically.
56
+ */
57
+ documents?: K8sObject[];
44
58
  /**
45
59
  * kubectl context name. Uses the ambient context if omitted. To target the
46
60
  * same cluster the read path (`describeResources`) resolved for an
@@ -1 +1 @@
1
- {"version":3,"file":"kubectl.d.ts","sourceRoot":"","sources":["../../../src/op/activities/kubectl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAaH,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI3E;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,YAAY,GAAG,OAAO,CAAC;AAE/D,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;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AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAiB7E;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CAEjF;AAqHD;;;;;;;GAOG;AACH,wBAAsB,aAAa,CACjC,IAAI,EAAE,gBAAgB,EACtB,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,GAAE,YAAkC,GAC1C,OAAO,CAAC,mBAAmB,CAAC,CAkE9B;AAED;;;GAGG;AACH,wBAAsB,YAAY,CAChC,IAAI,EAAE,gBAAgB,EACtB,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,GAAE,YAAkC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAEf"}
@@ -32,7 +32,22 @@ export interface PathMatch {
32
32
  /** Holds when the value is one of these. */
33
33
  oneOf?: Array<string | number>;
34
34
  }
35
- export type ReadinessMatch = ConditionMatch | PathMatch;
35
+ /**
36
+ * Match a `status.conditions[]` entry by `type` AND its `reason` (#1549).
37
+ * The dot-path walk can't index into a conditions array, and the Flux
38
+ * toolkit's failure signal is exactly `conditions[type=Ready].reason` — a
39
+ * wedge like `BuildFailed` keeps `Ready=False` forever while the generic
40
+ * poll waits out its whole timeout. `status` defaults to "False": a reason
41
+ * on a True condition is progress vocabulary, not a wedge.
42
+ */
43
+ export interface ConditionReasonMatch {
44
+ conditionType: string;
45
+ /** Required `status` of the condition (default "False"). */
46
+ status?: string;
47
+ /** Holds when the condition's `reason` is one of these. */
48
+ reasonOneOf: string[];
49
+ }
50
+ export type ReadinessMatch = ConditionMatch | PathMatch | ConditionReasonMatch;
36
51
  export interface ReadinessSpec {
37
52
  /** All must hold for the resource to be ready. */
38
53
  ready: ReadinessMatch[];
@@ -50,11 +65,6 @@ export interface ReadinessSpec {
50
65
  * and the CockroachDB operator.
51
66
  */
52
67
  export declare const DEFAULT_READINESS: ReadinessSpec;
53
- /**
54
- * Per-resource overrides keyed by `"<group>/<kind>"`. Argo's `Application`
55
- * reports `health`/`sync`, not a `Ready` condition — the case that proves the
56
- * override is necessary (#365).
57
- */
58
68
  export declare const READINESS_OVERRIDES: Record<string, ReadinessSpec>;
59
69
  /** Resolve the readiness spec for a resource: registry override, else default. */
60
70
  export declare function readinessFor(group: string | undefined, kind: string): ReadinessSpec;
@@ -1 +1 @@
1
- {"version":3,"file":"wait-for-ready.d.ts","sourceRoot":"","sources":["../../../src/op/activities/wait-for-ready.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE3E;;;;;;;;;;;;;;;;;GAiBG;AAIH,sEAAsE;AACtE,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,2DAA2D;AAC3D,MAAM,WAAW,SAAS;IACxB,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACnC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CAEhC;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG,SAAS,CAAC;AAExD,MAAM,WAAW,aAAa;IAC5B,kDAAkD;IAClD,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,aAG/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAS7D,C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B,EACtB,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,GAAE,eAAsC,GAC9C,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAuBlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-k8s",
3
- "version": "0.41.19",
3
+ "version": "0.42.1",
4
4
  "description": "Kubernetes lexicon for chant — declarative IaC in TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "peerDependencies": {
86
86
  "zod": "^4.3.6",
87
- "@intentius/chant": "^0.41.19",
87
+ "@intentius/chant": "^0.42.1",
88
88
  "typescript": "^5.9.3"
89
89
  }
90
90
  }
@@ -13,5 +13,10 @@
13
13
 
14
14
  import { step } from "@intentius/chant/components";
15
15
  import type { KubectlApplyInput } from "./kubectl-apply";
16
+ import type { KustomizeApplyInput } from "./kustomize-apply";
16
17
 
17
18
  export const kubectlApply = step<KubectlApplyInput & { noRollback?: string }>("kubectl-apply");
19
+
20
+ // Same needs-opt-out posture, same sugar (#1548): a kustomize render in front
21
+ // of the identical server-side apply.
22
+ export const kustomizeApply = step<KustomizeApplyInput & { noRollback?: string }>("kustomize-apply");
@@ -11,9 +11,10 @@
11
11
  import type { Capability } from "@intentius/chant/components/capability";
12
12
  import { ownPackageVersion, type CapabilityPlugin } from "@intentius/chant/components/capability-plugin";
13
13
  import { kubectlApplyCapability } from "./kubectl-apply";
14
+ import { kustomizeApplyCapability } from "./kustomize-apply";
14
15
 
15
16
  export const K8S_VERB_FAMILIES = {
16
- apply: ["kubectl-apply"],
17
+ apply: ["kubectl-apply", "kustomize-apply"],
17
18
  } as const;
18
19
 
19
20
  export const k8sCapabilityPlugin: CapabilityPlugin = {
@@ -22,7 +23,7 @@ export const k8sCapabilityPlugin: CapabilityPlugin = {
22
23
  // a literal here was stale one release after it was written.
23
24
  version: ownPackageVersion(import.meta.url),
24
25
  capabilities(): Array<Capability<never, unknown>> {
25
- return [kubectlApplyCapability as Capability<never, unknown>];
26
+ return [kubectlApplyCapability as Capability<never, unknown>, kustomizeApplyCapability as Capability<never, unknown>];
26
27
  },
27
28
  families(): Record<string, readonly string[]> {
28
29
  return K8S_VERB_FAMILIES;