Skip to content

Generate ToolHive Helm values references - #1226

Merged
danbarr merged 3 commits into
mainfrom
add-toolhive-helm-reference
Oct 9, 2026
Merged

danbarr merged 3 commits into
mainfrom
add-toolhive-helm-reference

Conversation

@danbarr

@danbarr danbarr commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Generate Helm values references for the ToolHive operator, operator-CRDs, and Registry Server charts from their release checkouts using a pinned, checksum-verified helm-docs binary. Pages include field anchors, types, defaults, and upstream descriptions, with expandable YAML for large defaults. The website builds from checked-in MDX without a Go toolchain.

Preserve multiline source comments so YAML examples and lists remain readable. The references state their coverage of values declared in the default values.yaml, and normalize ToolHive spelling in prose while preserving code literals. Document the Registry Server's application config as a passthrough block with links to its configuration and database guides; the curated description lives in the generation configuration.

Add all three references to their product sidebars, deployment guides, and the grouped reference landing page. Release automation discovers chart inputs declaratively and refreshes generated pages before content sessions.

Type of change

  • New documentation
  • Navigation/structure change

Related issues/PRs

Addresses the ToolHive and Registry Server portions of #957. Enterprise reference generation remains a follow-up; upstream description coverage is addressed in stacklok/stacklok-enterprise-platform#4895.

Validation

  • npm run build, npm run prettier, and npm run eslint passed.
  • Six generator tests passed, covering MDX escaping, annotation overrides, missing-description failures, multiline examples and lists, passthrough descriptions, and coverage language.
  • Deterministic generation against ToolHive v0.51.4 and Registry Server v1.5.2 yields 57 operator entries, 3 CRD chart entries, and 33 Registry Server entries, leaving upstream checkouts clean.
  • Parsed YAML is unchanged by the temporary Registry Server description annotation.
  • Zizmor reports no findings. Actionlint flags only the existing $/.github/actions/setup reference, also present on the base branch.

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Navigation

  • New pages include title and description front matter
  • Sidebar navigation updated
  • No existing URLs moved or renamed

Reviewer checklist

Content

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Copilot AI balanced review requested due to automatic review settings October 9, 2026 16:59
@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs-website Ready Ready Preview Oct 9, 2026 5:21pm UTC

Request Review

Copilot AI 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.

🟡 Changes recommended

The generator flattens structured chart comments, and the reference omits supported values while being presented as complete.

3 open findings
What changed in this PR

Adds automated ToolHive Helm values references generated from pinned release sources and integrates them into the documentation site.

Changes:

  • Adds and tests the Helm reference generator.
  • Updates release automation with checksum-verified helm-docs.
  • Adds generated references, navigation, and deployment-guide links.
File Description
sidebars.ts Adds Helm references to Kubernetes navigation.
scripts/​upstream-release/​helm-values.gotmpl Serializes Helm value metadata.
scripts/​upstream-release/​generate-helm-reference.test.mjs Tests rendering and validation.
scripts/​upstream-release/​generate-helm-reference.mjs Generates reference MDX.
docs/​toolhive/​reference/​index.mdx Adds grouped Helm reference cards.
docs/​toolhive/​reference/​helm/​operator.mdx Provides generated operator values.
docs/​toolhive/​reference/​helm/​operator-crds.mdx Provides generated CRD chart values.
docs/​toolhive/​guides-k8s/​deploy-operator.mdx Links deployment guidance to references.
AGENTS.md Marks Helm references as generated.
.github/​workflows/​upstream-release-docs.yml Installs and runs pinned helm-docs.
.github/​upstream-projects.yaml Configures Helm charts and output pages.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@danbarr
danbarr merged commit 535e8a1 into main Oct 9, 2026
6 checks passed
@danbarr
danbarr deleted the add-toolhive-helm-reference branch October 9, 2026 18:23

This branch was successfully deployed

1 active deployment
Preview — 7fdb03eb Deployed Oct 9, 2026 by vercel[bot]
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