@intentius/chant-lexicon-k8s 0.124.97 → 0.124.99
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.
- package/dist/actions/apps.d.ts +0 -1
- package/dist/actions/batch.d.ts +0 -1
- package/dist/actions/core.d.ts +0 -1
- package/dist/actions/index.d.ts +0 -1
- package/dist/actions/networking.d.ts +0 -1
- package/dist/actions/rbac.d.ts +0 -1
- package/dist/api/classify.d.ts +0 -1
- package/dist/api/connect.d.ts +0 -1
- package/dist/api/fake-cluster.d.ts +0 -1
- package/dist/api/operation-surface.d.ts +0 -1
- package/dist/api/owner-chain.d.ts +0 -1
- package/dist/api/sweep-types.d.ts +0 -1
- package/dist/application-paths.d.ts +3 -0
- package/dist/application-paths.js +95 -0
- package/dist/application-set.d.ts +45 -0
- package/dist/application-set.js +303 -0
- package/dist/behaviour-kinds.d.ts +0 -1
- package/dist/cluster-secret.d.ts +35 -0
- package/dist/cluster-secret.js +55 -0
- package/dist/codegen/docs-cli.d.ts +0 -1
- package/dist/codegen/docs.d.ts +0 -1
- package/dist/codegen/generate-cli.d.ts +0 -1
- package/dist/codegen/generate-lexicon.d.ts +7 -1
- package/dist/codegen/generate-lexicon.js +2 -0
- package/dist/codegen/generate-list-map-keys.d.ts +0 -1
- package/dist/codegen/generate-operations.d.ts +0 -1
- package/dist/codegen/generate-typescript.d.ts +0 -1
- package/dist/codegen/generate.d.ts +0 -1
- package/dist/codegen/naming.d.ts +0 -1
- package/dist/codegen/package.d.ts +0 -1
- package/dist/codegen/patches.d.ts +0 -1
- package/dist/codegen/typecheck.d.ts +0 -1
- package/dist/codegen/versions.d.ts +0 -1
- package/dist/components/argo-app.d.ts +0 -1
- package/dist/components/builders.d.ts +0 -1
- package/dist/components/capability-plugin.d.ts +0 -1
- package/dist/components/flux-reconcile.d.ts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/kubectl-apply.d.ts +0 -1
- package/dist/components/kustomize-apply.d.ts +6 -1
- package/dist/components/kustomize-apply.js +1 -1
- package/dist/composites/adot-collector.d.ts +0 -1
- package/dist/composites/agic-ingress.d.ts +0 -1
- package/dist/composites/aks-external-dns-agent.d.ts +0 -1
- package/dist/composites/alb-ingress.d.ts +0 -1
- package/dist/composites/argo-app.d.ts +0 -1
- package/dist/composites/autoscaled-service.d.ts +0 -1
- package/dist/composites/azure-disk-storage-class.d.ts +0 -1
- package/dist/composites/azure-file-storage-class.d.ts +0 -1
- package/dist/composites/azure-monitor-collector.d.ts +0 -1
- package/dist/composites/batch-job.d.ts +0 -1
- package/dist/composites/catalog.d.ts +0 -1
- package/dist/composites/cockroachdb-cluster.d.ts +0 -1
- package/dist/composites/cockroachdb-region-stack.d.ts +0 -1
- package/dist/composites/config-connector-context.d.ts +0 -1
- package/dist/composites/configured-app.d.ts +0 -1
- package/dist/composites/cron-schedule.d.ts +0 -1
- package/dist/composites/cron-workload.d.ts +0 -1
- package/dist/composites/ebs-storage-class.d.ts +0 -1
- package/dist/composites/efs-storage-class.d.ts +0 -1
- package/dist/composites/external-dns-agent.d.ts +0 -1
- package/dist/composites/filestore-storage-class.d.ts +0 -1
- package/dist/composites/fluent-bit-agent.d.ts +0 -1
- package/dist/composites/flux-app.d.ts +0 -1
- package/dist/composites/gce-ingress.d.ts +0 -1
- package/dist/composites/gce-pd-storage-class.d.ts +0 -1
- package/dist/composites/gke-external-dns-agent.d.ts +0 -1
- package/dist/composites/gke-fluent-bit-agent.d.ts +0 -1
- package/dist/composites/gke-gateway.d.ts +0 -1
- package/dist/composites/gke-otel-collector.d.ts +0 -1
- package/dist/composites/index.d.ts +0 -1
- package/dist/composites/inference-service.d.ts +0 -1
- package/dist/composites/irsa-service-account.d.ts +0 -1
- package/dist/composites/member-defaults.d.ts +0 -1
- package/dist/composites/metrics-server.d.ts +0 -1
- package/dist/composites/model.d.ts +0 -1
- package/dist/composites/monitored-service.d.ts +0 -1
- package/dist/composites/namespace-env.d.ts +0 -1
- package/dist/composites/network-isolated-app.d.ts +0 -1
- package/dist/composites/node-agent.d.ts +0 -1
- package/dist/composites/operator-stack.d.ts +0 -1
- package/dist/composites/otel-collector-agent.d.ts +0 -1
- package/dist/composites/otel-collector-gateway.d.ts +0 -1
- package/dist/composites/otel-collector-node.d.ts +0 -1
- package/dist/composites/otel-collector-rbac.d.ts +0 -1
- package/dist/composites/otel-collector-shape.d.ts +0 -1
- package/dist/composites/otel-collector.d.ts +0 -1
- package/dist/composites/otel-operator-collector.d.ts +0 -1
- package/dist/composites/ray-cluster.d.ts +0 -1
- package/dist/composites/ray-job.d.ts +0 -1
- package/dist/composites/ray-service.d.ts +0 -1
- package/dist/composites/secure-ingress.d.ts +0 -1
- package/dist/composites/security-context.d.ts +0 -1
- package/dist/composites/sidecar-app.d.ts +0 -1
- package/dist/composites/stateful-app.d.ts +0 -1
- package/dist/composites/vllm-serving-runtime.d.ts +0 -1
- package/dist/composites/web-app.d.ts +0 -1
- package/dist/composites/worker-pool.d.ts +0 -1
- package/dist/composites/workload-identity-sa.d.ts +0 -1
- package/dist/composites/workload-identity-service-account.d.ts +0 -1
- package/dist/config-schema.d.ts +8 -1
- package/dist/config-schema.js +6 -2
- package/dist/config.d.ts +26 -4
- package/dist/coverage.d.ts +0 -1
- package/dist/crd/crd-sources.d.ts +0 -1
- package/dist/crd/loader.d.ts +0 -1
- package/dist/crd/oci-chart.d.ts +0 -1
- package/dist/crd/parser.d.ts +0 -1
- package/dist/crd/parser.js +3 -0
- package/dist/crd/project-codegen.d.ts +0 -1
- package/dist/crd/types.d.ts +0 -1
- package/dist/deep-observe-hooks.d.ts +0 -1
- package/dist/deep-observe.d.ts +0 -1
- package/dist/default-labels.d.ts +0 -1
- package/dist/describe-resources.d.ts +0 -1
- package/dist/describe-stack-status.d.ts +0 -1
- package/dist/detect.d.ts +0 -1
- package/dist/effect-receipt-row.d.ts +0 -1
- package/dist/export-resources.d.ts +0 -1
- package/dist/generated/index.d.ts +0 -1
- package/{src → dist}/generated/lexicon-k8s.json +1984 -155
- package/dist/generated/runtime.d.ts +0 -1
- package/dist/group-namespace.d.ts +0 -1
- package/dist/helm-references.d.ts +112 -0
- package/dist/helm-references.js +389 -0
- package/dist/import/directory.d.ts +7 -0
- package/dist/import/directory.js +103 -0
- package/dist/import/embedded.d.ts +3 -1
- package/dist/import/embedded.js +34 -0
- package/dist/import/generator.d.ts +13 -5
- package/dist/import/generator.js +43 -57
- package/dist/import/live-export.d.ts +0 -1
- package/dist/import/parser.d.ts +0 -1
- package/dist/import/parser.js +62 -6
- package/dist/import/testdata/embedded/fixtures.d.ts +0 -1
- package/dist/import/typed-classes.d.ts +76 -0
- package/dist/import/typed-classes.js +164 -0
- package/dist/include/entity.d.ts +0 -1
- package/dist/include/resolve.d.ts +0 -1
- package/dist/index-identity.d.ts +0 -1
- package/dist/index-import.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/integrity.json +44 -42
- package/dist/kube/apply.d.ts +0 -1
- package/dist/kube/connect.d.ts +0 -1
- package/dist/kube/delete.d.ts +0 -1
- package/dist/kube/describe.d.ts +0 -1
- package/dist/kube/events.d.ts +0 -1
- package/dist/kube/flags.d.ts +0 -1
- package/dist/kube/get.d.ts +0 -1
- package/dist/kube/group.d.ts +0 -1
- package/dist/kube/logs.d.ts +0 -1
- package/dist/kube/project.d.ts +0 -1
- package/dist/kube/render.d.ts +0 -1
- package/dist/kube/source.d.ts +0 -1
- package/dist/kube/target.d.ts +0 -1
- package/dist/kube/testing.d.ts +0 -1
- package/dist/kube/top.d.ts +0 -1
- package/dist/kube/verdict.d.ts +0 -1
- package/dist/kube/wait.d.ts +0 -1
- package/dist/kustomize/render.d.ts +41 -3
- package/dist/kustomize/render.js +114 -7
- package/dist/kustomize/rendered-entity.d.ts +0 -1
- package/dist/kustomize/root.d.ts +3 -4
- package/dist/kustomize/root.js +6 -1
- package/dist/lint/audit-catalog.d.ts +0 -1
- package/dist/lint/audit-catalog.js +1 -0
- package/dist/lint/audit-lineage.d.ts +0 -1
- package/dist/lint/post-synth/argo-helpers.d.ts +3 -1
- package/dist/lint/post-synth/argo-helpers.js +8 -2
- package/dist/lint/post-synth/argo002.d.ts +0 -1
- package/dist/lint/post-synth/argo002.js +2 -1
- package/dist/lint/post-synth/argo003.d.ts +0 -1
- package/dist/lint/post-synth/argo003.js +2 -1
- package/dist/lint/post-synth/argo005.d.ts +0 -1
- package/dist/lint/post-synth/argo005.js +36 -9
- package/dist/lint/post-synth/crd-schema-helpers.d.ts +1 -2
- package/dist/lint/post-synth/crd-schema-helpers.js +3 -3
- package/dist/lint/post-synth/flux002.d.ts +0 -1
- package/dist/lint/post-synth/flux002.js +2 -1
- package/dist/lint/post-synth/flux003.d.ts +0 -1
- package/dist/lint/post-synth/flux003.js +2 -1
- package/dist/lint/post-synth/index.d.ts +0 -1
- package/dist/lint/post-synth/index.js +2 -0
- package/dist/lint/post-synth/k8s-helpers.d.ts +32 -1
- package/dist/lint/post-synth/k8s-helpers.js +57 -10
- package/dist/lint/post-synth/monitoring-selection-helpers.d.ts +0 -1
- package/dist/lint/post-synth/otel-placement-helpers.d.ts +0 -1
- package/dist/lint/post-synth/sops-helpers.d.ts +0 -1
- package/dist/lint/post-synth/top-level-fields-helpers.d.ts +16 -0
- package/dist/lint/post-synth/top-level-fields-helpers.js +45 -0
- package/dist/lint/post-synth/wk8005.d.ts +9 -1
- package/dist/lint/post-synth/wk8005.js +53 -3
- package/dist/lint/post-synth/wk8006.d.ts +0 -1
- package/dist/lint/post-synth/wk8006.js +4 -2
- package/dist/lint/post-synth/wk8041.d.ts +0 -1
- package/dist/lint/post-synth/wk8041.js +3 -2
- package/dist/lint/post-synth/wk8042.d.ts +0 -1
- package/dist/lint/post-synth/wk8042.js +2 -2
- package/dist/lint/post-synth/wk8101.d.ts +0 -1
- package/dist/lint/post-synth/wk8101.js +2 -2
- package/dist/lint/post-synth/wk8102.d.ts +0 -1
- package/dist/lint/post-synth/wk8102.js +7 -3
- package/dist/lint/post-synth/wk8103.d.ts +0 -1
- package/dist/lint/post-synth/wk8103.js +3 -2
- package/dist/lint/post-synth/wk8104.d.ts +0 -1
- package/dist/lint/post-synth/wk8104.js +3 -2
- package/dist/lint/post-synth/wk8105.d.ts +0 -1
- package/dist/lint/post-synth/wk8105.js +3 -2
- package/dist/lint/post-synth/wk8201.d.ts +0 -1
- package/dist/lint/post-synth/wk8201.js +3 -2
- package/dist/lint/post-synth/wk8202.d.ts +0 -1
- package/dist/lint/post-synth/wk8202.js +3 -2
- package/dist/lint/post-synth/wk8203.d.ts +0 -1
- package/dist/lint/post-synth/wk8203.js +3 -2
- package/dist/lint/post-synth/wk8204.d.ts +0 -1
- package/dist/lint/post-synth/wk8204.js +5 -2
- package/dist/lint/post-synth/wk8205.d.ts +0 -1
- package/dist/lint/post-synth/wk8205.js +3 -2
- package/dist/lint/post-synth/wk8207.d.ts +0 -1
- package/dist/lint/post-synth/wk8207.js +2 -2
- package/dist/lint/post-synth/wk8208.d.ts +0 -1
- package/dist/lint/post-synth/wk8208.js +2 -2
- package/dist/lint/post-synth/wk8209.d.ts +0 -1
- package/dist/lint/post-synth/wk8209.js +2 -2
- package/dist/lint/post-synth/wk8301.d.ts +0 -1
- package/dist/lint/post-synth/wk8301.js +3 -2
- package/dist/lint/post-synth/wk8302.d.ts +0 -1
- package/dist/lint/post-synth/wk8302.js +2 -2
- package/dist/lint/post-synth/wk8303.d.ts +0 -1
- package/dist/lint/post-synth/wk8303.js +2 -2
- package/dist/lint/post-synth/wk8304.d.ts +0 -1
- package/dist/lint/post-synth/wk8304.js +2 -2
- package/dist/lint/post-synth/wk8305.d.ts +0 -1
- package/dist/lint/post-synth/wk8305.js +2 -2
- package/dist/lint/post-synth/wk8306.d.ts +0 -1
- package/dist/lint/post-synth/wk8306.js +3 -2
- package/dist/lint/post-synth/wk8401.d.ts +0 -1
- package/dist/lint/post-synth/wk8401.js +2 -2
- package/dist/lint/post-synth/wk8402.d.ts +0 -1
- package/dist/lint/post-synth/wk8402.js +2 -2
- package/dist/lint/post-synth/wk8403.d.ts +0 -1
- package/dist/lint/post-synth/wk8403.js +2 -2
- package/dist/lint/post-synth/wk8404.d.ts +0 -1
- package/dist/lint/post-synth/wk8404.js +2 -2
- package/dist/lint/post-synth/wk8405.d.ts +0 -1
- package/dist/lint/post-synth/wk8405.js +2 -2
- package/dist/lint/post-synth/wk8406.d.ts +0 -1
- package/dist/lint/post-synth/wk8406.js +3 -2
- package/dist/lint/post-synth/wk8407.d.ts +0 -1
- package/dist/lint/post-synth/wk8407.js +2 -2
- package/dist/lint/post-synth/wk8501.d.ts +0 -1
- package/dist/lint/post-synth/wk8502.d.ts +0 -1
- package/dist/lint/post-synth/wk8503.d.ts +0 -1
- package/dist/lint/post-synth/wk8503.js +2 -2
- package/dist/lint/post-synth/wk8504.d.ts +0 -1
- package/dist/lint/post-synth/wk8505.d.ts +0 -1
- package/dist/lint/post-synth/wk8506.d.ts +14 -0
- package/dist/lint/post-synth/wk8506.js +38 -0
- package/dist/lint/post-synth/wk8601.d.ts +0 -1
- package/dist/lint/post-synth/wk8602.d.ts +0 -1
- package/dist/lint/post-synth/wk8603.d.ts +0 -1
- package/dist/lint/post-synth/wk8604.d.ts +0 -1
- package/dist/lint/post-synth/wk8605.d.ts +0 -1
- package/dist/lint/post-synth/wk8606.d.ts +0 -1
- package/dist/lint/post-synth/wk8701.d.ts +0 -1
- package/dist/lint/post-synth/wk8702.d.ts +0 -1
- package/dist/lint/post-synth/wk8703.d.ts +0 -1
- package/dist/lint/post-synth/wk8704.d.ts +0 -1
- package/dist/lint/post-synth/wk8705.d.ts +0 -1
- package/dist/lint/rules/argo-appset-single-project.d.ts +0 -1
- package/dist/lint/rules/argo-ast.d.ts +0 -1
- package/dist/lint/rules/argo-automated-prune.d.ts +0 -1
- package/dist/lint/rules/flux-source-ref-pin.d.ts +0 -1
- package/dist/lint/rules/hardcoded-namespace.d.ts +0 -1
- package/dist/lint/rules/latest-image-tag.d.ts +0 -1
- package/dist/lint/rules/missing-resource-limits.d.ts +0 -1
- package/dist/listed-types.d.ts +0 -1
- package/dist/lsp/completions.d.ts +0 -1
- package/dist/lsp/hover.d.ts +0 -1
- package/dist/manifest-entity.d.ts +0 -1
- package/dist/manifest-files.d.ts +16 -0
- package/dist/manifest-files.js +24 -0
- package/dist/manifest.json +1 -1
- package/dist/meta.json +1984 -155
- package/dist/micro-time.d.ts +0 -1
- package/dist/okf/index.md +1 -0
- package/dist/okf/rules/WK8506.md +11 -0
- package/dist/op/activities/apply-diff.d.ts +0 -1
- package/dist/op/activities/argo.d.ts +0 -1
- package/dist/op/activities/ensure-secret.d.ts +0 -1
- package/dist/op/activities/index.d.ts +0 -1
- package/dist/op/activities/kubectl.d.ts +0 -1
- package/dist/op/activities/wait-for-ready.d.ts +0 -1
- package/dist/op/builders.d.ts +0 -1
- package/dist/package-cli.d.ts +0 -1
- package/dist/patch/json-patch.d.ts +0 -1
- package/dist/patch/rendered-patch.d.ts +0 -1
- package/dist/plugin.d.ts +0 -1
- package/dist/plugin.js +2 -0
- package/dist/project-kinds.d.ts +0 -1
- package/dist/receipt-store.d.ts +0 -1
- package/dist/reference-catalog.d.ts +3 -2
- package/dist/reference-catalog.js +283 -15
- package/dist/rules/argo-helpers.ts +9 -2
- package/dist/rules/argo002.ts +2 -1
- package/dist/rules/argo003.ts +2 -1
- package/dist/rules/argo005.ts +36 -10
- package/dist/rules/crd-schema-helpers.ts +3 -3
- package/dist/rules/flux002.ts +2 -1
- package/dist/rules/flux003.ts +2 -1
- package/dist/rules/k8s-helpers.ts +56 -11
- package/dist/rules/top-level-fields-helpers.ts +54 -0
- package/dist/rules/wk8005.ts +56 -3
- package/dist/rules/wk8006.ts +4 -2
- package/dist/rules/wk8041.ts +3 -2
- package/dist/rules/wk8042.ts +2 -2
- package/dist/rules/wk8101.ts +2 -2
- package/dist/rules/wk8102.ts +7 -3
- package/dist/rules/wk8103.ts +3 -2
- package/dist/rules/wk8104.ts +3 -2
- package/dist/rules/wk8105.ts +3 -2
- package/dist/rules/wk8201.ts +3 -2
- package/dist/rules/wk8202.ts +3 -2
- package/dist/rules/wk8203.ts +3 -2
- package/dist/rules/wk8204.ts +5 -2
- package/dist/rules/wk8205.ts +3 -2
- package/dist/rules/wk8207.ts +2 -2
- package/dist/rules/wk8208.ts +2 -2
- package/dist/rules/wk8209.ts +2 -2
- package/dist/rules/wk8301.ts +3 -2
- package/dist/rules/wk8302.ts +2 -2
- package/dist/rules/wk8303.ts +2 -2
- package/dist/rules/wk8304.ts +2 -2
- package/dist/rules/wk8305.ts +2 -2
- package/dist/rules/wk8306.ts +3 -2
- package/dist/rules/wk8401.ts +2 -2
- package/dist/rules/wk8402.ts +2 -2
- package/dist/rules/wk8403.ts +2 -2
- package/dist/rules/wk8404.ts +2 -1
- package/dist/rules/wk8405.ts +2 -2
- package/dist/rules/wk8406.ts +3 -2
- package/dist/rules/wk8407.ts +2 -2
- package/dist/rules/wk8503.ts +2 -2
- package/dist/rules/wk8506.ts +43 -0
- package/dist/secret-labels.d.ts +0 -1
- package/dist/secret-store.d.ts +0 -1
- package/dist/serializer.d.ts +0 -1
- package/dist/sops/encrypted-secret-file.d.ts +0 -1
- package/dist/sops/entity.d.ts +0 -1
- package/dist/spec/fetch.d.ts +0 -1
- package/dist/spec/parse.d.ts +6 -1
- package/dist/spec/parse.js +1 -0
- package/dist/subscribe-changes.d.ts +0 -1
- package/dist/teardown.d.ts +0 -1
- package/dist/telemetry-release.d.ts +0 -1
- package/dist/top-level-fields.d.ts +24 -0
- package/dist/top-level-fields.js +35 -0
- package/dist/validate-cli.d.ts +0 -1
- package/dist/validate.d.ts +0 -1
- package/dist/variables.d.ts +0 -1
- package/dist/whoami.d.ts +0 -1
- package/dist/workspace-member.d.ts +15 -4
- package/dist/workspace-member.js +143 -21
- package/package.json +6 -7
- package/workspace-kinds.json +45 -6
- package/dist/actions/apps.d.ts.map +0 -1
- package/dist/actions/batch.d.ts.map +0 -1
- package/dist/actions/core.d.ts.map +0 -1
- package/dist/actions/index.d.ts.map +0 -1
- package/dist/actions/networking.d.ts.map +0 -1
- package/dist/actions/rbac.d.ts.map +0 -1
- package/dist/api/classify.d.ts.map +0 -1
- package/dist/api/connect.d.ts.map +0 -1
- package/dist/api/fake-cluster.d.ts.map +0 -1
- package/dist/api/operation-surface.d.ts.map +0 -1
- package/dist/api/owner-chain.d.ts.map +0 -1
- package/dist/api/sweep-types.d.ts.map +0 -1
- package/dist/behaviour-kinds.d.ts.map +0 -1
- package/dist/codegen/docs-cli.d.ts.map +0 -1
- package/dist/codegen/docs.d.ts.map +0 -1
- package/dist/codegen/generate-cli.d.ts.map +0 -1
- package/dist/codegen/generate-lexicon.d.ts.map +0 -1
- package/dist/codegen/generate-list-map-keys.d.ts.map +0 -1
- package/dist/codegen/generate-operations.d.ts.map +0 -1
- package/dist/codegen/generate-typescript.d.ts.map +0 -1
- package/dist/codegen/generate.d.ts.map +0 -1
- package/dist/codegen/naming.d.ts.map +0 -1
- package/dist/codegen/package.d.ts.map +0 -1
- package/dist/codegen/patches.d.ts.map +0 -1
- package/dist/codegen/typecheck.d.ts.map +0 -1
- package/dist/codegen/versions.d.ts.map +0 -1
- package/dist/components/argo-app.d.ts.map +0 -1
- package/dist/components/builders.d.ts.map +0 -1
- package/dist/components/capability-plugin.d.ts.map +0 -1
- package/dist/components/flux-reconcile.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/kubectl-apply.d.ts.map +0 -1
- package/dist/components/kustomize-apply.d.ts.map +0 -1
- package/dist/composites/adot-collector.d.ts.map +0 -1
- package/dist/composites/agic-ingress.d.ts.map +0 -1
- package/dist/composites/aks-external-dns-agent.d.ts.map +0 -1
- package/dist/composites/alb-ingress.d.ts.map +0 -1
- package/dist/composites/argo-app.d.ts.map +0 -1
- package/dist/composites/autoscaled-service.d.ts.map +0 -1
- package/dist/composites/azure-disk-storage-class.d.ts.map +0 -1
- package/dist/composites/azure-file-storage-class.d.ts.map +0 -1
- package/dist/composites/azure-monitor-collector.d.ts.map +0 -1
- package/dist/composites/batch-job.d.ts.map +0 -1
- package/dist/composites/catalog.d.ts.map +0 -1
- package/dist/composites/cockroachdb-cluster.d.ts.map +0 -1
- package/dist/composites/cockroachdb-region-stack.d.ts.map +0 -1
- package/dist/composites/config-connector-context.d.ts.map +0 -1
- package/dist/composites/configured-app.d.ts.map +0 -1
- package/dist/composites/cron-schedule.d.ts.map +0 -1
- package/dist/composites/cron-workload.d.ts.map +0 -1
- package/dist/composites/ebs-storage-class.d.ts.map +0 -1
- package/dist/composites/efs-storage-class.d.ts.map +0 -1
- package/dist/composites/external-dns-agent.d.ts.map +0 -1
- package/dist/composites/filestore-storage-class.d.ts.map +0 -1
- package/dist/composites/fluent-bit-agent.d.ts.map +0 -1
- package/dist/composites/flux-app.d.ts.map +0 -1
- package/dist/composites/gce-ingress.d.ts.map +0 -1
- package/dist/composites/gce-pd-storage-class.d.ts.map +0 -1
- package/dist/composites/gke-external-dns-agent.d.ts.map +0 -1
- package/dist/composites/gke-fluent-bit-agent.d.ts.map +0 -1
- package/dist/composites/gke-gateway.d.ts.map +0 -1
- package/dist/composites/gke-otel-collector.d.ts.map +0 -1
- package/dist/composites/index.d.ts.map +0 -1
- package/dist/composites/inference-service.d.ts.map +0 -1
- package/dist/composites/irsa-service-account.d.ts.map +0 -1
- package/dist/composites/member-defaults.d.ts.map +0 -1
- package/dist/composites/metrics-server.d.ts.map +0 -1
- package/dist/composites/model.d.ts.map +0 -1
- package/dist/composites/monitored-service.d.ts.map +0 -1
- package/dist/composites/namespace-env.d.ts.map +0 -1
- package/dist/composites/network-isolated-app.d.ts.map +0 -1
- package/dist/composites/node-agent.d.ts.map +0 -1
- package/dist/composites/operator-stack.d.ts.map +0 -1
- package/dist/composites/otel-collector-agent.d.ts.map +0 -1
- package/dist/composites/otel-collector-gateway.d.ts.map +0 -1
- package/dist/composites/otel-collector-node.d.ts.map +0 -1
- package/dist/composites/otel-collector-rbac.d.ts.map +0 -1
- package/dist/composites/otel-collector-shape.d.ts.map +0 -1
- package/dist/composites/otel-collector.d.ts.map +0 -1
- package/dist/composites/otel-operator-collector.d.ts.map +0 -1
- package/dist/composites/ray-cluster.d.ts.map +0 -1
- package/dist/composites/ray-job.d.ts.map +0 -1
- package/dist/composites/ray-service.d.ts.map +0 -1
- package/dist/composites/secure-ingress.d.ts.map +0 -1
- package/dist/composites/security-context.d.ts.map +0 -1
- package/dist/composites/sidecar-app.d.ts.map +0 -1
- package/dist/composites/stateful-app.d.ts.map +0 -1
- package/dist/composites/vllm-serving-runtime.d.ts.map +0 -1
- package/dist/composites/web-app.d.ts.map +0 -1
- package/dist/composites/worker-pool.d.ts.map +0 -1
- package/dist/composites/workload-identity-sa.d.ts.map +0 -1
- package/dist/composites/workload-identity-service-account.d.ts.map +0 -1
- package/dist/config-schema.d.ts.map +0 -1
- package/dist/config.d.ts.map +0 -1
- package/dist/coverage.d.ts.map +0 -1
- package/dist/crd/crd-sources.d.ts.map +0 -1
- package/dist/crd/loader.d.ts.map +0 -1
- package/dist/crd/oci-chart.d.ts.map +0 -1
- package/dist/crd/parser.d.ts.map +0 -1
- package/dist/crd/project-codegen.d.ts.map +0 -1
- package/dist/crd/types.d.ts.map +0 -1
- package/dist/deep-observe-hooks.d.ts.map +0 -1
- package/dist/deep-observe.d.ts.map +0 -1
- package/dist/default-labels.d.ts.map +0 -1
- package/dist/describe-resources.d.ts.map +0 -1
- package/dist/describe-stack-status.d.ts.map +0 -1
- package/dist/detect.d.ts.map +0 -1
- package/dist/effect-receipt-row.d.ts.map +0 -1
- package/dist/export-resources.d.ts.map +0 -1
- package/dist/generated/index.d.ts.map +0 -1
- package/dist/generated/runtime.d.ts.map +0 -1
- package/dist/group-namespace.d.ts.map +0 -1
- package/dist/import/embedded.d.ts.map +0 -1
- package/dist/import/generator.d.ts.map +0 -1
- package/dist/import/live-export.d.ts.map +0 -1
- package/dist/import/parser.d.ts.map +0 -1
- package/dist/import/testdata/embedded/fixtures.d.ts.map +0 -1
- package/dist/include/entity.d.ts.map +0 -1
- package/dist/include/resolve.d.ts.map +0 -1
- package/dist/index-identity.d.ts.map +0 -1
- package/dist/index-import.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/kube/apply.d.ts.map +0 -1
- package/dist/kube/connect.d.ts.map +0 -1
- package/dist/kube/delete.d.ts.map +0 -1
- package/dist/kube/describe.d.ts.map +0 -1
- package/dist/kube/events.d.ts.map +0 -1
- package/dist/kube/flags.d.ts.map +0 -1
- package/dist/kube/get.d.ts.map +0 -1
- package/dist/kube/group.d.ts.map +0 -1
- package/dist/kube/logs.d.ts.map +0 -1
- package/dist/kube/project.d.ts.map +0 -1
- package/dist/kube/render.d.ts.map +0 -1
- package/dist/kube/source.d.ts.map +0 -1
- package/dist/kube/target.d.ts.map +0 -1
- package/dist/kube/testing.d.ts.map +0 -1
- package/dist/kube/top.d.ts.map +0 -1
- package/dist/kube/verdict.d.ts.map +0 -1
- package/dist/kube/wait.d.ts.map +0 -1
- package/dist/kustomize/render.d.ts.map +0 -1
- package/dist/kustomize/rendered-entity.d.ts.map +0 -1
- package/dist/kustomize/root.d.ts.map +0 -1
- package/dist/lint/audit-catalog.d.ts.map +0 -1
- package/dist/lint/audit-lineage.d.ts.map +0 -1
- package/dist/lint/post-synth/argo-helpers.d.ts.map +0 -1
- package/dist/lint/post-synth/argo002.d.ts.map +0 -1
- package/dist/lint/post-synth/argo003.d.ts.map +0 -1
- package/dist/lint/post-synth/argo005.d.ts.map +0 -1
- package/dist/lint/post-synth/crd-schema-helpers.d.ts.map +0 -1
- package/dist/lint/post-synth/flux002.d.ts.map +0 -1
- package/dist/lint/post-synth/flux003.d.ts.map +0 -1
- package/dist/lint/post-synth/index.d.ts.map +0 -1
- package/dist/lint/post-synth/k8s-helpers.d.ts.map +0 -1
- package/dist/lint/post-synth/monitoring-selection-helpers.d.ts.map +0 -1
- package/dist/lint/post-synth/otel-placement-helpers.d.ts.map +0 -1
- package/dist/lint/post-synth/sops-helpers.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8005.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8006.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8041.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8042.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8101.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8102.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8103.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8104.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8105.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8201.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8202.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8203.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8204.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8205.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8207.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8208.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8209.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8301.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8302.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8303.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8304.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8305.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8306.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8401.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8402.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8403.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8404.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8405.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8406.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8407.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8501.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8502.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8503.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8504.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8505.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8601.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8602.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8603.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8604.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8605.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8606.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8701.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8702.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8703.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8704.d.ts.map +0 -1
- package/dist/lint/post-synth/wk8705.d.ts.map +0 -1
- package/dist/lint/rules/argo-appset-single-project.d.ts.map +0 -1
- package/dist/lint/rules/argo-ast.d.ts.map +0 -1
- package/dist/lint/rules/argo-automated-prune.d.ts.map +0 -1
- package/dist/lint/rules/flux-source-ref-pin.d.ts.map +0 -1
- package/dist/lint/rules/hardcoded-namespace.d.ts.map +0 -1
- package/dist/lint/rules/latest-image-tag.d.ts.map +0 -1
- package/dist/lint/rules/missing-resource-limits.d.ts.map +0 -1
- package/dist/listed-types.d.ts.map +0 -1
- package/dist/lsp/completions.d.ts.map +0 -1
- package/dist/lsp/hover.d.ts.map +0 -1
- package/dist/manifest-entity.d.ts.map +0 -1
- package/dist/micro-time.d.ts.map +0 -1
- package/dist/op/activities/apply-diff.d.ts.map +0 -1
- package/dist/op/activities/argo.d.ts.map +0 -1
- package/dist/op/activities/ensure-secret.d.ts.map +0 -1
- package/dist/op/activities/index.d.ts.map +0 -1
- package/dist/op/activities/kubectl.d.ts.map +0 -1
- package/dist/op/activities/wait-for-ready.d.ts.map +0 -1
- package/dist/op/builders.d.ts.map +0 -1
- package/dist/package-cli.d.ts.map +0 -1
- package/dist/patch/json-patch.d.ts.map +0 -1
- package/dist/patch/rendered-patch.d.ts.map +0 -1
- package/dist/plugin.d.ts.map +0 -1
- package/dist/project-kinds.d.ts.map +0 -1
- package/dist/receipt-store.d.ts.map +0 -1
- package/dist/reference-catalog.d.ts.map +0 -1
- package/dist/secret-labels.d.ts.map +0 -1
- package/dist/secret-store.d.ts.map +0 -1
- package/dist/serializer.d.ts.map +0 -1
- package/dist/sops/encrypted-secret-file.d.ts.map +0 -1
- package/dist/sops/entity.d.ts.map +0 -1
- package/dist/spec/fetch.d.ts.map +0 -1
- package/dist/spec/parse.d.ts.map +0 -1
- package/dist/subscribe-changes.d.ts.map +0 -1
- package/dist/teardown.d.ts.map +0 -1
- package/dist/telemetry-release.d.ts.map +0 -1
- package/dist/validate-cli.d.ts.map +0 -1
- package/dist/validate.d.ts.map +0 -1
- package/dist/variables.d.ts.map +0 -1
- package/dist/whoami.d.ts.map +0 -1
- package/dist/workspace-member.d.ts.map +0 -1
- package/src/actions/actions.test.ts +0 -83
- package/src/actions/apps.ts +0 -23
- package/src/actions/batch.ts +0 -9
- package/src/actions/core.ts +0 -62
- package/src/actions/index.ts +0 -50
- package/src/actions/networking.ts +0 -15
- package/src/actions/rbac.ts +0 -13
- package/src/api/classify.test.ts +0 -170
- package/src/api/classify.ts +0 -154
- package/src/api/connect.ts +0 -104
- package/src/api/fake-cluster.ts +0 -231
- package/src/api/operation-surface.test.ts +0 -116
- package/src/api/operation-surface.ts +0 -130
- package/src/api/owner-chain.test.ts +0 -171
- package/src/api/owner-chain.ts +0 -144
- package/src/api/sweep-types.ts +0 -35
- package/src/behaviour-kinds.ts +0 -88
- package/src/codegen/declarations.test.ts +0 -118
- package/src/codegen/docs-cli.ts +0 -3
- package/src/codegen/docs.ts +0 -156
- package/src/codegen/generate-cli.ts +0 -41
- package/src/codegen/generate-crd-sources.test.ts +0 -49
- package/src/codegen/generate-lexicon.ts +0 -105
- package/src/codegen/generate-list-map-keys.test.ts +0 -112
- package/src/codegen/generate-list-map-keys.ts +0 -99
- package/src/codegen/generate-operations.ts +0 -56
- package/src/codegen/generate-typescript.ts +0 -162
- package/src/codegen/generate.ts +0 -231
- package/src/codegen/naming.test.ts +0 -63
- package/src/codegen/naming.ts +0 -201
- package/src/codegen/package.ts +0 -53
- package/src/codegen/patches.ts +0 -108
- package/src/codegen/snapshot.test.ts +0 -115
- package/src/codegen/typecheck.test.ts +0 -24
- package/src/codegen/typecheck.ts +0 -4
- package/src/codegen/versions.ts +0 -50
- package/src/components/argo-app.test.ts +0 -137
- package/src/components/argo-app.ts +0 -163
- package/src/components/builders.ts +0 -30
- package/src/components/capability-plugin.test.ts +0 -20
- package/src/components/capability-plugin.ts +0 -44
- package/src/components/flux-reconcile.test.ts +0 -145
- package/src/components/flux-reconcile.ts +0 -159
- package/src/components/index.ts +0 -44
- package/src/components/kubectl-apply-plan.k3d.e2e.test.ts +0 -127
- package/src/components/kubectl-apply.test.ts +0 -465
- package/src/components/kubectl-apply.ts +0 -570
- package/src/components/kustomize-apply.test.ts +0 -98
- package/src/components/kustomize-apply.ts +0 -104
- package/src/composites/__snapshots__/gke-otel-collector.snapshot.test.ts.snap +0 -335
- package/src/composites/adot-collector.ts +0 -258
- package/src/composites/agic-ingress.ts +0 -157
- package/src/composites/aks-external-dns-agent.ts +0 -211
- package/src/composites/alb-ingress.ts +0 -161
- package/src/composites/argo-app.ts +0 -381
- package/src/composites/autoscaled-service.ts +0 -293
- package/src/composites/azure-disk-storage-class.ts +0 -91
- package/src/composites/azure-file-storage-class.ts +0 -86
- package/src/composites/azure-monitor-collector.ts +0 -245
- package/src/composites/batch-job.ts +0 -230
- package/src/composites/catalog.test.ts +0 -39
- package/src/composites/catalog.ts +0 -4115
- package/src/composites/cockroachdb-cluster.ts +0 -528
- package/src/composites/cockroachdb-region-stack.ts +0 -553
- package/src/composites/composites.test.ts +0 -4291
- package/src/composites/config-connector-context.ts +0 -69
- package/src/composites/configured-app.ts +0 -231
- package/src/composites/cron-schedule.ts +0 -47
- package/src/composites/cron-workload.ts +0 -182
- package/src/composites/ebs-storage-class.ts +0 -105
- package/src/composites/efs-storage-class.ts +0 -86
- package/src/composites/external-dns-agent.ts +0 -181
- package/src/composites/filestore-storage-class.ts +0 -88
- package/src/composites/fluent-bit-agent.ts +0 -227
- package/src/composites/flux-app.ts +0 -298
- package/src/composites/gce-ingress.ts +0 -152
- package/src/composites/gce-pd-storage-class.ts +0 -94
- package/src/composites/gke-external-dns-agent.ts +0 -189
- package/src/composites/gke-fluent-bit-agent.ts +0 -232
- package/src/composites/gke-gateway.ts +0 -150
- package/src/composites/gke-otel-collector.snapshot.test.ts +0 -53
- package/src/composites/gke-otel-collector.ts +0 -156
- package/src/composites/index.ts +0 -133
- package/src/composites/inference-service.ts +0 -141
- package/src/composites/irsa-service-account.ts +0 -123
- package/src/composites/member-defaults.test.ts +0 -63
- package/src/composites/member-defaults.ts +0 -29
- package/src/composites/metrics-server.ts +0 -240
- package/src/composites/model.ts +0 -151
- package/src/composites/monitored-service.ts +0 -252
- package/src/composites/namespace-env.ts +0 -173
- package/src/composites/network-isolated-app.ts +0 -208
- package/src/composites/node-agent.ts +0 -242
- package/src/composites/operator-stack.ts +0 -387
- package/src/composites/otel-collector-agent.ts +0 -230
- package/src/composites/otel-collector-gateway.test.ts +0 -380
- package/src/composites/otel-collector-gateway.ts +0 -404
- package/src/composites/otel-collector-node.test.ts +0 -193
- package/src/composites/otel-collector-node.ts +0 -211
- package/src/composites/otel-collector-rbac.test.ts +0 -125
- package/src/composites/otel-collector-rbac.ts +0 -146
- package/src/composites/otel-collector-shape.ts +0 -163
- package/src/composites/otel-collector.ts +0 -209
- package/src/composites/otel-operator-collector.test.ts +0 -267
- package/src/composites/otel-operator-collector.ts +0 -221
- package/src/composites/ray-cluster.ts +0 -591
- package/src/composites/ray-job.ts +0 -236
- package/src/composites/ray-service.ts +0 -272
- package/src/composites/secure-ingress.ts +0 -160
- package/src/composites/security-context.ts +0 -10
- package/src/composites/sidecar-app.ts +0 -213
- package/src/composites/stateful-app.ts +0 -196
- package/src/composites/vllm-serving-runtime.test.ts +0 -167
- package/src/composites/vllm-serving-runtime.ts +0 -197
- package/src/composites/web-app.ts +0 -254
- package/src/composites/worker-pool.ts +0 -279
- package/src/composites/workload-identity-sa.ts +0 -127
- package/src/composites/workload-identity-service-account.ts +0 -123
- package/src/config-augmentation.test.ts +0 -100
- package/src/config-schema.ts +0 -109
- package/src/config.ts +0 -215
- package/src/coverage.test.ts +0 -27
- package/src/coverage.ts +0 -35
- package/src/crd/clickhouse-operators.test.ts +0 -105
- package/src/crd/cnpg.test.ts +0 -191
- package/src/crd/crd-sources.ts +0 -688
- package/src/crd/infisical.test.ts +0 -100
- package/src/crd/loader.test.ts +0 -90
- package/src/crd/loader.ts +0 -214
- package/src/crd/oci-chart.test.ts +0 -149
- package/src/crd/oci-chart.ts +0 -178
- package/src/crd/parser.test.ts +0 -585
- package/src/crd/parser.ts +0 -437
- package/src/crd/project-codegen.e2e.test.ts +0 -239
- package/src/crd/project-codegen.ts +0 -327
- package/src/crd/traefik.test.ts +0 -108
- package/src/crd/types.ts +0 -92
- package/src/deep-observe-hooks.ts +0 -361
- package/src/deep-observe.test.ts +0 -1160
- package/src/deep-observe.ts +0 -290
- package/src/default-labels.test.ts +0 -111
- package/src/default-labels.ts +0 -122
- package/src/describe-resources.test.ts +0 -1873
- package/src/describe-resources.ts +0 -839
- package/src/describe-stack-status.test.ts +0 -169
- package/src/describe-stack-status.ts +0 -143
- package/src/detect.ts +0 -9
- package/src/effect-receipt-row.test.ts +0 -285
- package/src/effect-receipt-row.ts +0 -268
- package/src/export-resources-io.test.ts +0 -97
- package/src/export-resources.ts +0 -72
- package/src/generated/index.d.ts +0 -8909
- package/src/generated/index.ts +0 -1153
- package/src/generated/runtime.ts +0 -4
- package/src/group-namespace.test.ts +0 -99
- package/src/group-namespace.ts +0 -103
- package/src/import/embedded-live.test.ts +0 -180
- package/src/import/embedded-roundtrip.test.ts +0 -298
- package/src/import/embedded-types.e2e.test.ts +0 -45
- package/src/import/embedded.test.ts +0 -189
- package/src/import/embedded.ts +0 -208
- package/src/import/generator.test.ts +0 -140
- package/src/import/generator.ts +0 -374
- package/src/import/live-export.test.ts +0 -114
- package/src/import/live-export.ts +0 -97
- package/src/import/operator-alerting-roundtrip.test.ts +0 -158
- package/src/import/operator-collector-roundtrip.test.ts +0 -105
- package/src/import/parser.test.ts +0 -174
- package/src/import/parser.ts +0 -230
- package/src/import/roundtrip-build.test.ts +0 -133
- package/src/import/roundtrip.test.ts +0 -86
- package/src/import/testdata/embedded/README.md +0 -14
- package/src/import/testdata/embedded/agent-observability.yaml +0 -2905
- package/src/import/testdata/embedded/alertmanager-configmap.yaml +0 -91
- package/src/import/testdata/embedded/fixtures.ts +0 -71
- package/src/import/testdata/embedded/grafana-dashboard-configmap.yaml +0 -364
- package/src/import/testdata/embedded/grafana-operator-dashboard.yaml +0 -363
- package/src/import/testdata/embedded/grafana-v2-dashboard-configmap.yaml +0 -851
- package/src/import/testdata/embedded/node-exporter-prometheusrule.yaml +0 -425
- package/src/import/testdata/embedded/otel-collector-daemonset.yaml +0 -225
- package/src/include/entity.ts +0 -119
- package/src/include/include.test.ts +0 -345
- package/src/include/resolve.ts +0 -204
- package/src/index-identity.ts +0 -119
- package/src/index-import.test.ts +0 -244
- package/src/index-import.ts +0 -181
- package/src/index.ts +0 -172
- package/src/kube/apply.test.ts +0 -105
- package/src/kube/apply.ts +0 -106
- package/src/kube/connect.ts +0 -55
- package/src/kube/delete.test.ts +0 -123
- package/src/kube/delete.ts +0 -174
- package/src/kube/describe.test.ts +0 -106
- package/src/kube/describe.ts +0 -195
- package/src/kube/events.test.ts +0 -115
- package/src/kube/events.ts +0 -160
- package/src/kube/flags.test.ts +0 -65
- package/src/kube/flags.ts +0 -114
- package/src/kube/get.test.ts +0 -195
- package/src/kube/get.ts +0 -190
- package/src/kube/group.test.ts +0 -33
- package/src/kube/group.ts +0 -125
- package/src/kube/logs.test.ts +0 -126
- package/src/kube/logs.ts +0 -96
- package/src/kube/project.test.ts +0 -57
- package/src/kube/project.ts +0 -106
- package/src/kube/render.test.ts +0 -142
- package/src/kube/render.ts +0 -252
- package/src/kube/source.test.ts +0 -138
- package/src/kube/source.ts +0 -139
- package/src/kube/target.test.ts +0 -67
- package/src/kube/target.ts +0 -89
- package/src/kube/testing.ts +0 -42
- package/src/kube/top.test.ts +0 -149
- package/src/kube/top.ts +0 -120
- package/src/kube/verdict.test.ts +0 -48
- package/src/kube/verdict.ts +0 -77
- package/src/kube/wait.test.ts +0 -125
- package/src/kube/wait.ts +0 -160
- package/src/kustomize/render.ts +0 -96
- package/src/kustomize/rendered-entity.ts +0 -82
- package/src/kustomize/root.test.ts +0 -309
- package/src/kustomize/root.ts +0 -95
- package/src/kustomize/search.test.ts +0 -101
- package/src/lifecycle-integration.test.ts +0 -325
- package/src/lint/audit-catalog.ts +0 -63
- package/src/lint/audit-lineage.ts +0 -127
- package/src/lint/post-synth/argo-helpers.ts +0 -47
- package/src/lint/post-synth/argo002.ts +0 -47
- package/src/lint/post-synth/argo003.ts +0 -80
- package/src/lint/post-synth/argo005.ts +0 -59
- package/src/lint/post-synth/crd-schema-helpers.ts +0 -235
- package/src/lint/post-synth/flux002.ts +0 -77
- package/src/lint/post-synth/flux003.ts +0 -75
- package/src/lint/post-synth/index.ts +0 -107
- package/src/lint/post-synth/k8s-helpers.test.ts +0 -236
- package/src/lint/post-synth/k8s-helpers.ts +0 -251
- package/src/lint/post-synth/monitoring-selection-helpers.ts +0 -185
- package/src/lint/post-synth/monitoring-selection.test.ts +0 -316
- package/src/lint/post-synth/otel-placement-helpers.ts +0 -333
- package/src/lint/post-synth/otel-placement.test.ts +0 -450
- package/src/lint/post-synth/post-synth.test.ts +0 -2798
- package/src/lint/post-synth/sops-helpers.ts +0 -76
- package/src/lint/post-synth/wk8005.ts +0 -54
- package/src/lint/post-synth/wk8006.ts +0 -63
- package/src/lint/post-synth/wk8041.ts +0 -68
- package/src/lint/post-synth/wk8042.ts +0 -43
- package/src/lint/post-synth/wk8101.ts +0 -60
- package/src/lint/post-synth/wk8102.ts +0 -37
- package/src/lint/post-synth/wk8103.ts +0 -40
- package/src/lint/post-synth/wk8104.ts +0 -64
- package/src/lint/post-synth/wk8105.ts +0 -40
- package/src/lint/post-synth/wk8201.ts +0 -50
- package/src/lint/post-synth/wk8202.ts +0 -41
- package/src/lint/post-synth/wk8203.ts +0 -41
- package/src/lint/post-synth/wk8204.ts +0 -81
- package/src/lint/post-synth/wk8205.ts +0 -51
- package/src/lint/post-synth/wk8207.ts +0 -40
- package/src/lint/post-synth/wk8208.ts +0 -40
- package/src/lint/post-synth/wk8209.ts +0 -40
- package/src/lint/post-synth/wk8301.ts +0 -54
- package/src/lint/post-synth/wk8302.ts +0 -41
- package/src/lint/post-synth/wk8303.ts +0 -93
- package/src/lint/post-synth/wk8304.ts +0 -65
- package/src/lint/post-synth/wk8305.ts +0 -112
- package/src/lint/post-synth/wk8306.ts +0 -45
- package/src/lint/post-synth/wk8401.ts +0 -93
- package/src/lint/post-synth/wk8402.ts +0 -38
- package/src/lint/post-synth/wk8403.ts +0 -55
- package/src/lint/post-synth/wk8404.ts +0 -49
- package/src/lint/post-synth/wk8405.ts +0 -85
- package/src/lint/post-synth/wk8406.ts +0 -55
- package/src/lint/post-synth/wk8407.ts +0 -66
- package/src/lint/post-synth/wk8501.ts +0 -40
- package/src/lint/post-synth/wk8502.ts +0 -39
- package/src/lint/post-synth/wk8503.ts +0 -220
- package/src/lint/post-synth/wk8504.ts +0 -51
- package/src/lint/post-synth/wk8505.ts +0 -65
- package/src/lint/post-synth/wk8601.ts +0 -44
- package/src/lint/post-synth/wk8602.ts +0 -133
- package/src/lint/post-synth/wk8603.ts +0 -66
- package/src/lint/post-synth/wk8604.ts +0 -36
- package/src/lint/post-synth/wk8605.test.ts +0 -153
- package/src/lint/post-synth/wk8605.ts +0 -133
- package/src/lint/post-synth/wk8606.ts +0 -27
- package/src/lint/post-synth/wk8701.ts +0 -37
- package/src/lint/post-synth/wk8702.ts +0 -43
- package/src/lint/post-synth/wk8703.ts +0 -37
- package/src/lint/post-synth/wk8704.ts +0 -134
- package/src/lint/post-synth/wk8705.ts +0 -45
- package/src/lint/rules/argo-appset-single-project.ts +0 -66
- package/src/lint/rules/argo-ast.ts +0 -121
- package/src/lint/rules/argo-automated-prune.ts +0 -75
- package/src/lint/rules/flux-source-ref-pin.ts +0 -52
- package/src/lint/rules/hardcoded-namespace.ts +0 -71
- package/src/lint/rules/latest-image-tag.ts +0 -121
- package/src/lint/rules/missing-resource-limits.ts +0 -111
- package/src/lint/rules/rules.test.ts +0 -421
- package/src/list-map-key-table.test.ts +0 -83
- package/src/list-map-order-key.test.ts +0 -119
- package/src/listed-types.test.ts +0 -76
- package/src/listed-types.ts +0 -70
- package/src/lsp/completions.test.ts +0 -64
- package/src/lsp/completions.ts +0 -21
- package/src/lsp/hover.test.ts +0 -69
- package/src/lsp/hover.ts +0 -69
- package/src/manifest-entity.test.ts +0 -78
- package/src/manifest-entity.ts +0 -82
- package/src/micro-time.test.ts +0 -48
- package/src/micro-time.ts +0 -51
- package/src/op/activities/apply-diff.ts +0 -87
- package/src/op/activities/argo.test.ts +0 -79
- package/src/op/activities/argo.ts +0 -163
- package/src/op/activities/ensure-secret.ts +0 -71
- package/src/op/activities/index.ts +0 -79
- package/src/op/activities/kubectl-plan.test.ts +0 -224
- package/src/op/activities/kubectl.test.ts +0 -662
- package/src/op/activities/kubectl.ts +0 -723
- package/src/op/activities/wait-for-ready.test.ts +0 -260
- package/src/op/activities/wait-for-ready.ts +0 -371
- package/src/op/builders.test.ts +0 -82
- package/src/op/builders.ts +0 -95
- package/src/package-cli.ts +0 -28
- package/src/patch/json-patch.test.ts +0 -91
- package/src/patch/json-patch.ts +0 -189
- package/src/patch/rendered-patch.test.ts +0 -143
- package/src/patch/rendered-patch.ts +0 -180
- package/src/plugin.test.ts +0 -273
- package/src/plugin.ts +0 -827
- package/src/project-kinds.ts +0 -75
- package/src/prometheus-rule-groups.test.ts +0 -135
- package/src/receipt-store.test.ts +0 -380
- package/src/receipt-store.ts +0 -290
- package/src/reference-catalog.test.ts +0 -173
- package/src/reference-catalog.ts +0 -157
- package/src/secret-labels.ts +0 -36
- package/src/secret-store.test.ts +0 -184
- package/src/secret-store.ts +0 -165
- package/src/serializer-ownership.test.ts +0 -44
- package/src/serializer-telemetry.test.ts +0 -146
- package/src/serializer.test.ts +0 -640
- package/src/serializer.ts +0 -655
- package/src/skills/chant-k8s-aks.md +0 -146
- package/src/skills/chant-k8s-argo.md +0 -190
- package/src/skills/chant-k8s-deployment-strategies.md +0 -183
- package/src/skills/chant-k8s-eks.md +0 -171
- package/src/skills/chant-k8s-flux.md +0 -162
- package/src/skills/chant-k8s-gke.md +0 -246
- package/src/skills/chant-k8s-patterns.md +0 -245
- package/src/skills/chant-k8s-ray.md +0 -252
- package/src/skills/chant-k8s-security.md +0 -237
- package/src/skills/chant-k8s.md +0 -307
- package/src/sops/encrypted-secret-file.test.ts +0 -333
- package/src/sops/encrypted-secret-file.ts +0 -264
- package/src/sops/entity.ts +0 -53
- package/src/spec/fetch.test.ts +0 -24
- package/src/spec/fetch.ts +0 -68
- package/src/spec/parse.test.ts +0 -262
- package/src/spec/parse.ts +0 -864
- package/src/subscribe-changes.test.ts +0 -368
- package/src/subscribe-changes.ts +0 -210
- package/src/teardown.test.ts +0 -240
- package/src/teardown.ts +0 -239
- package/src/telemetry-build.test.ts +0 -79
- package/src/telemetry-release.ts +0 -93
- package/src/testdata/include/bundle.yaml +0 -45
- package/src/testdata/indexed/listing.json +0 -67
- package/src/testdata/kustomize-root/base/deployment.yaml +0 -17
- package/src/testdata/kustomize-root/base/kustomization.yaml +0 -3
- package/src/testdata/kustomize-root/base/service.yaml +0 -9
- package/src/testdata/kustomize-root/overlays/prod/kustomization.yaml +0 -6
- package/src/testdata/manifests/configmap.yaml +0 -7
- package/src/testdata/manifests/deployment.yaml +0 -22
- package/src/testdata/manifests/full-app.yaml +0 -61
- package/src/testdata/manifests/secret.yaml +0 -7
- package/src/testdata/manifests/service.yaml +0 -15
- package/src/testdata/sops/db-credentials.sops.yaml +0 -23
- package/src/testdata/workspace-members/argo/guestbook.yaml +0 -28
- package/src/testdata/workspace-members/argo/namespace.yaml +0 -4
- package/src/testdata/workspace-members/flux/apps.yaml +0 -12
- package/src/testdata/workspace-members/flux/kustomization.yaml +0 -4
- package/src/validate-cli.ts +0 -21
- package/src/validate.test.ts +0 -29
- package/src/validate.ts +0 -53
- package/src/variables.ts +0 -36
- package/src/whoami.test.ts +0 -203
- package/src/whoami.ts +0 -122
- package/src/workspace-kinds.test.ts +0 -35
- package/src/workspace-member.test.ts +0 -154
- package/src/workspace-member.ts +0 -128
- /package/{src → dist}/generated/list-map-keys.json +0 -0
- /package/{src → dist}/generated/operations.json +0 -0
package/dist/index-import.d.ts
CHANGED
|
@@ -17,4 +17,3 @@ export declare function k8sReferencedSecret(node: IRNode): {
|
|
|
17
17
|
export declare function maskedValueEnvVar(name: string): string;
|
|
18
18
|
export declare function createK8sIndexImport(): IndexImportCodegen;
|
|
19
19
|
export declare const k8sIndexImport: IndexImportCodegen;
|
|
20
|
-
//# sourceMappingURL=index-import.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -33,4 +33,3 @@ export { registerProjectKinds } from "./project-kinds.js";
|
|
|
33
33
|
export type { ProjectKind } from "./project-kinds.js";
|
|
34
34
|
export type { K8sProjectCrdSource } from "./config.js";
|
|
35
35
|
export type { K8sChantConfig, K8sClusterProfile } from "./config.js";
|
|
36
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/integrity.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
5
|
-
"meta.json": "
|
|
4
|
+
"manifest.json": "44064ff9fc5cd3387d36160dce7e7af81efa98c4302e49bea7c96943162b8ad5",
|
|
5
|
+
"meta.json": "c8a4cb1d36eba59a277083c8b888b150b025384e429b26db4203ec748d5e7f08",
|
|
6
6
|
"types/index.d.ts": "35f6ca4fa77c28ecad363920b444f27ab72f0fe49e82eb20e42824c312ac689b",
|
|
7
7
|
"rules/argo-appset-single-project.ts": "afa9f310753aa2d475f35012b13135b2dfaebed2a35d44edbe185ebc07673674",
|
|
8
8
|
"rules/argo-ast.ts": "034fed4041ffc3e81a15daf2166ffbb29d1e0d9c28b3db4a1492c63a42076cbd",
|
|
@@ -11,52 +11,54 @@
|
|
|
11
11
|
"rules/hardcoded-namespace.ts": "4b149cddd01cf9f8fc539bd1e499226a3fb06ba21dff74c71ec18e5335a4eca7",
|
|
12
12
|
"rules/latest-image-tag.ts": "fa53d7fd8b60e6ee27b37dc2687964339061de5dab12118bf1878d85c0e31c47",
|
|
13
13
|
"rules/missing-resource-limits.ts": "afc3376962765f64984786e4f42c02575c34d6f2c1bfc3f30fb73a7d1a7f99bd",
|
|
14
|
-
"rules/argo-helpers.ts": "
|
|
15
|
-
"rules/argo002.ts": "
|
|
16
|
-
"rules/argo003.ts": "
|
|
17
|
-
"rules/argo005.ts": "
|
|
18
|
-
"rules/crd-schema-helpers.ts": "
|
|
19
|
-
"rules/flux002.ts": "
|
|
20
|
-
"rules/flux003.ts": "
|
|
21
|
-
"rules/k8s-helpers.ts": "
|
|
14
|
+
"rules/argo-helpers.ts": "5060db3c1cfb6498b77a3100af46886acd90a3a0ae2e568704935f0904c33d60",
|
|
15
|
+
"rules/argo002.ts": "0ff0e1bb18dd22e974d78bb3071cdddcd1599800910f17aac2c36db5526a452a",
|
|
16
|
+
"rules/argo003.ts": "ae43d069d7cc93d95be45b4b92b52dacba814c0f4f86dfe3d1672781bdfca254",
|
|
17
|
+
"rules/argo005.ts": "d2ddb5782776d766b886b94157a070dec7945311918a9ec4d71cfdfb025dfb2e",
|
|
18
|
+
"rules/crd-schema-helpers.ts": "8e06144c5b2ad90fc2c635f76391e53cfb8e5f0ddbf1cde25079a1273f9bc3e5",
|
|
19
|
+
"rules/flux002.ts": "2cbb21eb452f39f74ba8c79d9cecc62b65148d1f9b5edeaaf589b621aab4f64a",
|
|
20
|
+
"rules/flux003.ts": "83927d3e199492e7a3af96e4ac38257d6ae417fe3993e712915b6c8179ffcaac",
|
|
21
|
+
"rules/k8s-helpers.ts": "da1ef8578b15ee2af2df22d41e5193fbe0555c787a9112c24d343ccaccc9be75",
|
|
22
22
|
"rules/monitoring-selection-helpers.ts": "34537f8d3bbdb81e4353997e77063030adb5bc55571425365cf037c4107bfc26",
|
|
23
23
|
"rules/otel-placement-helpers.ts": "0d43cb3a5339fc614f3c8e1bbd505b9eccd04dfc25f185232727660b4a27c8ef",
|
|
24
24
|
"rules/sops-helpers.ts": "c2b8e08e7d292e770fd4761ad2a55e165c7cd375768b709491165cbf4fa1ba51",
|
|
25
|
-
"rules/
|
|
26
|
-
"rules/
|
|
27
|
-
"rules/
|
|
28
|
-
"rules/
|
|
29
|
-
"rules/
|
|
30
|
-
"rules/
|
|
31
|
-
"rules/
|
|
32
|
-
"rules/
|
|
33
|
-
"rules/
|
|
34
|
-
"rules/
|
|
35
|
-
"rules/
|
|
36
|
-
"rules/
|
|
37
|
-
"rules/
|
|
38
|
-
"rules/
|
|
39
|
-
"rules/
|
|
40
|
-
"rules/
|
|
41
|
-
"rules/
|
|
42
|
-
"rules/
|
|
43
|
-
"rules/
|
|
44
|
-
"rules/
|
|
45
|
-
"rules/
|
|
46
|
-
"rules/
|
|
47
|
-
"rules/
|
|
48
|
-
"rules/
|
|
49
|
-
"rules/
|
|
50
|
-
"rules/
|
|
51
|
-
"rules/
|
|
52
|
-
"rules/
|
|
53
|
-
"rules/
|
|
54
|
-
"rules/
|
|
25
|
+
"rules/top-level-fields-helpers.ts": "22a5b26e79f8b5dff535c0dd8c725a2f3ce5b617a8f9aefb94781dcffbee4d4a",
|
|
26
|
+
"rules/wk8005.ts": "2d89d65e8536a37b69c318526eaf4dd5239c1a198051088b79a9f131e2083832",
|
|
27
|
+
"rules/wk8006.ts": "398b0455e55ae2beab6aa61f13ecfdc71063a8eeac96c7ad692727c15788ada4",
|
|
28
|
+
"rules/wk8041.ts": "6828bffd871d24355074f03a5c58f67749b4f99ec34fd7dd1c50f3bc03773ded",
|
|
29
|
+
"rules/wk8042.ts": "b25fd40f413bb76a7da4a58848fd2227e85968afb331d9fcdb246e1db70dfda5",
|
|
30
|
+
"rules/wk8101.ts": "10251cc23aaa6a520d0c683c1d103cf8d67b43c206f0119bf619e9fd48785802",
|
|
31
|
+
"rules/wk8102.ts": "8178aad5e4b7b17f475e4af702d73d65f19fb705130d965e8a93ea50bcebcd97",
|
|
32
|
+
"rules/wk8103.ts": "1d0f49bbaef32ff8ffa846b254f3b4250655e86d8354be1a87e64779d638aea6",
|
|
33
|
+
"rules/wk8104.ts": "4a6b2516580f74cce7576f2c04a7b1c92ee090fd0be20c87b41c78c4e718d440",
|
|
34
|
+
"rules/wk8105.ts": "d7f1ea1ecbfae12d0234ecc08efd90b902963f417e461b356cdb751cbef91dc3",
|
|
35
|
+
"rules/wk8201.ts": "0c96a044f872d43caf03974180180c710215fbc831736d446745b72b89fe3ff8",
|
|
36
|
+
"rules/wk8202.ts": "a9118ec194059f3239c8c44cab93a21728542f7ed0bc4a2141e09356098e8d9c",
|
|
37
|
+
"rules/wk8203.ts": "baffe9e669aaf2017211df0134e763bd88b34342ee29b8665f459b4d1adaa99e",
|
|
38
|
+
"rules/wk8204.ts": "df8aa7a6620a562335665cfdb975dd2a71fad796e48e09d3905b5239b3ce1fb0",
|
|
39
|
+
"rules/wk8205.ts": "8a03b91c8343247acb40f057d30ca802e00b108d54db67585a5a2f85fdffa795",
|
|
40
|
+
"rules/wk8207.ts": "b4cde2d592711f27999efdb39cdafb5fd8a5fd8c96c091c798588313d1727e22",
|
|
41
|
+
"rules/wk8208.ts": "f6fde8e196545d5581673f3c96dcea7b163686e368a59dd438e484267ec62de5",
|
|
42
|
+
"rules/wk8209.ts": "cdcccc59a9ce6120a031092a0d5b17740fbbc58e3699df5bdd7e089fadbd88c5",
|
|
43
|
+
"rules/wk8301.ts": "b7b22bbb0da64c33f2dcca4093cf5f7bb917d0694560910e6c0784b64cc5bee8",
|
|
44
|
+
"rules/wk8302.ts": "b6a494fb93d7ce7b7264cbffe39df37be84cf6e745e9f5eb17360effd2703058",
|
|
45
|
+
"rules/wk8303.ts": "983bc332a3976898b3e613414beb26bb8d656eb04e781b0d8cd7ce607f1874f1",
|
|
46
|
+
"rules/wk8304.ts": "439eab1c94cce39a6a24299f25662d93d9395bdb5188bc73663d05b82a268208",
|
|
47
|
+
"rules/wk8305.ts": "07540ddfcd3eed0e07edefe7028060353bd992c028cd870ae83b0b3a015d6e3c",
|
|
48
|
+
"rules/wk8306.ts": "a1cc86010b824e58f37b0e09e7ab51bc1ef948901b07c1aaefe10365dc7f1ef6",
|
|
49
|
+
"rules/wk8401.ts": "8311519c54d606ce8e772b20d876a5488cd3c8b8167d61b1a43769283d7c4fd3",
|
|
50
|
+
"rules/wk8402.ts": "566a793b069cebde9d9f8d9bb4cbc46c15bacd1ac6d5e4606d69eb2df253b82e",
|
|
51
|
+
"rules/wk8403.ts": "adeb3b39a3ed651b00f718754daf04c21f49cba4cf84bc4d511bfbbc2608dc22",
|
|
52
|
+
"rules/wk8404.ts": "b5fc9e9f8863b370610188bb42b200cb321b4cc8f4e5fdea8565f64671f89e50",
|
|
53
|
+
"rules/wk8405.ts": "dc48d01833eb39b3198d5af87ae197d345cf872b751565e74d5586b2f6918c53",
|
|
54
|
+
"rules/wk8406.ts": "a5c268b4a2b8b273fc96a1a28fb2b7c8c696d74473b5e983d39e83c1a0209724",
|
|
55
|
+
"rules/wk8407.ts": "93a4e7df01d5d8733b1ae2d7b9e3b32e2de8182b5a199c92074af09e04af54dd",
|
|
55
56
|
"rules/wk8501.ts": "7de8c368ae0b0a2678441a97ec6bed8172f1f127bad6a8441b39ea8d1d4f1dd3",
|
|
56
57
|
"rules/wk8502.ts": "c13813543b4ec42b9b87d2ebfe20bae3e6e954a8d7c4e9387581a753484aa778",
|
|
57
|
-
"rules/wk8503.ts": "
|
|
58
|
+
"rules/wk8503.ts": "ed7d56e3546a0ab2bdebb41a4445e433d54531174bd567a98994d0adbf7768d4",
|
|
58
59
|
"rules/wk8504.ts": "b1dd7689e37f788fb4524c42254d5d99048a38203643a405f25383ac21b74e36",
|
|
59
60
|
"rules/wk8505.ts": "b866168e8c8ed55edb5d69666258cdb6c4a2e2db3e41951a59fe54fd7d5bda5b",
|
|
61
|
+
"rules/wk8506.ts": "b523aea18722628677f28e10c938272189d18dbf214e9c9b51386bfd3e1899e6",
|
|
60
62
|
"rules/wk8601.ts": "d086334847a083f2c90cbf0232a34af9df2b794d69f8b136227de34b04ca0147",
|
|
61
63
|
"rules/wk8602.ts": "631bf3eec929ca61c2e8757db9ea5f7757b957db3314ca6f16a10d4d780f4375",
|
|
62
64
|
"rules/wk8603.ts": "0cccd9793a905e85132a8e9ce428623af9aa095ecabc43b1b6c6a7c90603dbd4",
|
|
@@ -78,5 +80,5 @@
|
|
|
78
80
|
"skills/chant-k8s-argo.md": "24c9a85b78a2fc5c6657424baac9cc6d6caff6f47605b8146b2c0082133181cf",
|
|
79
81
|
"skills/chant-k8s-flux.md": "9670efc2e9854bd14686b5adeb707396b9030a4dcaee6529b30abf56efe2c50c"
|
|
80
82
|
},
|
|
81
|
-
"composite": "
|
|
83
|
+
"composite": "9bb6161757331f0917576f681f395bb75cad5ed5e2a45c6ae70d940ffce3ce18"
|
|
82
84
|
}
|
package/dist/kube/apply.d.ts
CHANGED
package/dist/kube/connect.d.ts
CHANGED
package/dist/kube/delete.d.ts
CHANGED
package/dist/kube/describe.d.ts
CHANGED
package/dist/kube/events.d.ts
CHANGED
|
@@ -31,4 +31,3 @@ export declare function listEvents(client: K8sClient, options?: {
|
|
|
31
31
|
/** Render an events table — reused by `describe`'s Events section. */
|
|
32
32
|
export declare function renderEvents(events: readonly K8sObject[]): string;
|
|
33
33
|
export declare function runEvents(rawArgs: string[], deps?: EventsDeps): Promise<number>;
|
|
34
|
-
//# sourceMappingURL=events.d.ts.map
|
package/dist/kube/flags.d.ts
CHANGED
|
@@ -37,4 +37,3 @@ export declare function connectOptionsFrom(values: Record<string, string>): Conn
|
|
|
37
37
|
export declare function parseDurationSeconds(value: string): number;
|
|
38
38
|
/** {@link parseDurationSeconds} in milliseconds. */
|
|
39
39
|
export declare function parseDurationMs(value: string): number;
|
|
40
|
-
//# sourceMappingURL=flags.d.ts.map
|
package/dist/kube/get.d.ts
CHANGED
package/dist/kube/group.d.ts
CHANGED
package/dist/kube/logs.d.ts
CHANGED
package/dist/kube/project.d.ts
CHANGED
|
@@ -56,4 +56,3 @@ export declare function findDeclaredMatch(entities: Map<string, Declarable>, ref
|
|
|
56
56
|
}): DeclaredMatch | undefined;
|
|
57
57
|
/** Provenance for a matched entity, relative to the project root when possible. */
|
|
58
58
|
export declare function relativeProvenance(ctx: KubeProjectContext, entity: Declarable): EntityProvenance | undefined;
|
|
59
|
-
//# sourceMappingURL=project.d.ts.map
|
package/dist/kube/render.d.ts
CHANGED
|
@@ -72,4 +72,3 @@ export declare function evalJsonPath(template: string, root: unknown): string;
|
|
|
72
72
|
/** `-o jsonpath=`: kubectl runs the whole template once per top-level object printed. */
|
|
73
73
|
export declare function renderJsonPath(expr: string, objects: readonly K8sObject[]): string;
|
|
74
74
|
export declare function renderCustomColumns(spec: string, objects: readonly K8sObject[]): string;
|
|
75
|
-
//# sourceMappingURL=render.d.ts.map
|
package/dist/kube/source.d.ts
CHANGED
package/dist/kube/target.d.ts
CHANGED
package/dist/kube/testing.d.ts
CHANGED
|
@@ -18,4 +18,3 @@ export type FakeDeclarable = Declarable & {
|
|
|
18
18
|
export declare function fakeDeclarable(entityType: string, props: Record<string, unknown>, provenance?: EntityProvenance): FakeDeclarable;
|
|
19
19
|
/** A `KubeProjectContext` built from a plain name → entity map, no disk I/O. */
|
|
20
20
|
export declare function fakeProjectContext(entities: Record<string, Declarable>, config?: ChantConfig, cwd?: string): KubeProjectContext;
|
|
21
|
-
//# sourceMappingURL=testing.d.ts.map
|
package/dist/kube/top.d.ts
CHANGED
package/dist/kube/verdict.d.ts
CHANGED
|
@@ -42,4 +42,3 @@ export type KubeVerdict = "declared" | "owned" | "drifted" | "foreign-owned" | "
|
|
|
42
42
|
*/
|
|
43
43
|
export declare function declaredSubsetMatches(declared: unknown, live: unknown): boolean;
|
|
44
44
|
export declare function verdictFor(live: K8sObject, match: DeclaredMatch | undefined): KubeVerdict;
|
|
45
|
-
//# sourceMappingURL=verdict.d.ts.map
|
package/dist/kube/wait.d.ts
CHANGED
|
@@ -3,8 +3,47 @@ export type KustomizeRunner = (command: string) => Promise<{
|
|
|
3
3
|
stdout: string;
|
|
4
4
|
}>;
|
|
5
5
|
export declare const defaultKustomizeRunner: KustomizeRunner;
|
|
6
|
+
/**
|
|
7
|
+
* Helm inflation for a render (#5112). A kustomization with `helmCharts` only
|
|
8
|
+
* renders when kustomize is given `--enable-helm`, and kustomize then runs
|
|
9
|
+
* `helm pull` for any chart that is not already in the chart home, which
|
|
10
|
+
* reaches the network. Both are off until the caller asks.
|
|
11
|
+
*/
|
|
12
|
+
export interface KustomizeHelmOptions {
|
|
13
|
+
/** Pass `--enable-helm`. Without it a kustomization that has `helmCharts` is refused with a message naming this option. */
|
|
14
|
+
enableHelm?: boolean;
|
|
15
|
+
/** The `helm` binary, passed as `--helm-command`. Unset, kustomize looks for `helm` on PATH. */
|
|
16
|
+
helmCommand?: string;
|
|
17
|
+
/** Let kustomize pull a chart that is not in the chart home. Unset, a chart that is missing fails naming the chart, and no network is used. Needs `enableHelm`. */
|
|
18
|
+
fetchCharts?: boolean;
|
|
19
|
+
}
|
|
6
20
|
/** The exact render command, standalone binary first. Pure; exported for tests. */
|
|
7
|
-
export declare function renderCommand(dir: string, tool?: "kustomize" | "kubectl"): string;
|
|
21
|
+
export declare function renderCommand(dir: string, tool?: "kustomize" | "kubectl", helm?: KustomizeHelmOptions): string;
|
|
22
|
+
/**
|
|
23
|
+
* A kustomization names a chart and the render was not allowed to inflate it
|
|
24
|
+
* (`enableHelm` unset). A class of its own so the workspace graph reader tells
|
|
25
|
+
* it from a render the binary ran and refused.
|
|
26
|
+
*/
|
|
27
|
+
export declare class KustomizeHelmDisabledError extends Error {
|
|
28
|
+
constructor(message: string);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Helm inflation was asked for and a chart could not be had: it is not in the
|
|
32
|
+
* chart home and `fetchCharts` is off, or helm failed on it. The member reader
|
|
33
|
+
* keeps the Helm nodes it read as data when it sees this.
|
|
34
|
+
*/
|
|
35
|
+
export declare class KustomizeHelmRenderError extends Error {
|
|
36
|
+
constructor(message: string);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check a render's Helm settings before any subprocess runs. With inflation
|
|
40
|
+
* off, a kustomization that has `helmCharts` is refused here, naming the
|
|
41
|
+
* charts and the option. With it on and `fetchCharts` off, a chart that is
|
|
42
|
+
* not in its chart home is refused naming the chart and the directory it is
|
|
43
|
+
* expected in, so a render with no network says what is missing and never
|
|
44
|
+
* starts a pull. Kustomizations the root lists are checked too.
|
|
45
|
+
*/
|
|
46
|
+
export declare function checkHelmOptions(dir: string, helm?: KustomizeHelmOptions): void;
|
|
8
47
|
/**
|
|
9
48
|
* Neither `kustomize` nor `kubectl` is installed. A class of its own so a
|
|
10
49
|
* caller that can say "not rendered, and why" (the workspace graph reader,
|
|
@@ -19,5 +58,4 @@ export declare class KustomizeBinaryMissingError extends Error {
|
|
|
19
58
|
* binary is missing; when both binaries are missing, fails with a message
|
|
20
59
|
* naming them.
|
|
21
60
|
*/
|
|
22
|
-
export declare function renderKustomizeDocuments(dir: string, run?: KustomizeRunner): Promise<Array<Record<string, unknown>>>;
|
|
23
|
-
//# sourceMappingURL=render.d.ts.map
|
|
61
|
+
export declare function renderKustomizeDocuments(dir: string, run?: KustomizeRunner, helm?: KustomizeHelmOptions): Promise<Array<Record<string, unknown>>>;
|
package/dist/kustomize/render.js
CHANGED
|
@@ -21,8 +21,11 @@
|
|
|
21
21
|
* megabytes.
|
|
22
22
|
*/
|
|
23
23
|
import { exec } from "node:child_process";
|
|
24
|
+
import { existsSync, statSync } from "node:fs";
|
|
25
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
24
26
|
import { promisify } from "node:util";
|
|
25
27
|
import { loadAll } from "js-yaml";
|
|
28
|
+
import { readKustomizationFile } from "../helm-references.js";
|
|
26
29
|
const execAsync = promisify(exec);
|
|
27
30
|
export const defaultKustomizeRunner = (command) => execAsync(command, { maxBuffer: 64 * 1024 * 1024 });
|
|
28
31
|
/** Single-quote shell escaping, as helm-upgrade quotes its argv. */
|
|
@@ -30,8 +33,91 @@ function q(v) {
|
|
|
30
33
|
return `'${v.replace(/'/g, "'\\''")}'`;
|
|
31
34
|
}
|
|
32
35
|
/** The exact render command, standalone binary first. Pure; exported for tests. */
|
|
33
|
-
export function renderCommand(dir, tool = "kustomize") {
|
|
34
|
-
|
|
36
|
+
export function renderCommand(dir, tool = "kustomize", helm = {}) {
|
|
37
|
+
const flags = helm.enableHelm ? ` --enable-helm${helm.helmCommand ? ` --helm-command ${q(helm.helmCommand)}` : ""}` : "";
|
|
38
|
+
return tool === "kustomize" ? `kustomize build${flags} ${q(dir)}` : `kubectl kustomize${flags} ${q(dir)}`;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A kustomization names a chart and the render was not allowed to inflate it
|
|
42
|
+
* (`enableHelm` unset). A class of its own so the workspace graph reader tells
|
|
43
|
+
* it from a render the binary ran and refused.
|
|
44
|
+
*/
|
|
45
|
+
export class KustomizeHelmDisabledError extends Error {
|
|
46
|
+
constructor(message) {
|
|
47
|
+
super(message);
|
|
48
|
+
this.name = "KustomizeHelmDisabledError";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Helm inflation was asked for and a chart could not be had: it is not in the
|
|
53
|
+
* chart home and `fetchCharts` is off, or helm failed on it. The member reader
|
|
54
|
+
* keeps the Helm nodes it read as data when it sees this.
|
|
55
|
+
*/
|
|
56
|
+
export class KustomizeHelmRenderError extends Error {
|
|
57
|
+
constructor(message) {
|
|
58
|
+
super(message);
|
|
59
|
+
this.name = "KustomizeHelmRenderError";
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/** Every `helmCharts` entry of the kustomization at `dir` and of the local directories it lists in `resources`, `bases` and `components`. */
|
|
63
|
+
function helmChartEntries(dir, seen = new Set()) {
|
|
64
|
+
const root = resolve(dir);
|
|
65
|
+
if (seen.has(root))
|
|
66
|
+
return [];
|
|
67
|
+
seen.add(root);
|
|
68
|
+
const read = readKustomizationFile(root);
|
|
69
|
+
if (!read)
|
|
70
|
+
return [];
|
|
71
|
+
const { doc } = read;
|
|
72
|
+
const entries = [];
|
|
73
|
+
const globals = doc.helmGlobals && typeof doc.helmGlobals === "object" && !Array.isArray(doc.helmGlobals) ? doc.helmGlobals : {};
|
|
74
|
+
const home = typeof globals.chartHome === "string" && globals.chartHome !== "" ? globals.chartHome : "charts";
|
|
75
|
+
for (const c of Array.isArray(doc.helmCharts) ? doc.helmCharts : []) {
|
|
76
|
+
if (!c || typeof c !== "object" || Array.isArray(c))
|
|
77
|
+
continue;
|
|
78
|
+
const e = c;
|
|
79
|
+
if (typeof e.name !== "string" || e.name === "")
|
|
80
|
+
continue;
|
|
81
|
+
entries.push({ dir: root, name: e.name, version: typeof e.version === "string" ? e.version : "", chartHome: isAbsolute(home) ? home : join(root, home) });
|
|
82
|
+
}
|
|
83
|
+
for (const key of ["resources", "bases", "components"]) {
|
|
84
|
+
for (const item of Array.isArray(doc[key]) ? doc[key] : []) {
|
|
85
|
+
if (typeof item !== "string" || /^[a-z][a-z0-9+.-]*:\/\//i.test(item) || item.includes("::") || item.startsWith("git@"))
|
|
86
|
+
continue;
|
|
87
|
+
const child = resolve(root, item);
|
|
88
|
+
if (existsSync(child) && statSync(child).isDirectory())
|
|
89
|
+
entries.push(...helmChartEntries(child, seen));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return entries;
|
|
93
|
+
}
|
|
94
|
+
const chartLabel = (c) => `"${c.name}"${c.version ? ` ${c.version}` : ""}`;
|
|
95
|
+
/**
|
|
96
|
+
* Check a render's Helm settings before any subprocess runs. With inflation
|
|
97
|
+
* off, a kustomization that has `helmCharts` is refused here, naming the
|
|
98
|
+
* charts and the option. With it on and `fetchCharts` off, a chart that is
|
|
99
|
+
* not in its chart home is refused naming the chart and the directory it is
|
|
100
|
+
* expected in, so a render with no network says what is missing and never
|
|
101
|
+
* starts a pull. Kustomizations the root lists are checked too.
|
|
102
|
+
*/
|
|
103
|
+
export function checkHelmOptions(dir, helm = {}) {
|
|
104
|
+
const charts = helmChartEntries(dir);
|
|
105
|
+
if (charts.length === 0)
|
|
106
|
+
return;
|
|
107
|
+
if (!helm.enableHelm) {
|
|
108
|
+
throw new KustomizeHelmDisabledError(`Kustomization "${dir}" names Helm charts (${charts.map(chartLabel).join(", ")}), which kustomize renders only with --enable-helm. ` +
|
|
109
|
+
`Set enableHelm: true on the entry (k8s.kustomize.roots, or the member's k8s.member) to allow it; kustomize pulls a chart that is not in its chart home, so also set fetchCharts: true to allow the network.`);
|
|
110
|
+
}
|
|
111
|
+
if (helm.fetchCharts)
|
|
112
|
+
return;
|
|
113
|
+
// kustomize uses `<chartHome>/<name>`, and puts a chart it pulled at `<chartHome>/<name>-<version>/<name>`.
|
|
114
|
+
const missing = charts.filter((c) => !existsSync(join(c.chartHome, c.name)) && !(c.version && existsSync(join(c.chartHome, `${c.name}-${c.version}`, c.name))));
|
|
115
|
+
if (missing.length > 0) {
|
|
116
|
+
const first = missing[0];
|
|
117
|
+
throw new KustomizeHelmRenderError(`Kustomization "${dir}" names Helm chart ${chartLabel(first)}${missing.length > 1 ? ` and ${missing.length - 1} more (${missing.slice(1).map(chartLabel).join(", ")})` : ""}, ` +
|
|
118
|
+
`which is not in the chart home (${relative(resolve(dir), join(first.chartHome, first.name)) || "."} was expected), and fetching charts is off, so no network is used. ` +
|
|
119
|
+
`Put the chart there, or set fetchCharts: true to let kustomize pull it from its repository.`);
|
|
120
|
+
}
|
|
35
121
|
}
|
|
36
122
|
/**
|
|
37
123
|
* Neither `kustomize` nor `kubectl` is installed. A class of its own so a
|
|
@@ -47,24 +133,45 @@ export class KustomizeBinaryMissingError extends Error {
|
|
|
47
133
|
/** Does this error mean "the binary is not installed" (vs "the render failed")? */
|
|
48
134
|
function isMissingBinary(err) {
|
|
49
135
|
const message = err instanceof Error ? err.message : String(err);
|
|
136
|
+
// Go's "exec: \"helm\": executable file not found" is kustomize reporting a missing helm, not a missing kustomize.
|
|
137
|
+
if (/executable file not found/.test(message))
|
|
138
|
+
return false;
|
|
50
139
|
return /ENOENT|not found|command not found|127/.test(message);
|
|
51
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* A failure from the binary that is about Helm gets a message that names the
|
|
143
|
+
* option or the chart; any other failure is kustomize's own and passes through.
|
|
144
|
+
* The pre-check reads the root and the directories it lists, so this catches
|
|
145
|
+
* what it cannot see: a base that is a remote reference, or a chart helm
|
|
146
|
+
* itself refuses.
|
|
147
|
+
*/
|
|
148
|
+
function refineHelmFailure(dir, err, helm) {
|
|
149
|
+
const text = err instanceof Error ? err.message : String(err);
|
|
150
|
+
if (!helm.enableHelm && /must specify --enable-helm/.test(text)) {
|
|
151
|
+
return new KustomizeHelmDisabledError(`Kustomization "${dir}" names Helm charts, which kustomize renders only with --enable-helm. Set enableHelm: true on the entry to allow it. kustomize said: ${text}`);
|
|
152
|
+
}
|
|
153
|
+
if (helm.enableHelm && /helm|chart/i.test(text) && helmChartEntries(dir).length > 0) {
|
|
154
|
+
return new KustomizeHelmRenderError(`Kustomization "${dir}" has Helm charts and helm failed on them${helm.fetchCharts ? "" : " (fetching charts is off)"}. kustomize said: ${text}`);
|
|
155
|
+
}
|
|
156
|
+
return err;
|
|
157
|
+
}
|
|
52
158
|
/**
|
|
53
159
|
* Render the kustomization at `dir` and parse the emitted YAML into document
|
|
54
160
|
* objects. Falls back to kubectl's vendored kustomize when the standalone
|
|
55
161
|
* binary is missing; when both binaries are missing, fails with a message
|
|
56
162
|
* naming them.
|
|
57
163
|
*/
|
|
58
|
-
export async function renderKustomizeDocuments(dir, run = defaultKustomizeRunner) {
|
|
164
|
+
export async function renderKustomizeDocuments(dir, run = defaultKustomizeRunner, helm = {}) {
|
|
165
|
+
checkHelmOptions(dir, helm);
|
|
59
166
|
let stdout;
|
|
60
167
|
try {
|
|
61
|
-
({ stdout } = await run(renderCommand(dir, "kustomize")));
|
|
168
|
+
({ stdout } = await run(renderCommand(dir, "kustomize", helm)));
|
|
62
169
|
}
|
|
63
170
|
catch (err) {
|
|
64
171
|
if (!isMissingBinary(err))
|
|
65
|
-
throw err;
|
|
172
|
+
throw refineHelmFailure(dir, err, helm);
|
|
66
173
|
try {
|
|
67
|
-
({ stdout } = await run(renderCommand(dir, "kubectl")));
|
|
174
|
+
({ stdout } = await run(renderCommand(dir, "kubectl", helm)));
|
|
68
175
|
}
|
|
69
176
|
catch (err2) {
|
|
70
177
|
if (isMissingBinary(err2)) {
|
|
@@ -72,7 +179,7 @@ export async function renderKustomizeDocuments(dir, run = defaultKustomizeRunner
|
|
|
72
179
|
`(whose vendored \`kubectl kustomize\` is the fallback) was found on PATH. ` +
|
|
73
180
|
`Install kustomize or kubectl and retry.`);
|
|
74
181
|
}
|
|
75
|
-
throw err2;
|
|
182
|
+
throw refineHelmFailure(dir, err2, helm);
|
|
76
183
|
}
|
|
77
184
|
}
|
|
78
185
|
const documents = [];
|
|
@@ -38,4 +38,3 @@ export declare function renderedLogicalId(kind: string, name: string | undefined
|
|
|
38
38
|
* order. Returns the key used.
|
|
39
39
|
*/
|
|
40
40
|
export declare function addRenderedEntity(entities: Map<string, Declarable>, prefix: string, entity: RenderedManifestEntity): string;
|
|
41
|
-
//# sourceMappingURL=rendered-entity.d.ts.map
|
package/dist/kustomize/root.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Declarable } from "@intentius/chant/declarable";
|
|
2
|
-
import { type KustomizeRunner } from "./render.js";
|
|
2
|
+
import { type KustomizeHelmOptions, type KustomizeRunner } from "./render.js";
|
|
3
3
|
import { type RenderedPatch } from "../patch/rendered-patch.js";
|
|
4
4
|
/**
|
|
5
5
|
* One `k8s.kustomize.roots` entry: a directory, or a directory plus patches
|
|
6
6
|
* applied to its rendered documents (#3566).
|
|
7
7
|
*/
|
|
8
|
-
export type KustomizeRootEntry = string | {
|
|
8
|
+
export type KustomizeRootEntry = string | ({
|
|
9
9
|
path: string;
|
|
10
10
|
patches?: RenderedPatch[];
|
|
11
|
-
};
|
|
11
|
+
} & KustomizeHelmOptions);
|
|
12
12
|
export interface KustomizeRootsResult {
|
|
13
13
|
entities: Map<string, Declarable>;
|
|
14
14
|
warnings: string[];
|
|
@@ -25,4 +25,3 @@ export declare function renderKustomizeRoots(opts: {
|
|
|
25
25
|
/** Injectable renderer (tests); defaults to the real subprocess runner. */
|
|
26
26
|
run?: KustomizeRunner;
|
|
27
27
|
}): Promise<KustomizeRootsResult>;
|
|
28
|
-
//# sourceMappingURL=root.d.ts.map
|
package/dist/kustomize/root.js
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
* - **Deterministic**: entity names derive from the root dir plus each
|
|
21
21
|
* document's kind/name/namespace, disambiguated in render order — the same
|
|
22
22
|
* overlay renders the same entity set every build.
|
|
23
|
+
* - **Helm is opt-in** (#5112): a root with `helmCharts` renders only with
|
|
24
|
+
* `enableHelm: true` on its entry, and a chart that is not already in the
|
|
25
|
+
* chart home is pulled only with `fetchCharts: true` (the one setting that
|
|
26
|
+
* reaches the network).
|
|
23
27
|
* - **Fail loudly, not weirdly**: a root that doesn't exist, or a dir with no
|
|
24
28
|
* kustomization file, refuses with the path in the message before any
|
|
25
29
|
* subprocess runs — offline, the failure mode is a sentence, never a
|
|
@@ -42,6 +46,7 @@ export async function renderKustomizeRoots(opts) {
|
|
|
42
46
|
for (const entry of opts.roots) {
|
|
43
47
|
const root = typeof entry === "string" ? entry : entry.path;
|
|
44
48
|
const patches = typeof entry === "string" ? undefined : entry.patches;
|
|
49
|
+
const helm = typeof entry === "string" ? {} : { enableHelm: entry.enableHelm, helmCommand: entry.helmCommand, fetchCharts: entry.fetchCharts };
|
|
45
50
|
const rootDir = isAbsolute(root) ? root : resolve(opts.projectRoot, root);
|
|
46
51
|
// The label rendered docs carry as provenance: the declared (relative)
|
|
47
52
|
// form when possible, so it names the overlay the way the config does.
|
|
@@ -53,7 +58,7 @@ export async function renderKustomizeRoots(opts) {
|
|
|
53
58
|
throw new Error(`k8s.kustomize.roots entry "${root}": ${rootDir} contains no kustomization file ` +
|
|
54
59
|
`(expected one of ${KUSTOMIZATION_FILES.join(", ")})`);
|
|
55
60
|
}
|
|
56
|
-
const rendered = await renderKustomizeDocuments(rootDir, run);
|
|
61
|
+
const rendered = await renderKustomizeDocuments(rootDir, run, helm);
|
|
57
62
|
const documents = applyRenderedPatches(rendered, patches, `kustomize root "${rootLabel}"`);
|
|
58
63
|
for (const doc of documents) {
|
|
59
64
|
const entity = renderedManifestEntity(doc, rootLabel);
|
|
@@ -45,6 +45,7 @@ export const k8sAuditCatalog = {
|
|
|
45
45
|
WK8503: auditRule("WK8503", "merge-worthy", "guidance", "Workload consumes a Secret nothing in the output produces", "Produce the Secret in the same build (Secret, ExternalSecret, InfisicalSecret, cert-manager Certificate), or declare its provenance with declareSecret() if it exists out of band.", { category: "correctness" }),
|
|
46
46
|
WK8504: auditRule("WK8504", "merge-worthy", "guidance", "committed-encrypted secret declaration does not resolve", "Point `file` at the committed ciphertext, make its metadata.name match the declaration, and re-run `sops -e -i` so every data/stringData value is ENC[...].", { authority: [K8S_SECRETS] }),
|
|
47
47
|
WK8505: auditRule("WK8505", "report-only", "guidance", "committed-encrypted secret with no Flux decryption wiring", "Add decryption: \"sops\" to the FluxAppFor reconciling the path that carries the ciphertext sidecar, or ignore if that Kustomization is declared in a different build. This check sees one build root at a time, so it goes silent once the secret and the Kustomization live in different build roots (chant #1939).", { category: "correctness" }),
|
|
48
|
+
WK8506: auditRule("WK8506", "merge-worthy", "guidance", "Object has a top-level key its kind does not declare", "Move the key under the field that holds it (a labels key belongs under metadata) or remove it; kubectl apply rejects it, and the API server drops it when validation is off.", { category: "correctness" }),
|
|
48
49
|
WK8601: auditRule("WK8601", "merge-worthy", "guidance", "OpenTelemetry Collector runs tail_sampling on every node", "Move tail_sampling from the DaemonSet agent to a gateway Deployment, and send traces to it through a loadbalancing exporter routed by traceID.", { category: "correctness" }),
|
|
49
50
|
WK8602: auditRule("WK8602", "merge-worthy", "guidance", "Multi-replica tail sampling gateway reached without trace-aware load balancing", "Send traces to the gateway through a loadbalancing exporter with routing_key traceID (k8s resolver, or dns on a headless Service), or run the gateway with one replica. It goes silent when the senders are in another build root (chant #1939).", { category: "correctness" }),
|
|
50
51
|
WK8603: auditRule("WK8603", "merge-worthy", "guidance", "k8s_cluster receiver runs in every collector copy", "Run the k8s_cluster receiver in a single-replica Deployment, or set its k8s_leader_elector to a k8s_leader_elector extension enabled in service.extensions.", { category: "correctness" }),
|
|
@@ -19,8 +19,10 @@ export declare function manifestsOfKind(manifests: K8sManifest[], kind: string):
|
|
|
19
19
|
/**
|
|
20
20
|
* Read a string field from a Secret's stringData or data block.
|
|
21
21
|
* (Argo cluster Secrets conventionally use stringData.)
|
|
22
|
+
*
|
|
23
|
+
* A value the live reader masked is not a value: it reads as absent, so a
|
|
24
|
+
* masked `name` or `server` never registers a cluster called "<masked>" or "[REDACTED]".
|
|
22
25
|
*/
|
|
23
26
|
export declare function secretField(manifest: K8sManifest, key: string): string | undefined;
|
|
24
27
|
/** True if the Secret is labelled as an Argo cluster registration. */
|
|
25
28
|
export declare function isClusterSecret(manifest: K8sManifest): boolean;
|
|
26
|
-
//# sourceMappingURL=argo-helpers.d.ts.map
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { MASKED } from "@intentius/chant/deep-observation";
|
|
1
2
|
import { docsToManifests } from "./k8s-helpers.js";
|
|
3
|
+
/** What the live lister (`<masked>`) and the deep observation (`[REDACTED]`) leave where a value was. */
|
|
4
|
+
const MASKED_VALUES = new Set([MASKED, "<masked>"]);
|
|
2
5
|
/** The always-present, in-cluster Argo destination. */
|
|
3
6
|
export const IN_CLUSTER_SERVER = "https://kubernetes.default.svc";
|
|
4
7
|
export const IN_CLUSTER_NAME = "in-cluster";
|
|
@@ -15,15 +18,18 @@ export function manifestsOfKind(manifests, kind) {
|
|
|
15
18
|
/**
|
|
16
19
|
* Read a string field from a Secret's stringData or data block.
|
|
17
20
|
* (Argo cluster Secrets conventionally use stringData.)
|
|
21
|
+
*
|
|
22
|
+
* A value the live reader masked is not a value: it reads as absent, so a
|
|
23
|
+
* masked `name` or `server` never registers a cluster called "<masked>" or "[REDACTED]".
|
|
18
24
|
*/
|
|
19
25
|
export function secretField(manifest, key) {
|
|
20
26
|
const stringData = manifest.stringData;
|
|
21
27
|
const data = manifest.data;
|
|
22
28
|
const fromStringData = stringData?.[key];
|
|
23
|
-
if (typeof fromStringData === "string")
|
|
29
|
+
if (typeof fromStringData === "string" && !MASKED_VALUES.has(fromStringData))
|
|
24
30
|
return fromStringData;
|
|
25
31
|
const fromData = data?.[key];
|
|
26
|
-
if (typeof fromData === "string")
|
|
32
|
+
if (typeof fromData === "string" && !MASKED_VALUES.has(fromData))
|
|
27
33
|
return fromData;
|
|
28
34
|
return undefined;
|
|
29
35
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { allManifests, manifestsOfKind } from "./argo-helpers.js";
|
|
2
|
+
import { nameOf } from "./k8s-helpers.js";
|
|
2
3
|
export const argo002 = {
|
|
3
4
|
id: "ARGO002",
|
|
4
5
|
description: "Application.spec.project must reference a declared AppProject (or the built-in default)",
|
|
@@ -12,7 +13,7 @@ export const argo002 = {
|
|
|
12
13
|
declaredProjects.add("default");
|
|
13
14
|
for (const app of manifestsOfKind(manifests, "Application")) {
|
|
14
15
|
const project = app.spec?.project;
|
|
15
|
-
const name = app
|
|
16
|
+
const name = nameOf(app, "Application");
|
|
16
17
|
// No project set → defaults to `default` at sync time; not this check's job.
|
|
17
18
|
if (typeof project !== "string" || project === "")
|
|
18
19
|
continue;
|