@intentius/chant-lexicon-k8s 0.41.20 → 0.44.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 (365) hide show
  1. package/dist/api/classify.d.ts.map +1 -1
  2. package/dist/api/connect.d.ts.map +1 -1
  3. package/dist/codegen/docs.d.ts.map +1 -1
  4. package/dist/components/argo-app.d.ts +104 -0
  5. package/dist/components/argo-app.d.ts.map +1 -0
  6. package/dist/components/builders.d.ts +8 -0
  7. package/dist/components/builders.d.ts.map +1 -1
  8. package/dist/components/capability-plugin.d.ts +1 -0
  9. package/dist/components/capability-plugin.d.ts.map +1 -1
  10. package/dist/components/flux-reconcile.d.ts +84 -0
  11. package/dist/components/flux-reconcile.d.ts.map +1 -0
  12. package/dist/components/index.d.ts +2 -0
  13. package/dist/components/index.d.ts.map +1 -1
  14. package/dist/components/kustomize-apply.d.ts +29 -7
  15. package/dist/components/kustomize-apply.d.ts.map +1 -1
  16. package/dist/composites/flux-app.d.ts +132 -0
  17. package/dist/composites/flux-app.d.ts.map +1 -0
  18. package/dist/composites/index.d.ts +2 -0
  19. package/dist/composites/index.d.ts.map +1 -1
  20. package/dist/config-schema.d.ts +3 -0
  21. package/dist/config-schema.d.ts.map +1 -1
  22. package/dist/config.d.ts +32 -5
  23. package/dist/config.d.ts.map +1 -1
  24. package/dist/crd/crd-sources.d.ts.map +1 -1
  25. package/dist/crd/parser.d.ts.map +1 -1
  26. package/dist/deep-observe-hooks.d.ts +8 -0
  27. package/dist/deep-observe-hooks.d.ts.map +1 -1
  28. package/dist/describe-resources.d.ts +10 -8
  29. package/dist/describe-resources.d.ts.map +1 -1
  30. package/dist/generated/index.d.ts +15 -4
  31. package/dist/generated/index.d.ts.map +1 -1
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/integrity.json +10 -6
  35. package/dist/kube/connect.d.ts +5 -4
  36. package/dist/kube/connect.d.ts.map +1 -1
  37. package/dist/kube/get.d.ts +4 -4
  38. package/dist/kustomize/render.d.ts +15 -0
  39. package/dist/kustomize/render.d.ts.map +1 -0
  40. package/dist/kustomize/rendered-entity.d.ts +39 -0
  41. package/dist/kustomize/rendered-entity.d.ts.map +1 -0
  42. package/dist/kustomize/root.d.ts +19 -0
  43. package/dist/kustomize/root.d.ts.map +1 -0
  44. package/dist/lint/audit-catalog.d.ts.map +1 -1
  45. package/dist/lint/post-synth/argo-helpers.d.ts +2 -0
  46. package/dist/lint/post-synth/argo-helpers.d.ts.map +1 -1
  47. package/dist/lint/post-synth/flux002.d.ts +14 -0
  48. package/dist/lint/post-synth/flux002.d.ts.map +1 -0
  49. package/dist/lint/post-synth/flux003.d.ts +17 -0
  50. package/dist/lint/post-synth/flux003.d.ts.map +1 -0
  51. package/dist/lint/post-synth/index.d.ts.map +1 -1
  52. package/dist/lint/rules/flux-source-ref-pin.d.ts +16 -0
  53. package/dist/lint/rules/flux-source-ref-pin.d.ts.map +1 -0
  54. package/dist/manifest.json +1 -1
  55. package/dist/meta.json +92 -16
  56. package/dist/okf/index.md +256 -0
  57. package/dist/okf/rules/ARGO001.md +16 -0
  58. package/dist/okf/rules/ARGO002.md +16 -0
  59. package/dist/okf/rules/ARGO003.md +15 -0
  60. package/dist/okf/rules/ARGO004.md +17 -0
  61. package/dist/okf/rules/ARGO005.md +15 -0
  62. package/dist/okf/rules/FLUX001.md +17 -0
  63. package/dist/okf/rules/FLUX002.md +19 -0
  64. package/dist/okf/rules/FLUX003.md +15 -0
  65. package/dist/okf/rules/WK8001.md +16 -0
  66. package/dist/okf/rules/WK8002.md +20 -0
  67. package/dist/okf/rules/WK8003.md +19 -0
  68. package/dist/okf/rules/WK8005.md +11 -0
  69. package/dist/okf/rules/WK8006.md +11 -0
  70. package/dist/okf/rules/WK8041.md +11 -0
  71. package/dist/okf/rules/WK8042.md +11 -0
  72. package/dist/okf/rules/WK8101.md +11 -0
  73. package/dist/okf/rules/WK8102.md +11 -0
  74. package/dist/okf/rules/WK8103.md +11 -0
  75. package/dist/okf/rules/WK8104.md +15 -0
  76. package/dist/okf/rules/WK8105.md +11 -0
  77. package/dist/okf/rules/WK8201.md +11 -0
  78. package/dist/okf/rules/WK8202.md +11 -0
  79. package/dist/okf/rules/WK8203.md +11 -0
  80. package/dist/okf/rules/WK8204.md +11 -0
  81. package/dist/okf/rules/WK8205.md +11 -0
  82. package/dist/okf/rules/WK8207.md +11 -0
  83. package/dist/okf/rules/WK8208.md +11 -0
  84. package/dist/okf/rules/WK8209.md +11 -0
  85. package/dist/okf/rules/WK8301.md +16 -0
  86. package/dist/okf/rules/WK8302.md +11 -0
  87. package/dist/okf/rules/WK8303.md +15 -0
  88. package/dist/okf/rules/WK8304.md +15 -0
  89. package/dist/okf/rules/WK8305.md +15 -0
  90. package/dist/okf/rules/WK8306.md +11 -0
  91. package/dist/okf/rules/WK8401.md +15 -0
  92. package/dist/okf/rules/WK8402.md +15 -0
  93. package/dist/okf/rules/WK8403.md +15 -0
  94. package/dist/okf/types/APIGroup.md +16 -0
  95. package/dist/okf/types/APIGroupList.md +13 -0
  96. package/dist/okf/types/APIResourceList.md +14 -0
  97. package/dist/okf/types/APIService.md +14 -0
  98. package/dist/okf/types/APIServiceList.md +14 -0
  99. package/dist/okf/types/APIVersions.md +14 -0
  100. package/dist/okf/types/Addon.md +14 -0
  101. package/dist/okf/types/Alert.md +14 -0
  102. package/dist/okf/types/AppProject.md +19 -0
  103. package/dist/okf/types/Application.md +23 -0
  104. package/dist/okf/types/ApplicationSet.md +18 -0
  105. package/dist/okf/types/Backup.md +14 -0
  106. package/dist/okf/types/BatchJob.md +14 -0
  107. package/dist/okf/types/Binding.md +14 -0
  108. package/dist/okf/types/Bucket.md +18 -0
  109. package/dist/okf/types/CM.md +16 -0
  110. package/dist/okf/types/CSIDriver.md +14 -0
  111. package/dist/okf/types/CSIDriverList.md +14 -0
  112. package/dist/okf/types/CSINode.md +14 -0
  113. package/dist/okf/types/CSINodeList.md +14 -0
  114. package/dist/okf/types/CSIStorageCapacity.md +17 -0
  115. package/dist/okf/types/CSIStorageCapacityList.md +14 -0
  116. package/dist/okf/types/Certificate.md +18 -0
  117. package/dist/okf/types/CertificateRequest.md +14 -0
  118. package/dist/okf/types/CertificateSigningRequest.md +14 -0
  119. package/dist/okf/types/CertificateSigningRequestList.md +14 -0
  120. package/dist/okf/types/Challenge.md +14 -0
  121. package/dist/okf/types/Cluster.md +14 -0
  122. package/dist/okf/types/ClusterIssuer.md +14 -0
  123. package/dist/okf/types/ClusterRole.md +15 -0
  124. package/dist/okf/types/ClusterRoleBinding.md +15 -0
  125. package/dist/okf/types/ClusterRoleBindingList.md +14 -0
  126. package/dist/okf/types/ClusterRoleList.md +14 -0
  127. package/dist/okf/types/ClusterTrustBundle.md +14 -0
  128. package/dist/okf/types/ClusterTrustBundleList.md +14 -0
  129. package/dist/okf/types/ComponentStatus.md +14 -0
  130. package/dist/okf/types/ComponentStatusList.md +14 -0
  131. package/dist/okf/types/ConfigMapList.md +14 -0
  132. package/dist/okf/types/ControllerRevision.md +15 -0
  133. package/dist/okf/types/ControllerRevisionList.md +14 -0
  134. package/dist/okf/types/CoreEventList.md +14 -0
  135. package/dist/okf/types/CrdbCluster.md +14 -0
  136. package/dist/okf/types/CronJob.md +20 -0
  137. package/dist/okf/types/CronJobList.md +14 -0
  138. package/dist/okf/types/CustomResourceDefinition.md +14 -0
  139. package/dist/okf/types/CustomResourceDefinitionList.md +14 -0
  140. package/dist/okf/types/DaemonSet.md +19 -0
  141. package/dist/okf/types/DaemonSetList.md +14 -0
  142. package/dist/okf/types/DeleteOptions.md +18 -0
  143. package/dist/okf/types/Deploy.md +14 -0
  144. package/dist/okf/types/DeploymentList.md +14 -0
  145. package/dist/okf/types/DeviceClass.md +14 -0
  146. package/dist/okf/types/DeviceClassList.md +14 -0
  147. package/dist/okf/types/DeviceTaintRule.md +14 -0
  148. package/dist/okf/types/DeviceTaintRuleList.md +14 -0
  149. package/dist/okf/types/EndpointSlice.md +16 -0
  150. package/dist/okf/types/EndpointSliceList.md +14 -0
  151. package/dist/okf/types/Endpoints.md +14 -0
  152. package/dist/okf/types/EndpointsList.md +14 -0
  153. package/dist/okf/types/Event.md +27 -0
  154. package/dist/okf/types/EventsEvent.md +27 -0
  155. package/dist/okf/types/EventsEventList.md +14 -0
  156. package/dist/okf/types/Eviction.md +14 -0
  157. package/dist/okf/types/FlowSchema.md +14 -0
  158. package/dist/okf/types/FlowSchemaList.md +14 -0
  159. package/dist/okf/types/FluxHelmChart.md +14 -0
  160. package/dist/okf/types/FluxInstance.md +14 -0
  161. package/dist/okf/types/FluxReport.md +14 -0
  162. package/dist/okf/types/GRPCRoute.md +14 -0
  163. package/dist/okf/types/Gateway.md +14 -0
  164. package/dist/okf/types/GatewayClass.md +14 -0
  165. package/dist/okf/types/GitRepository.md +19 -0
  166. package/dist/okf/types/HTTPRoute.md +14 -0
  167. package/dist/okf/types/HelmChartConfig.md +14 -0
  168. package/dist/okf/types/HelmRelease.md +14 -0
  169. package/dist/okf/types/HelmRepository.md +14 -0
  170. package/dist/okf/types/HorizontalPodAutoscaler.md +14 -0
  171. package/dist/okf/types/HorizontalPodAutoscalerList.md +14 -0
  172. package/dist/okf/types/IPAddress.md +14 -0
  173. package/dist/okf/types/IPAddressList.md +14 -0
  174. package/dist/okf/types/ImagePolicy.md +14 -0
  175. package/dist/okf/types/ImageRepository.md +14 -0
  176. package/dist/okf/types/ImageUpdateAutomation.md +14 -0
  177. package/dist/okf/types/InfisicalDynamicSecret.md +14 -0
  178. package/dist/okf/types/InfisicalPushSecret.md +14 -0
  179. package/dist/okf/types/InfisicalSecret.md +14 -0
  180. package/dist/okf/types/Ing.md +14 -0
  181. package/dist/okf/types/IngressClass.md +14 -0
  182. package/dist/okf/types/IngressClassList.md +14 -0
  183. package/dist/okf/types/IngressList.md +14 -0
  184. package/dist/okf/types/IngressRoute.md +14 -0
  185. package/dist/okf/types/IngressRouteTCP.md +14 -0
  186. package/dist/okf/types/IngressRouteUDP.md +14 -0
  187. package/dist/okf/types/Issuer.md +14 -0
  188. package/dist/okf/types/JobList.md +14 -0
  189. package/dist/okf/types/K3sHelmChart.md +14 -0
  190. package/dist/okf/types/Kustomization.md +20 -0
  191. package/dist/okf/types/Lease.md +14 -0
  192. package/dist/okf/types/LeaseCandidate.md +14 -0
  193. package/dist/okf/types/LeaseCandidateList.md +14 -0
  194. package/dist/okf/types/LeaseList.md +14 -0
  195. package/dist/okf/types/LimitRange.md +14 -0
  196. package/dist/okf/types/LimitRangeList.md +14 -0
  197. package/dist/okf/types/LocalSubjectAccessReview.md +14 -0
  198. package/dist/okf/types/MicroVM.md +14 -0
  199. package/dist/okf/types/MicroVMClass.md +14 -0
  200. package/dist/okf/types/MicroVMImage.md +14 -0
  201. package/dist/okf/types/MicroVMNetwork.md +14 -0
  202. package/dist/okf/types/MicroVMReplicaSet.md +14 -0
  203. package/dist/okf/types/Middleware.md +14 -0
  204. package/dist/okf/types/MiddlewareTCP.md +14 -0
  205. package/dist/okf/types/MutatingAdmissionPolicy.md +14 -0
  206. package/dist/okf/types/MutatingAdmissionPolicyBinding.md +14 -0
  207. package/dist/okf/types/MutatingAdmissionPolicyBindingList.md +14 -0
  208. package/dist/okf/types/MutatingAdmissionPolicyList.md +14 -0
  209. package/dist/okf/types/MutatingWebhookConfiguration.md +14 -0
  210. package/dist/okf/types/MutatingWebhookConfigurationList.md +14 -0
  211. package/dist/okf/types/Namespace.md +19 -0
  212. package/dist/okf/types/NamespaceList.md +14 -0
  213. package/dist/okf/types/NetPol.md +14 -0
  214. package/dist/okf/types/NetworkPolicyList.md +14 -0
  215. package/dist/okf/types/Node.md +22 -0
  216. package/dist/okf/types/NodeList.md +14 -0
  217. package/dist/okf/types/OCIRepository.md +18 -0
  218. package/dist/okf/types/ObjectStore.md +14 -0
  219. package/dist/okf/types/Order.md +14 -0
  220. package/dist/okf/types/PDB.md +18 -0
  221. package/dist/okf/types/PersistentVolume.md +14 -0
  222. package/dist/okf/types/PersistentVolumeClaim.md +14 -0
  223. package/dist/okf/types/PersistentVolumeClaimList.md +14 -0
  224. package/dist/okf/types/PersistentVolumeList.md +14 -0
  225. package/dist/okf/types/Pod.md +18 -0
  226. package/dist/okf/types/PodCertificateRequest.md +14 -0
  227. package/dist/okf/types/PodCertificateRequestList.md +14 -0
  228. package/dist/okf/types/PodDisruptionBudgetList.md +14 -0
  229. package/dist/okf/types/PodList.md +14 -0
  230. package/dist/okf/types/PodTemplate.md +14 -0
  231. package/dist/okf/types/PodTemplateList.md +14 -0
  232. package/dist/okf/types/Pooler.md +14 -0
  233. package/dist/okf/types/PriorityClass.md +17 -0
  234. package/dist/okf/types/PriorityClassList.md +14 -0
  235. package/dist/okf/types/PriorityLevelConfiguration.md +14 -0
  236. package/dist/okf/types/PriorityLevelConfigurationList.md +14 -0
  237. package/dist/okf/types/PrometheusRule.md +14 -0
  238. package/dist/okf/types/Provider.md +14 -0
  239. package/dist/okf/types/RayCluster.md +20 -0
  240. package/dist/okf/types/RayJob.md +14 -0
  241. package/dist/okf/types/RayService.md +14 -0
  242. package/dist/okf/types/Receiver.md +14 -0
  243. package/dist/okf/types/ReferenceGrant.md +14 -0
  244. package/dist/okf/types/ReplicaSet.md +19 -0
  245. package/dist/okf/types/ReplicaSetList.md +14 -0
  246. package/dist/okf/types/ReplicationController.md +14 -0
  247. package/dist/okf/types/ReplicationControllerList.md +14 -0
  248. package/dist/okf/types/ResourceClaim.md +14 -0
  249. package/dist/okf/types/ResourceClaimList.md +14 -0
  250. package/dist/okf/types/ResourceClaimTemplate.md +14 -0
  251. package/dist/okf/types/ResourceClaimTemplateList.md +14 -0
  252. package/dist/okf/types/ResourceQuota.md +14 -0
  253. package/dist/okf/types/ResourceQuotaList.md +14 -0
  254. package/dist/okf/types/ResourceSet.md +14 -0
  255. package/dist/okf/types/ResourceSetInputProvider.md +14 -0
  256. package/dist/okf/types/ResourceSlice.md +14 -0
  257. package/dist/okf/types/ResourceSliceList.md +14 -0
  258. package/dist/okf/types/Role.md +14 -0
  259. package/dist/okf/types/RoleBinding.md +15 -0
  260. package/dist/okf/types/RoleBindingList.md +14 -0
  261. package/dist/okf/types/RoleList.md +14 -0
  262. package/dist/okf/types/RuntimeClass.md +16 -0
  263. package/dist/okf/types/RuntimeClassList.md +14 -0
  264. package/dist/okf/types/SA.md +16 -0
  265. package/dist/okf/types/Scale.md +14 -0
  266. package/dist/okf/types/ScheduledBackup.md +14 -0
  267. package/dist/okf/types/Sec.md +17 -0
  268. package/dist/okf/types/SecretList.md +14 -0
  269. package/dist/okf/types/SelfSubjectAccessReview.md +14 -0
  270. package/dist/okf/types/SelfSubjectReview.md +13 -0
  271. package/dist/okf/types/SelfSubjectRulesReview.md +14 -0
  272. package/dist/okf/types/ServersTransport.md +14 -0
  273. package/dist/okf/types/ServersTransportTCP.md +14 -0
  274. package/dist/okf/types/Service.md +20 -0
  275. package/dist/okf/types/ServiceAccountList.md +14 -0
  276. package/dist/okf/types/ServiceCIDR.md +14 -0
  277. package/dist/okf/types/ServiceCIDRList.md +14 -0
  278. package/dist/okf/types/ServiceList.md +14 -0
  279. package/dist/okf/types/ServiceMonitor.md +14 -0
  280. package/dist/okf/types/StatefulSet.md +19 -0
  281. package/dist/okf/types/StatefulSetList.md +14 -0
  282. package/dist/okf/types/Status.md +17 -0
  283. package/dist/okf/types/StorageClass.md +20 -0
  284. package/dist/okf/types/StorageClassList.md +14 -0
  285. package/dist/okf/types/StorageVersionMigration.md +14 -0
  286. package/dist/okf/types/StorageVersionMigrationList.md +14 -0
  287. package/dist/okf/types/SubjectAccessReview.md +14 -0
  288. package/dist/okf/types/TLSOption.md +14 -0
  289. package/dist/okf/types/TLSStore.md +14 -0
  290. package/dist/okf/types/TokenRequest.md +14 -0
  291. package/dist/okf/types/TokenReview.md +14 -0
  292. package/dist/okf/types/TraefikService.md +14 -0
  293. package/dist/okf/types/ValidatingAdmissionPolicy.md +14 -0
  294. package/dist/okf/types/ValidatingAdmissionPolicyBinding.md +14 -0
  295. package/dist/okf/types/ValidatingAdmissionPolicyBindingList.md +14 -0
  296. package/dist/okf/types/ValidatingAdmissionPolicyList.md +14 -0
  297. package/dist/okf/types/ValidatingWebhookConfiguration.md +14 -0
  298. package/dist/okf/types/ValidatingWebhookConfigurationList.md +14 -0
  299. package/dist/okf/types/VolumeAttachment.md +14 -0
  300. package/dist/okf/types/VolumeAttachmentList.md +14 -0
  301. package/dist/okf/types/VolumeAttributesClass.md +15 -0
  302. package/dist/okf/types/VolumeAttributesClassList.md +14 -0
  303. package/dist/okf/types/WatchEvent.md +14 -0
  304. package/dist/plugin.d.ts.map +1 -1
  305. package/dist/rules/argo-helpers.ts +2 -0
  306. package/dist/rules/flux-source-ref-pin.ts +52 -0
  307. package/dist/rules/flux002.ts +77 -0
  308. package/dist/rules/flux003.ts +75 -0
  309. package/dist/serializer.d.ts.map +1 -1
  310. package/dist/skills/chant-k8s-flux.md +162 -0
  311. package/dist/types/index.d.ts +41 -3
  312. package/dist/validate.d.ts.map +1 -1
  313. package/package.json +3 -3
  314. package/src/api/classify.test.ts +20 -0
  315. package/src/api/classify.ts +8 -1
  316. package/src/api/connect.ts +10 -0
  317. package/src/codegen/docs.ts +11 -0
  318. package/src/components/argo-app.test.ts +137 -0
  319. package/src/components/argo-app.ts +163 -0
  320. package/src/components/builders.ts +8 -0
  321. package/src/components/capability-plugin.ts +11 -1
  322. package/src/components/flux-reconcile.test.ts +145 -0
  323. package/src/components/flux-reconcile.ts +159 -0
  324. package/src/components/index.ts +13 -0
  325. package/src/components/kustomize-apply.ts +12 -41
  326. package/src/composites/composites.test.ts +122 -0
  327. package/src/composites/flux-app.ts +274 -0
  328. package/src/composites/index.ts +9 -0
  329. package/src/config-augmentation.test.ts +72 -0
  330. package/src/config-schema.ts +5 -0
  331. package/src/config.ts +33 -5
  332. package/src/crd/crd-sources.ts +37 -0
  333. package/src/crd/parser.ts +6 -0
  334. package/src/deep-observe-hooks.ts +60 -0
  335. package/src/deep-observe.test.ts +114 -0
  336. package/src/describe-resources.test.ts +215 -6
  337. package/src/describe-resources.ts +197 -118
  338. package/src/generated/index.d.ts +41 -3
  339. package/src/generated/index.ts +15 -4
  340. package/src/generated/lexicon-k8s.json +92 -16
  341. package/src/generated/operations.json +48 -0
  342. package/src/index.ts +4 -0
  343. package/src/kube/connect.ts +5 -4
  344. package/src/kube/get.ts +4 -4
  345. package/src/kustomize/render.ts +84 -0
  346. package/src/kustomize/rendered-entity.ts +72 -0
  347. package/src/kustomize/root.test.ts +268 -0
  348. package/src/kustomize/root.ts +109 -0
  349. package/src/lint/audit-catalog.ts +2 -0
  350. package/src/lint/post-synth/argo-helpers.ts +2 -0
  351. package/src/lint/post-synth/flux002.ts +77 -0
  352. package/src/lint/post-synth/flux003.ts +75 -0
  353. package/src/lint/post-synth/index.ts +4 -0
  354. package/src/lint/post-synth/post-synth.test.ts +132 -0
  355. package/src/lint/rules/flux-source-ref-pin.ts +52 -0
  356. package/src/lint/rules/rules.test.ts +51 -0
  357. package/src/plugin.test.ts +2 -0
  358. package/src/plugin.ts +47 -0
  359. package/src/serializer.ts +34 -4
  360. package/src/skills/chant-k8s-flux.md +162 -0
  361. package/src/testdata/kustomize-root/base/deployment.yaml +17 -0
  362. package/src/testdata/kustomize-root/base/kustomization.yaml +3 -0
  363. package/src/testdata/kustomize-root/base/service.yaml +9 -0
  364. package/src/testdata/kustomize-root/overlays/prod/kustomization.yaml +6 -0
  365. package/src/validate.ts +4 -0
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: SelfSubjectAccessReview
4
+ description: k8s resource type K8s::Authorization::SelfSubjectAccessReview
5
+ name: SelfSubjectAccessReview
6
+ lexicon: k8s
7
+ resource_type: K8s::Authorization::SelfSubjectAccessReview
8
+ ---
9
+ `K8s::Authorization::SelfSubjectAccessReview`, 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. user and groups must be empty
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,13 @@
1
+ ---
2
+ type: resource-type
3
+ title: SelfSubjectReview
4
+ description: k8s resource type K8s::Authentication::SelfSubjectReview
5
+ name: SelfSubjectReview
6
+ lexicon: k8s
7
+ resource_type: K8s::Authentication::SelfSubjectReview
8
+ ---
9
+ `K8s::Authentication::SelfSubjectReview`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): metadata is 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: SelfSubjectRulesReview
4
+ description: k8s resource type K8s::Authorization::SelfSubjectRulesReview
5
+ name: SelfSubjectRulesReview
6
+ lexicon: k8s
7
+ resource_type: K8s::Authorization::SelfSubjectRulesReview
8
+ ---
9
+ `K8s::Authorization::SelfSubjectRulesReview`, 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: ServersTransport
4
+ description: k8s resource type K8s::Traefik::ServersTransport
5
+ name: ServersTransport
6
+ lexicon: k8s
7
+ resource_type: K8s::Traefik::ServersTransport
8
+ ---
9
+ `K8s::Traefik::ServersTransport`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): ServersTransportSpec defines the desired state of a ServersTransport.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ServersTransportTCP
4
+ description: k8s resource type K8s::Traefik::ServersTransportTCP
5
+ name: ServersTransportTCP
6
+ lexicon: k8s
7
+ resource_type: K8s::Traefik::ServersTransportTCP
8
+ ---
9
+ `K8s::Traefik::ServersTransportTCP`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): ServersTransportTCPSpec defines the desired state of a ServersTransportTCP.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -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)
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAqC,MAAM,0BAA0B,CAAC;AAwBjG,eAAO,MAAM,SAAS,EAAE,aAynBvB,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAqC,MAAM,0BAA0B,CAAC;AA2BjG,eAAO,MAAM,SAAS,EAAE,aAqqBvB,CAAC"}
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * Shared helpers for the Argo post-synth checks (ARGO002, ARGO003, ARGO005).
3
+ * The generic manifest collectors (`allManifests`, `manifestsOfKind`) are
4
+ * shared by the Flux checks (FLUX002, FLUX003) too.
3
5
  *
4
6
  * Excluded from check auto-discovery by the "helper" filename filter.
5
7
  */
@@ -0,0 +1,52 @@
1
+ import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
2
+ import { findResourceLiterals, getNestedObject, getNestedString, getProp, lineCol } from "./argo-ast";
3
+ import * as ts from "typescript";
4
+
5
+ /**
6
+ * FLUX001: GitRepository must pin spec.ref
7
+ *
8
+ * A Flux `GitRepository` with no `spec.ref` falls back to the `master` branch,
9
+ * which on most repos no longer exists — the source stalls with a checkout
10
+ * error, and every Kustomization downstream of it stalls too. Real estates pin
11
+ * a branch (or tag) on every source; `FluxGitSource` always emits one. Flag
12
+ * hand-written `GitRepository` literals whose spec carries a `url` but no
13
+ * `ref`.
14
+ *
15
+ * Bad: new GitRepository({ spec: { url: "https://github.com/acme/infra" } })
16
+ * Good: new GitRepository({ spec: { url: "https://github.com/acme/infra", ref: { branch: "main" } } })
17
+ */
18
+
19
+ export const fluxSourceRefPinRule: LintRule = {
20
+ id: "FLUX001",
21
+ severity: "warning",
22
+ category: "correctness",
23
+ description:
24
+ "Flux GitRepository must pin spec.ref (branch, tag, semver, or commit) — the unset default is the master branch",
25
+
26
+ check(context: LintContext): LintDiagnostic[] {
27
+ const { sourceFile } = context;
28
+ const diagnostics: LintDiagnostic[] = [];
29
+
30
+ for (const { literal } of findResourceLiterals(sourceFile, new Set(["GitRepository"]))) {
31
+ const spec = getNestedObject(literal, ["spec"]);
32
+ // No spec object literal to inspect — leave it to other tooling.
33
+ if (!spec) continue;
34
+ if (getProp(spec, "ref") !== undefined) continue;
35
+
36
+ const anchor: ts.Node = spec;
37
+ const { line, column } = lineCol(sourceFile, anchor);
38
+ const name = getNestedString(literal, ["metadata", "name"]) ?? "(unnamed)";
39
+
40
+ diagnostics.push({
41
+ file: sourceFile.fileName,
42
+ line,
43
+ column,
44
+ ruleId: "FLUX001",
45
+ severity: "warning",
46
+ message: `GitRepository "${name}" has no spec.ref — Flux falls back to the master branch. Pin a branch, tag, semver range, or commit.`,
47
+ });
48
+ }
49
+
50
+ return diagnostics;
51
+ },
52
+ };