Skip to content

operator: include the Broker CRD in the CRD reference - #1986

Merged
JakeSCahill merged 2 commits into
mainfrom
jake/broker-crd-reference
Oct 28, 2026
Merged

JakeSCahill merged 2 commits into
mainfrom
jake/broker-crd-reference

Conversation

@JakeSCahill

Copy link
Copy Markdown
Contributor

Removes the Broker types from the crd-ref-docs ignore list so the generated CRD reference documents the Broker resource, for the 26.3 docs (https://github.com/redpanda-data/docs/pull/2237). The BrokerPool types stay ignored.

Also adds a Broker type description, lists the BrokerPhase values, and moves the implementation note on BrokerPodTemplate out of its doc comment. Regenerated testdata/crd-docs.adoc and the Broker CRD with controller-gen 0.20.1 and crd-ref-docs 0.3.0.

Stop ignoring the Broker types in crd-ref-docs-config.yaml so the
generated CRD reference documents the Broker resource. Keep the
BrokerPool types ignored: they're StretchCluster internals.

Add a Broker type description, list the BrokerPhase values, and move
the implementation note on BrokerPodTemplate out of its doc comment.
@secpanda

secpanda commented Oct 19, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@JakeSCahill
JakeSCahill marked this pull request as ready for review October 23, 2026 20:34

@hidalgopl hidalgopl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor comment

DefaultNodePoolName = "default"
)

// Broker represents a single Redpanda broker and owns its Pod and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using "owns" here may be a bit misleading; Pod is owned by Broker CR, PVC isn't (but it's lifetime is tied to Broker CR lifetime).

@JakeSCahill
JakeSCahill merged commit 32bdf0a into main Oct 28, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants