Skip to content

chore(api): integrate crd-enricher into CRD codegen#2622

Merged
prismagod merged 2 commits into
mainfrom
docs/add-crd-enricher
Jul 10, 2026
Merged

chore(api): integrate crd-enricher into CRD codegen#2622
prismagod merged 2 commits into
mainfrom
docs/add-crd-enricher

Conversation

@prismagod

Copy link
Copy Markdown
Member

Description

Integrate Deckhouse crd-enricher into the API CRD generation pipeline.
After controller-gen, enricher runs on the temporary CRD output (before files are copied to crds/), matching the flow in deckhouse#21220.

Why do we need it, and what problem does it solve?

This enables +crd-enricher:raw:* and other markers in Go API types without editing generated CRD YAML by hand.

What is the expected result?

  • cd api && task generate:crds completes successfully (Docker required for format:yaml)
  • With no enricher markers, generated CRDs are unchanged after prettier

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: api
type: chore
summary: "Integrate crd-enricher into the API CRD codegen pipeline."

@prismagod prismagod added this to the v1.10.0 milestone Jul 9, 2026
@prismagod prismagod requested a review from yaroslavborbat July 9, 2026 13:37
@prismagod prismagod self-assigned this Jul 9, 2026
@prismagod prismagod added documentation Improvements or additions to documentation validation/skip/doc_changes Skip doc changes validation labels Jul 9, 2026
yaroslavborbat
yaroslavborbat previously approved these changes Jul 9, 2026
Comment thread crds/virtualmachines.yaml Outdated
Comment thread crds/virtualmachines.yaml Outdated
diafour
diafour previously approved these changes Jul 9, 2026
@prismagod prismagod force-pushed the docs/add-crd-enricher branch 2 times, most recently from 3b900f9 to 596ec2e Compare July 10, 2026 10:17
Signed-off-by: Vladislav Panfilov <vladislav.panfilov@flant.com>
@prismagod prismagod force-pushed the docs/add-crd-enricher branch from 596ec2e to ff72e98 Compare July 10, 2026 10:53
Signed-off-by: Vladislav Panfilov <vladislav.panfilov@flant.com>
@prismagod prismagod merged commit df1a317 into main Jul 10, 2026
25 of 27 checks passed
@prismagod prismagod deleted the docs/add-crd-enricher branch July 10, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation validation/skip/doc_changes Skip doc changes validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants