Skip to content

docs: update generated CRD reference - #347

Merged
choufraise merged 3 commits into
mainfrom
docs/update-crd-reference
Jul 30, 2026
Merged

docs: update generated CRD reference#347
choufraise merged 3 commits into
mainfrom
docs/update-crd-reference

Conversation

@choufraise

Copy link
Copy Markdown
Collaborator

Refresh the generated CRD documentation to include AccountSigningKey and signing key reference fields.

@choufraise
choufraise requested a review from a team as a code owner July 30, 2026 08:24

@cmoscofian cmoscofian 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.

As I was looking at this, I can see that the duplicated fields issue is something that is already present in the other references. Would be nice to adjust everything, since we are fixing docs.

Comment thread www/src/content/docs/crds.md
Comment thread www/src/content/docs/crds.md
Comment thread www/src/content/docs/crds.md Outdated
Refresh the generated CRD documentation to include AccountSigningKey and signing key reference fields.

Signed-off-by: Thobias Karlsson <thobias.karlsson@gmail.com>
@choufraise
choufraise force-pushed the docs/update-crd-reference branch from 16a8a01 to 19cf96f Compare July 30, 2026 13:00
Ignore embedded Kubernetes TypeMeta fields when generating the CRD reference. This removes duplicate apiVersion and kind rows while keeping the concise constant-value rows for each resource.

Signed-off-by: Thobias Karlsson <thobias.karlsson@gmail.com>
Render CRD reference validation markers through a local crd-ref-docs markdown template override so generator artifacts stay reproducible.

The upstream markdown renderer prints kubebuilder presence markers verbatim as Optional: {} and Required: {}, which makes the validation column noisy and hard to scan. Hide Optional because optionality is not a validation constraint, render Required as a plain label, and de-duplicate repeated marker output while keeping real validations such as Enum, Pattern, MinLength, and MaxItems.

Signed-off-by: Thobias Karlsson <thobias.karlsson@gmail.com>
@choufraise
choufraise force-pushed the docs/update-crd-reference branch from 19cf96f to 646ff8a Compare July 30, 2026 13:11
@choufraise
choufraise merged commit 646ff8a into main Jul 30, 2026
8 checks passed
@choufraise
choufraise deleted the docs/update-crd-reference branch July 30, 2026 13:26
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.

2 participants