@intentius/chant-lexicon-k8s 0.101.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/dist/actions/apps.d.ts +4 -4
  2. package/dist/actions/apps.d.ts.map +1 -1
  3. package/dist/actions/core.d.ts +5 -5
  4. package/dist/actions/core.d.ts.map +1 -1
  5. package/dist/actions/networking.d.ts.map +1 -1
  6. package/dist/codegen/generate-typescript.d.ts +2 -2
  7. package/dist/codegen/generate-typescript.d.ts.map +1 -1
  8. package/dist/codegen/generate.d.ts +26 -0
  9. package/dist/codegen/generate.d.ts.map +1 -1
  10. package/dist/codegen/naming.d.ts.map +1 -1
  11. package/dist/codegen/versions.d.ts.map +1 -1
  12. package/dist/components/capability-plugin.d.ts.map +1 -1
  13. package/dist/components/kubectl-apply.d.ts +4 -1
  14. package/dist/components/kubectl-apply.d.ts.map +1 -1
  15. package/dist/composites/catalog.d.ts.map +1 -1
  16. package/dist/composites/cockroachdb-cluster.d.ts +2 -2
  17. package/dist/composites/gke-otel-collector.d.ts.map +1 -1
  18. package/dist/composites/index.d.ts +1 -0
  19. package/dist/composites/index.d.ts.map +1 -1
  20. package/dist/composites/otel-collector-agent.d.ts +19 -1
  21. package/dist/composites/otel-collector-agent.d.ts.map +1 -1
  22. package/dist/composites/otel-collector-node.d.ts +88 -0
  23. package/dist/composites/otel-collector-node.d.ts.map +1 -0
  24. package/dist/composites/otel-collector-rbac.d.ts.map +1 -1
  25. package/dist/composites/otel-collector-shape.d.ts +3 -1
  26. package/dist/composites/otel-collector-shape.d.ts.map +1 -1
  27. package/dist/composites/otel-collector.d.ts +9 -1
  28. package/dist/composites/otel-collector.d.ts.map +1 -1
  29. package/dist/composites/ray-cluster.d.ts +6 -6
  30. package/dist/composites/ray-job.d.ts +5 -5
  31. package/dist/composites/ray-service.d.ts +6 -6
  32. package/dist/crd/crd-sources.d.ts.map +1 -1
  33. package/dist/crd/loader.d.ts.map +1 -1
  34. package/dist/crd/oci-chart.d.ts +50 -0
  35. package/dist/crd/oci-chart.d.ts.map +1 -0
  36. package/dist/crd/types.d.ts +5 -0
  37. package/dist/crd/types.d.ts.map +1 -1
  38. package/dist/effect-receipt-row.d.ts.map +1 -1
  39. package/dist/generated/index.d.ts +764 -729
  40. package/dist/generated/index.d.ts.map +1 -1
  41. package/dist/import/embedded.d.ts +4 -2
  42. package/dist/import/embedded.d.ts.map +1 -1
  43. package/dist/import/generator.d.ts.map +1 -1
  44. package/dist/import/parser.d.ts.map +1 -1
  45. package/dist/import/testdata/embedded/fixtures.d.ts +6 -0
  46. package/dist/import/testdata/embedded/fixtures.d.ts.map +1 -1
  47. package/dist/integrity.json +8 -7
  48. package/dist/lint/audit-catalog.d.ts.map +1 -1
  49. package/dist/lint/post-synth/index.d.ts.map +1 -1
  50. package/dist/lint/post-synth/otel-placement-helpers.d.ts.map +1 -1
  51. package/dist/lint/post-synth/wk8604.d.ts +3 -2
  52. package/dist/lint/post-synth/wk8604.d.ts.map +1 -1
  53. package/dist/lint/post-synth/wk8605.d.ts +23 -0
  54. package/dist/lint/post-synth/wk8605.d.ts.map +1 -0
  55. package/dist/manifest.json +1 -1
  56. package/dist/meta.json +194 -17
  57. package/dist/okf/index.md +5 -0
  58. package/dist/okf/rules/WK8605.md +11 -0
  59. package/dist/okf/types/APIGroup.md +3 -3
  60. package/dist/okf/types/APIGroupList.md +1 -1
  61. package/dist/okf/types/APIResourceList.md +1 -1
  62. package/dist/okf/types/APIService.md +1 -1
  63. package/dist/okf/types/APIServiceList.md +2 -2
  64. package/dist/okf/types/APIVersions.md +1 -1
  65. package/dist/okf/types/BatchJob.md +1 -1
  66. package/dist/okf/types/CSIDriver.md +1 -1
  67. package/dist/okf/types/CSIDriverList.md +2 -2
  68. package/dist/okf/types/CSINode.md +1 -1
  69. package/dist/okf/types/CSINodeList.md +2 -2
  70. package/dist/okf/types/CSIStorageCapacity.md +2 -2
  71. package/dist/okf/types/CSIStorageCapacityList.md +2 -2
  72. package/dist/okf/types/CertificateSigningRequest.md +1 -1
  73. package/dist/okf/types/CertificateSigningRequestList.md +2 -2
  74. package/dist/okf/types/ClusterRole.md +1 -1
  75. package/dist/okf/types/ClusterRoleBindingList.md +2 -2
  76. package/dist/okf/types/ClusterRoleList.md +2 -2
  77. package/dist/okf/types/ClusterTrustBundle.md +1 -1
  78. package/dist/okf/types/ClusterTrustBundleList.md +2 -2
  79. package/dist/okf/types/ComponentStatus.md +1 -1
  80. package/dist/okf/types/ComponentStatusList.md +2 -2
  81. package/dist/okf/types/ConfigMapList.md +2 -2
  82. package/dist/okf/types/ControllerRevisionList.md +2 -2
  83. package/dist/okf/types/CoreEventList.md +2 -2
  84. package/dist/okf/types/CronJob.md +1 -1
  85. package/dist/okf/types/CronJobList.md +2 -2
  86. package/dist/okf/types/CustomResourceDefinition.md +1 -1
  87. package/dist/okf/types/CustomResourceDefinitionList.md +2 -2
  88. package/dist/okf/types/DaemonSet.md +1 -1
  89. package/dist/okf/types/DaemonSetList.md +2 -2
  90. package/dist/okf/types/DeleteOptions.md +1 -1
  91. package/dist/okf/types/Deploy.md +1 -1
  92. package/dist/okf/types/DeploymentList.md +2 -2
  93. package/dist/okf/types/DeviceClass.md +1 -1
  94. package/dist/okf/types/DeviceClassList.md +2 -2
  95. package/dist/okf/types/DeviceTaintRule.md +1 -1
  96. package/dist/okf/types/DeviceTaintRuleList.md +2 -2
  97. package/dist/okf/types/EndpointSlice.md +2 -2
  98. package/dist/okf/types/EndpointSliceList.md +2 -2
  99. package/dist/okf/types/Endpoints.md +1 -1
  100. package/dist/okf/types/EndpointsList.md +2 -2
  101. package/dist/okf/types/Event.md +2 -2
  102. package/dist/okf/types/EventsEvent.md +2 -2
  103. package/dist/okf/types/EventsEventList.md +2 -2
  104. package/dist/okf/types/Eviction.md +1 -1
  105. package/dist/okf/types/FlowSchema.md +1 -1
  106. package/dist/okf/types/FlowSchemaList.md +2 -2
  107. package/dist/okf/types/GrafanaDashboard.md +14 -0
  108. package/dist/okf/types/GrafanaDatasource.md +14 -0
  109. package/dist/okf/types/GrafanaFolder.md +14 -0
  110. package/dist/okf/types/GrafanaLibraryPanel.md +14 -0
  111. package/dist/okf/types/HorizontalPodAutoscaler.md +1 -1
  112. package/dist/okf/types/HorizontalPodAutoscalerList.md +2 -2
  113. package/dist/okf/types/IPAddress.md +1 -1
  114. package/dist/okf/types/IPAddressList.md +2 -2
  115. package/dist/okf/types/Ing.md +1 -1
  116. package/dist/okf/types/IngressClass.md +1 -1
  117. package/dist/okf/types/IngressClassList.md +2 -2
  118. package/dist/okf/types/IngressList.md +2 -2
  119. package/dist/okf/types/JobList.md +2 -2
  120. package/dist/okf/types/Lease.md +1 -1
  121. package/dist/okf/types/LeaseCandidate.md +1 -1
  122. package/dist/okf/types/LeaseCandidateList.md +2 -2
  123. package/dist/okf/types/LeaseList.md +2 -2
  124. package/dist/okf/types/LimitRange.md +1 -1
  125. package/dist/okf/types/LimitRangeList.md +2 -2
  126. package/dist/okf/types/LocalSubjectAccessReview.md +1 -1
  127. package/dist/okf/types/MutatingAdmissionPolicy.md +1 -1
  128. package/dist/okf/types/MutatingAdmissionPolicyBinding.md +1 -1
  129. package/dist/okf/types/MutatingAdmissionPolicyBindingList.md +2 -2
  130. package/dist/okf/types/MutatingAdmissionPolicyList.md +2 -2
  131. package/dist/okf/types/MutatingWebhookConfiguration.md +1 -1
  132. package/dist/okf/types/MutatingWebhookConfigurationList.md +2 -2
  133. package/dist/okf/types/Namespace.md +1 -1
  134. package/dist/okf/types/NamespaceList.md +2 -2
  135. package/dist/okf/types/NetPol.md +1 -1
  136. package/dist/okf/types/NetworkPolicyList.md +2 -2
  137. package/dist/okf/types/Node.md +1 -1
  138. package/dist/okf/types/NodeList.md +2 -2
  139. package/dist/okf/types/PersistentVolume.md +1 -1
  140. package/dist/okf/types/PersistentVolumeClaimList.md +2 -2
  141. package/dist/okf/types/PersistentVolumeList.md +2 -2
  142. package/dist/okf/types/PodCertificateRequest.md +1 -1
  143. package/dist/okf/types/PodCertificateRequestList.md +2 -2
  144. package/dist/okf/types/PodDisruptionBudgetList.md +2 -2
  145. package/dist/okf/types/PodList.md +2 -2
  146. package/dist/okf/types/PodTemplateList.md +2 -2
  147. package/dist/okf/types/PriorityClassList.md +2 -2
  148. package/dist/okf/types/PriorityLevelConfiguration.md +1 -1
  149. package/dist/okf/types/PriorityLevelConfigurationList.md +2 -2
  150. package/dist/okf/types/ReplicaSet.md +1 -1
  151. package/dist/okf/types/ReplicaSetList.md +2 -2
  152. package/dist/okf/types/ReplicationController.md +1 -1
  153. package/dist/okf/types/ReplicationControllerList.md +2 -2
  154. package/dist/okf/types/ResourceClaim.md +1 -1
  155. package/dist/okf/types/ResourceClaimList.md +2 -2
  156. package/dist/okf/types/ResourceClaimTemplate.md +1 -1
  157. package/dist/okf/types/ResourceClaimTemplateList.md +2 -2
  158. package/dist/okf/types/ResourceQuota.md +1 -1
  159. package/dist/okf/types/ResourceQuotaList.md +2 -2
  160. package/dist/okf/types/ResourceSlice.md +1 -1
  161. package/dist/okf/types/ResourceSliceList.md +2 -2
  162. package/dist/okf/types/RoleBindingList.md +2 -2
  163. package/dist/okf/types/RoleList.md +2 -2
  164. package/dist/okf/types/RuntimeClass.md +2 -2
  165. package/dist/okf/types/RuntimeClassList.md +2 -2
  166. package/dist/okf/types/Scale.md +1 -1
  167. package/dist/okf/types/SecretList.md +2 -2
  168. package/dist/okf/types/SelfSubjectAccessReview.md +1 -1
  169. package/dist/okf/types/SelfSubjectRulesReview.md +1 -1
  170. package/dist/okf/types/Service.md +1 -1
  171. package/dist/okf/types/ServiceAccountList.md +2 -2
  172. package/dist/okf/types/ServiceCIDR.md +1 -1
  173. package/dist/okf/types/ServiceCIDRList.md +2 -2
  174. package/dist/okf/types/ServiceList.md +2 -2
  175. package/dist/okf/types/StatefulSet.md +1 -1
  176. package/dist/okf/types/StatefulSetList.md +2 -2
  177. package/dist/okf/types/Status.md +2 -2
  178. package/dist/okf/types/StorageClass.md +1 -1
  179. package/dist/okf/types/StorageClassList.md +2 -2
  180. package/dist/okf/types/StorageVersionMigration.md +1 -1
  181. package/dist/okf/types/StorageVersionMigrationList.md +2 -2
  182. package/dist/okf/types/SubjectAccessReview.md +1 -1
  183. package/dist/okf/types/TokenRequest.md +1 -1
  184. package/dist/okf/types/TokenReview.md +1 -1
  185. package/dist/okf/types/ValidatingAdmissionPolicy.md +1 -1
  186. package/dist/okf/types/ValidatingAdmissionPolicyBinding.md +1 -1
  187. package/dist/okf/types/ValidatingAdmissionPolicyBindingList.md +2 -2
  188. package/dist/okf/types/ValidatingAdmissionPolicyList.md +2 -2
  189. package/dist/okf/types/ValidatingWebhookConfiguration.md +1 -1
  190. package/dist/okf/types/ValidatingWebhookConfigurationList.md +2 -2
  191. package/dist/okf/types/VolumeAttachment.md +1 -1
  192. package/dist/okf/types/VolumeAttachmentList.md +2 -2
  193. package/dist/okf/types/VolumeAttributesClassList.md +2 -2
  194. package/dist/op/activities/argo.d.ts.map +1 -1
  195. package/dist/op/activities/index.d.ts +3 -3
  196. package/dist/op/activities/index.d.ts.map +1 -1
  197. package/dist/op/activities/wait-for-ready.d.ts.map +1 -1
  198. package/dist/op/builders.d.ts.map +1 -1
  199. package/dist/rules/wk8602.ts +2 -2
  200. package/dist/rules/wk8604.ts +3 -2
  201. package/dist/rules/wk8605.ts +131 -0
  202. package/dist/serializer.d.ts +0 -3
  203. package/dist/serializer.d.ts.map +1 -1
  204. package/dist/skills/chant-k8s.md +1 -1
  205. package/dist/spec/parse.d.ts +27 -0
  206. package/dist/spec/parse.d.ts.map +1 -1
  207. package/dist/telemetry-release.d.ts +15 -0
  208. package/dist/telemetry-release.d.ts.map +1 -0
  209. package/dist/types/index.d.ts +5373 -972
  210. package/dist/variables.d.ts.map +1 -1
  211. package/package.json +4 -4
  212. package/src/codegen/declarations.test.ts +118 -0
  213. package/src/codegen/generate-crd-sources.test.ts +49 -0
  214. package/src/codegen/generate-typescript.ts +69 -4
  215. package/src/codegen/generate.ts +66 -18
  216. package/src/components/kubectl-apply.test.ts +87 -0
  217. package/src/components/kubectl-apply.ts +17 -1
  218. package/src/composites/catalog.ts +6 -0
  219. package/src/composites/gke-otel-collector.ts +6 -1
  220. package/src/composites/index.ts +1 -0
  221. package/src/composites/otel-collector-agent.ts +39 -2
  222. package/src/composites/otel-collector-gateway.test.ts +24 -1
  223. package/src/composites/otel-collector-gateway.ts +1 -1
  224. package/src/composites/otel-collector-node.test.ts +193 -0
  225. package/src/composites/otel-collector-node.ts +211 -0
  226. package/src/composites/otel-collector-rbac.test.ts +11 -0
  227. package/src/composites/otel-collector-rbac.ts +6 -4
  228. package/src/composites/otel-collector-shape.ts +9 -8
  229. package/src/composites/otel-collector.ts +16 -2
  230. package/src/crd/crd-sources.ts +28 -0
  231. package/src/crd/loader.test.ts +9 -1
  232. package/src/crd/loader.ts +26 -3
  233. package/src/crd/oci-chart.test.ts +149 -0
  234. package/src/crd/oci-chart.ts +178 -0
  235. package/src/crd/types.ts +5 -0
  236. package/src/generated/index.d.ts +5373 -972
  237. package/src/generated/index.ts +35 -0
  238. package/src/generated/lexicon-k8s.json +194 -17
  239. package/src/generated/operations.json +64 -0
  240. package/src/import/embedded-live.test.ts +46 -4
  241. package/src/import/embedded-roundtrip.test.ts +73 -7
  242. package/src/import/embedded-types.e2e.test.ts +3 -1
  243. package/src/import/embedded.test.ts +64 -0
  244. package/src/import/embedded.ts +31 -2
  245. package/src/import/generator.test.ts +19 -0
  246. package/src/import/generator.ts +20 -2
  247. package/src/import/testdata/embedded/README.md +4 -1
  248. package/src/import/testdata/embedded/alertmanager-configmap.yaml +91 -0
  249. package/src/import/testdata/embedded/fixtures.ts +18 -0
  250. package/src/import/testdata/embedded/grafana-operator-dashboard.yaml +363 -0
  251. package/src/import/testdata/embedded/grafana-v2-dashboard-configmap.yaml +851 -0
  252. package/src/lint/audit-catalog.ts +1 -0
  253. package/src/lint/post-synth/index.ts +2 -0
  254. package/src/lint/post-synth/otel-placement.test.ts +14 -0
  255. package/src/lint/post-synth/post-synth.test.ts +3 -3
  256. package/src/lint/post-synth/wk8602.ts +2 -2
  257. package/src/lint/post-synth/wk8604.ts +3 -2
  258. package/src/lint/post-synth/wk8605.test.ts +153 -0
  259. package/src/lint/post-synth/wk8605.ts +131 -0
  260. package/src/serializer-telemetry.test.ts +146 -0
  261. package/src/serializer.ts +75 -0
  262. package/src/skills/chant-k8s.md +1 -1
  263. package/src/spec/parse.test.ts +118 -0
  264. package/src/spec/parse.ts +250 -29
  265. package/src/telemetry-build.test.ts +79 -0
  266. package/src/telemetry-release.ts +93 -0
@@ -10,5 +10,5 @@ resource_type: K8s::Storagemigration::StorageVersionMigrationList
10
10
 
11
11
  ## Properties
12
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
13
+ - `items` (`{ metadata?: ObjectMeta; spec?: StorageVersionMigrationSpec }[]`, required): Items is the list of StorageVersionMigration
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -10,5 +10,5 @@ resource_type: K8s::Authorization::SubjectAccessReview
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec holds information about the request being evaluated
13
+ - `spec` (`SubjectAccessReviewSpec`, required): spec holds information about the request being evaluated
14
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
@@ -11,4 +11,4 @@ resource_type: K8s::Authentication::TokenRequest
11
11
  ## Properties
12
12
 
13
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
14
+ - `spec` (`TokenRequestSpec`, optional): spec holds information about the request being evaluated
@@ -10,5 +10,5 @@ resource_type: K8s::Authentication::TokenReview
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec holds information about the request being evaluated
13
+ - `spec` (`TokenReviewSpec`, required): spec holds information about the request being evaluated
14
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
@@ -11,4 +11,4 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicy
11
11
  ## Properties
12
12
 
13
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.
14
+ - `spec` (`ValidatingAdmissionPolicySpec`, optional): spec defines the desired behavior of the ValidatingAdmissionPolicy.
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyBinding
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
13
+ - `spec` (`ValidatingAdmissionPolicyBindingSpec`, required): spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
14
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.
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyBindingList
10
10
 
11
11
  ## Properties
12
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
13
+ - `items` (`{ metadata?: ObjectMeta; spec: ValidatingAdmissionPolicyBindingSpec }[]`, required): List of PolicyBinding.
14
+ - `metadata` (`ListMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingAdmissionPolicyList
10
10
 
11
11
  ## Properties
12
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
13
+ - `items` (`{ metadata?: ObjectMeta; spec?: ValidatingAdmissionPolicySpec }[]`, required): List of ValidatingAdmissionPolicy.
14
+ - `metadata` (`ListMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -11,4 +11,4 @@ resource_type: K8s::Admissionregistration::ValidatingWebhookConfiguration
11
11
  ## Properties
12
12
 
13
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.
14
+ - `webhooks` (`ValidatingWebhook[]`, optional): webhooks is a list of webhooks and the affected resources and operations.
@@ -10,5 +10,5 @@ resource_type: K8s::Admissionregistration::ValidatingWebhookConfigurationList
10
10
 
11
11
  ## Properties
12
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
13
+ - `items` (`{ metadata?: ObjectMeta; webhooks?: ValidatingWebhook[] }[]`, required): List of ValidatingWebhookConfiguration.
14
+ - `metadata` (`ListMeta`, optional): metadata is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::VolumeAttachment
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
13
+ - `spec` (`VolumeAttachmentSpec`, required): spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.
14
14
  - `metadata` (`ObjectMeta`, optional): Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::VolumeAttachmentList
10
10
 
11
11
  ## Properties
12
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
13
+ - `items` (`{ metadata?: ObjectMeta; spec: VolumeAttachmentSpec }[]`, required): items is the list of VolumeAttachments
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -10,5 +10,5 @@ resource_type: K8s::Storage::VolumeAttributesClassList
10
10
 
11
11
  ## Properties
12
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
13
+ - `items` (`{ driverName: string; metadata?: ObjectMeta; parameters?: Record<string, string> }[]`, required): items is the list of VolumeAttributesClass objects.
14
+ - `metadata` (`ListMeta`, optional): Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -1 +1 @@
1
- {"version":3,"file":"argo.d.ts","sourceRoot":"","sources":["../../../src/op/activities/argo.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,WAAW,mBAAmB;IAClC,6BAA6B;IAC7B,OAAO,EAAE,MAA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AC;IACnB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,mDAAmD;AACnD,MAAM,WAAW,aAAa;IAC5B,4FAA4F;IAC5F,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,2EAA2E;AAC3E,MAAM,MAAM,iBAAiB,GAAG,CAC9B,IAAI,EAAE,mBAAmB,EACzB,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,aAAa,CAAC,CAAC;AAE5B,4EAA4E;AAC5E,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,YAAY,OAAO,EAAE,MAAM,EAG1B;CACF;AA4CD,oEAAoE;AACpE,eAAO,MAAM,wBAAwB,EAAE,iBACkC,CAAC;AAE1E;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,mBAAmB,EACzB,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,GAAE,iBAA4C,GACpD,OAAO,CAAC,aAAa,CAAC,CAkCxB"}
@@ -29,10 +29,10 @@ export { waitForReady, defaultResourceFetcher, apiResourceFetcher, ReadinessFail
29
29
  export type { WaitForReadyArgs, ResourceFetcher, ReadinessSpec, ReadinessMatch, ConditionMatch, PathMatch, } from "./wait-for-ready.js";
30
30
  export { resolveClusterTarget, ClusterBindingMismatchError } from "@intentius/chant/kubectl-context";
31
31
  export type { ResolvedClusterTarget, K8sClusterProfile, K8sConfigShape } from "@intentius/chant/kubectl-context";
32
- export declare const receiptRead: (args: import("@intentius/chant/op/receipt-store").ReceiptReadArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op/receipt-store").ReceiptReadResult>;
33
- export declare const receiptWrite: (args: import("@intentius/chant/op/receipt-store").ReceiptWriteArgs, signal?: AbortSignal) => Promise<{
32
+ export declare const receiptRead: (args: import("@intentius/chant/op").ReceiptReadArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op").ReceiptReadResult>;
33
+ export declare const receiptWrite: (args: import("@intentius/chant/op").ReceiptWriteArgs, signal?: AbortSignal) => Promise<{
34
34
  written: true;
35
35
  receipt: string;
36
36
  }>;
37
- export declare const receiptStaleness: (args: import("@intentius/chant/op/receipt-store").ReceiptStalenessArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op/receipt-store").ReceiptStalenessResult>;
37
+ export declare const receiptStaleness: (args: import("@intentius/chant/op").ReceiptStalenessArgs, signal?: AbortSignal) => Promise<import("@intentius/chant/op").ReceiptStalenessResult>;
38
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/op/activities/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC/E,YAAY,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAMpG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACxF,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEpF,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,cAA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AwB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,GAAG,QAAQ,KAC9E,iBAGF,CAAC"}
1
+ {"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../../src/op/builders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,kFAAkF;AAClF,KAAK,QAAQ,GAAG;IAAE,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,aACb,MAAM,SACT,YAAY,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC,GAAG,QAAQ,KACjE,iBAGF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,SACjB,MAAM,QACN,MAAM,SACL,YAAY,CAAC,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,GAAG,QAAQ,KACtE,iBAGF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,SACjB,MAAM,QACN,MAAM,EAAE,SACP,YAAY,CAAC,IAAI,CAAC,wBAAwB,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,GAAG,QAAQ,KAC9E,iBAGF,CAAC"}
@@ -20,10 +20,10 @@
20
20
  */
21
21
 
22
22
  import type { PostSynthCheck, PostSynthContext, PostSynthDiagnostic } from "@intentius/chant/lint/post-synth";
23
+ import { canonicalTypeOf } from "@intentius/chant-lexicon-otel/model";
23
24
  import { docsToManifests } from "./k8s-helpers";
24
25
  import {
25
26
  collectorPlacements,
26
- componentType,
27
27
  describePlacement,
28
28
  hostOfEndpoint,
29
29
  pipelinesOf,
@@ -47,7 +47,7 @@ function unroutedExporters(sender: CollectorPlacement, services: Map<string, boo
47
47
  for (const id of pipeline.exporters) {
48
48
  if (seen.has(id)) continue;
49
49
  seen.add(id);
50
- const type = componentType(id);
50
+ const type = canonicalTypeOf("exporter", id);
51
51
  const cfg = record(sender.config.exporters?.[id]);
52
52
 
53
53
  if (type === "loadbalancing") {
@@ -7,9 +7,10 @@
7
7
  * otel lexicon's config checks never see a config that lives in the k8s output
8
8
  * (chant #2930). This check runs them there: every ConfigMap data value that
9
9
  * parses as a collector config (a `service.pipelines` map) goes through the
10
- * otel lexicon's `validateCollectorConfig`.
10
+ * otel lexicon's `validateCollectorConfig`, and through `attributionIssues`
11
+ * (OTEL118) when the build stamps telemetry attribution.
11
12
  *
12
- * Findings keep the otel rule ids (OTEL101-OTEL106, OTEL112-OTEL117, and any config
13
+ * Findings keep the otel rule ids (OTEL101-OTEL106, OTEL112-OTEL127, and any config
13
14
  * check the otel lexicon adds later), so `lint.rules` and suppressions name
14
15
  * one id wherever the config lives. Each message names the ConfigMap's
15
16
  * namespace, name and key. Needs only the k8s lexicon in the project.
@@ -0,0 +1,131 @@
1
+ /**
2
+ * WK8605: a collector config reads the node, and its workload doesn't give it the node
3
+ *
4
+ * `k8sattributes` filtering to its node by `filter.node_from_env_var`, and
5
+ * `kubeletstats` addressing the kubelet by `${env:K8S_NODE_NAME}`, need that
6
+ * variable set in the pod; unset, the filter matches no pod and the kubelet
7
+ * address doesn't resolve. `hostmetrics` with `root_path` needs the host root
8
+ * mounted there, and `filelog` needs the directories it reads mounted from
9
+ * the host. None of this fails at startup: the collector runs and reports
10
+ * the container instead of the node, or nothing.
11
+ *
12
+ * What a config needs is worked out by `collectorNodeAccess`, the function
13
+ * `OtelCollector` uses to add it (chant #3103), so the composite's own
14
+ * output passes and this fires on hand-written workloads. Only the
15
+ * containers that pass `--config` count (every container when none does). A variable
16
+ * counts as set whatever its source; a mount counts when a hostPath volume
17
+ * covers the path. Whether the container may read root-owned log files is
18
+ * not checked, since that depends on the runtime. One build root at a time
19
+ * (chant #1939).
20
+ */
21
+
22
+ import type { PostSynthCheck, PostSynthContext, PostSynthDiagnostic } from "@intentius/chant/lint/post-synth";
23
+ import { docsToManifests, extractContainers, extractPodSpec, type K8sContainer, type K8sManifest } from "./k8s-helpers";
24
+ import { collectorPlacements, describePlacement } from "./otel-placement-helpers";
25
+ import { collectorNodeAccess, type NodeHostMount } from "../../composites/otel-collector-node";
26
+
27
+ function isRecord(v: unknown): v is Record<string, unknown> {
28
+ return typeof v === "object" && v !== null && !Array.isArray(v);
29
+ }
30
+
31
+ function within(path: string, dir: string): boolean {
32
+ const d = dir.replace(/\/+$/, "");
33
+ return d === "" || path === d || path.startsWith(`${d}/`);
34
+ }
35
+
36
+ /**
37
+ * The containers that run a collector: those passing `--config`, or every
38
+ * container when none does. A sidecar's variables and mounts don't count.
39
+ */
40
+ function collectorContainers(workload: K8sManifest): K8sContainer[] {
41
+ const all = extractContainers(workload);
42
+ const withConfig = all.filter((c) =>
43
+ [...(Array.isArray(c.command) ? c.command : []), ...(Array.isArray(c.args) ? c.args : [])].some(
44
+ (a) => typeof a === "string" && (a === "--config" || a.startsWith("--config=")),
45
+ ),
46
+ );
47
+ return withConfig.length > 0 ? withConfig : all;
48
+ }
49
+
50
+ /** Each container mount backed by a hostPath volume, as [host path, container path]. */
51
+ function hostMounts(workload: K8sManifest, containers: K8sContainer[]): Array<[string, string]> {
52
+ const pod = extractPodSpec(workload);
53
+ const hostPaths = new Map<string, string>();
54
+ for (const v of Array.isArray(pod?.volumes) ? pod.volumes : []) {
55
+ if (isRecord(v) && typeof v.name === "string" && isRecord(v.hostPath) && typeof v.hostPath.path === "string") {
56
+ hostPaths.set(v.name, v.hostPath.path);
57
+ }
58
+ }
59
+ const out: Array<[string, string]> = [];
60
+ for (const c of containers) {
61
+ for (const m of Array.isArray(c.volumeMounts) ? c.volumeMounts : []) {
62
+ if (!isRecord(m) || typeof m.name !== "string" || typeof m.mountPath !== "string") continue;
63
+ const host = hostPaths.get(m.name);
64
+ if (host !== undefined) out.push([host.replace(/\/+$/, "") || "/", m.mountPath.replace(/\/+$/, "") || "/"]);
65
+ }
66
+ }
67
+ return out;
68
+ }
69
+
70
+ /** Whether some hostPath mount gives the container the host path a requirement names, at its path. */
71
+ function covered(need: NodeHostMount, mounts: Array<[string, string]>): boolean {
72
+ return mounts.some(([host, path]) => {
73
+ // hostmetrics takes the host root or parts of it anywhere at or under root_path.
74
+ if (need.partial && within(path, need.mountPath)) {
75
+ const rel = path.slice(need.mountPath.length);
76
+ return host === (rel || "/");
77
+ }
78
+ if (!within(need.mountPath, path)) return false;
79
+ const rel = need.mountPath.slice(path === "/" ? 0 : path.length);
80
+ const expected = `${host === "/" ? "" : host}${rel}` || "/";
81
+ return expected === need.hostPath;
82
+ });
83
+ }
84
+
85
+ function envNames(containers: K8sContainer[]): Set<string> {
86
+ const names = new Set<string>();
87
+ for (const c of containers) {
88
+ for (const e of Array.isArray(c.env) ? c.env : []) {
89
+ if (isRecord(e) && typeof e.name === "string") names.add(e.name);
90
+ }
91
+ }
92
+ return names;
93
+ }
94
+
95
+ export const wk8605: PostSynthCheck = {
96
+ id: "WK8605",
97
+ description:
98
+ "OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set the node name variable or mount the host paths. Sees one build root at a time (chant #1939).",
99
+
100
+ check(ctx: PostSynthContext): PostSynthDiagnostic[] {
101
+ const diagnostics: PostSynthDiagnostic[] = [];
102
+ for (const p of collectorPlacements(docsToManifests(ctx))) {
103
+ const need = collectorNodeAccess(p.config);
104
+ if (need.env.length === 0 && need.mounts.length === 0) continue;
105
+
106
+ const containers = collectorContainers(p.workload);
107
+ const env = envNames(containers);
108
+ const mounts = hostMounts(p.workload, containers);
109
+ const gaps: string[] = [];
110
+ for (const v of need.env) {
111
+ if (!env.has(v.name)) gaps.push(`no ${v.name} variable (set it from ${v.valueFrom.fieldRef.fieldPath} with the downward API)`);
112
+ }
113
+ for (const m of need.mounts) {
114
+ if (!covered(m, mounts)) gaps.push(`${m.component} reads host ${m.hostPath} at ${m.mountPath}, which no hostPath volume mounts`);
115
+ }
116
+ if (gaps.length === 0) continue;
117
+
118
+ diagnostics.push({
119
+ checkId: "WK8605",
120
+ severity: "warning",
121
+ message:
122
+ `${describePlacement(p)} runs a collector config that reads the node (ConfigMap ${p.configMap}, ${p.key}), but: ${gaps.join("; ")}. ` +
123
+ `Without them the collector reports on its own container, or nothing. OtelCollector adds these from the config; ` +
124
+ `in a hand-written workload, add them read-only.`,
125
+ entity: p.name,
126
+ lexicon: "k8s",
127
+ });
128
+ }
129
+ return diagnostics;
130
+ },
131
+ };
@@ -5,8 +5,5 @@
5
5
  * apiVersion, kind, metadata, and spec structure.
6
6
  */
7
7
  import type { Serializer } from "@intentius/chant/serializer";
8
- /**
9
- * Kubernetes YAML serializer implementation.
10
- */
11
8
  export declare const k8sSerializer: Serializer;
12
9
  //# sourceMappingURL=serializer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../src/serializer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,UAAU,EAAsC,MAAM,6BAA6B,CAAC;AAiSlG;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,UAkO3B,CAAC"}
1
+ {"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../src/serializer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,UAAU,EAAsC,MAAM,6BAA6B,CAAC;AA6WlG,eAAO,MAAM,aAAa,EAAE,UAoO3B,CAAC"}
@@ -171,7 +171,7 @@ Composites are higher-level functions that produce multiple coordinated K8s reso
171
171
  | Multi-host TLS Ingress (cert-manager) | **SecureIngress** | Ingress + optional Certificate |
172
172
  | HPA metrics provider | **MetricsServer** | Deployment + Service + RBAC + APIService |
173
173
  | CockroachDB cluster | **CockroachDbCluster** | StatefulSet + Services + PVCs + RBAC + optional CertificateRequests |
174
- | OpenTelemetry agent on every node | **OtelCollector** | DaemonSet + node-local Service + RBAC + ConfigMap |
174
+ | OpenTelemetry agent on every node | **OtelCollector** | DaemonSet + node-local Service + RBAC + ConfigMap; a node-reading config (otel's `NodeAgent`) also gets the node name variable and read-only host mounts |
175
175
  | OpenTelemetry gateway tier | **OtelCollectorGateway** | Deployment + ClusterIP and headless Services + PDB + ConfigMap; point agents at it with `gatewayExporter(gateway, { loadBalance: true })` |
176
176
 
177
177
  ### Decision Tree — AWS (EKS) Composites
@@ -26,6 +26,27 @@ export interface ParsedPropertyType {
26
26
  defType: string;
27
27
  properties: ParsedProperty[];
28
28
  }
29
+ /**
30
+ * A named OpenAPI object definition emitted as a declaration-only interface
31
+ * in the `.d.ts` (chant #3093): `DeploymentSpec`, `ServiceSpec`, `JobSpec`
32
+ * and every other object definition a resource reaches. Unlike the
33
+ * {@link PROPERTY_TYPE_DEFS} property types it has no runtime constructor and
34
+ * no registry entry; authors write it as an object literal.
35
+ */
36
+ export interface ParsedDefinitionType {
37
+ /** TypeScript name, e.g. `DeploymentSpec` or `FlowcontrolSubject`. */
38
+ name: string;
39
+ /** The definition key, e.g. `io.k8s.api.apps.v1.DeploymentSpec`. */
40
+ defKey: string;
41
+ description?: string;
42
+ properties: ParsedProperty[];
43
+ }
44
+ /** Everything one swagger document yields: resources and property types, plus the declaration-only interfaces. */
45
+ export interface K8sSwaggerParse {
46
+ results: K8sParseResult[];
47
+ /** Sorted by name. */
48
+ definitionTypes: ParsedDefinitionType[];
49
+ }
29
50
  export interface ParsedEnum {
30
51
  name: string;
31
52
  values: string[];
@@ -116,6 +137,12 @@ type SwaggerPathItem = Record<string, SwaggerOperation | unknown>;
116
137
  * Returns one result per top-level resource identified by x-kubernetes-group-version-kind.
117
138
  */
118
139
  export declare function parseK8sSwagger(data: string | Buffer): K8sParseResult[];
140
+ /**
141
+ * Parse the swagger document into resource and property-type results, and the
142
+ * declaration-only interfaces for every other object definition a resource
143
+ * reaches (chant #3093).
144
+ */
145
+ export declare function parseK8sSwaggerTypes(data: string | Buffer): K8sSwaggerParse;
119
146
  /** Stable key for a GVK, used to join the `paths` pass onto the `definitions` pass. */
120
147
  /**
121
148
  * Every `(property name, list-map keys)` pair the spec declares, across ALL
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/spec/parse.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAUhF,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAEpC,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,EAAE,mBAAmB,CAAC;IACjC,4GAA4G;IAC5G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6HAA6H;IAC7H,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,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,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,cAAc,EAAE,CAEvE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAgE3E;AAsKD,uFAAuF;AACvF;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAapF;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,gBAAgB,GAAG,MAAM,CAEpD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,SAAS,GAAG,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAqChH;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,gBAAgB,GAAG,MAAM,CAG3D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,gBAAgB,GAAG,MAAM,CAK7D;AAyPD;;GAEG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGrD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGvD"}
@@ -0,0 +1,15 @@
1
+ /** Where each workload kind keeps its pod spec. */
2
+ export declare const POD_SPEC_PATHS: Record<string, readonly string[]>;
3
+ type Obj = Record<string, unknown>;
4
+ /** A workload's pod spec, or undefined for anything else. */
5
+ export declare function podSpecOf(manifest: Obj): Obj | undefined;
6
+ /** The env entry that reads the release attributes from the pod annotation. */
7
+ export declare function releaseAttributesEnv(): Obj;
8
+ /**
9
+ * Set the release-attributes annotation on the pod template (or the Pod) of
10
+ * every stamped workload in `documents`, in place, and return how many it
11
+ * set. A workload the build did not stamp is left alone.
12
+ */
13
+ export declare function annotateRelease(documents: Obj[], suffix: string): number;
14
+ export {};
15
+ //# sourceMappingURL=telemetry-release.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry-release.d.ts","sourceRoot":"","sources":["../src/telemetry-release.ts"],"names":[],"mappings":"AAmBA,mDAAmD;AACnD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAQ5D,CAAC;AAKF,KAAK,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAenC,6DAA6D;AAC7D,wBAAgB,SAAS,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS,CAKxD;AAED,+EAA+E;AAC/E,wBAAgB,oBAAoB,IAAI,GAAG,CAK1C;AAWD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAcxE"}