Skip to main content

Generated Artifacts

Do not edit generated files manually

Edit the source input and rerun the owning command. Manual edits to generated output will be overwritten and usually hide the real source of truth from the next reviewer.

Reference table

Quick reference

Quick reference.
If you changedRegenerate withMain CI verifier
api/v1alpha1/*.go comments or API shapes that affect docsmake api-referenceverify-generated
CRD, admission, or RBAC inputs that feed the chartmake helm-syncverify-helm
.ast-grep/policy/architecture-boundaries.ymlmake generate-ast-rulesverify-arch-policy
internal/adapter/config/*.go renderer behaviormake test-update-goldentest

Artifact ownership

  • Kubernetes CRDs and zz_generated.deepcopy.go come from api/v1alpha1/*.go.
  • API reference docs come from API types and comments.
  • Helm chart sync output comes from CRD, policy, and RBAC source material.
  • Golden HCL files come from renderer behavior in internal/adapter/config/.
  • Ast-grep boundary rules come from .ast-grep/policy/architecture-boundaries.yml.

Verify

Safe regeneration sweep

bash

make manifests generate
make api-reference
make helm-sync
make generate-ast-rules
make test-update-golden

Use this when several change areas overlap or when CI tells you generated output drifted but the failing surface is not obvious yet.

After regeneration

Next release documentation

You are reading the unreleased main docs. Use the version menu for the newest published release, or check the release notes for what is already out.

Was this page helpful?

Use Needs work to open a structured GitHub issue for this page. The Yes button only acknowledges the signal locally.