Skip to content

docs(resources): add HostnameGenerator reference#2557

Merged
Automaat merged 7 commits intomasterfrom
docs/add-hostnamegenerator-reference
Nov 28, 2025
Merged

docs(resources): add HostnameGenerator reference#2557
Automaat merged 7 commits intomasterfrom
docs/add-hostnamegenerator-reference

Conversation

@Automaat
Copy link
Contributor

Motivation

Add comprehensive reference documentation for HostnameGenerator resource to provide users with detailed spec/status field descriptions and examples.

Implementation information

  • Generated initial doc using mise new:resource HostnameGenerator
  • Enhanced with comprehensive content based on:
    • Existing networking/hostnamegenerator.md guide
    • Go API definition (v1alpha1)
    • CRD schema
    • MADR 057 (default hostname generators)
    • Default generator implementations
  • Added to Core Resources section in 2.13.x nav
  • Included schema viewer for complete CRD reference

Supporting documentation

  • Links to existing HostnameGenerator guide
  • Related resource docs: MeshService, MeshExternalService, MeshMultiZoneService

Add comprehensive HostnameGenerator resource documentation covering:
- Spec fields (selector, template, extension)
- Template variables (.DisplayName, .Namespace, .Zone, .Mesh, label function)
- Status fields (addresses)
- Examples for MeshService, MeshExternalService, MeshMultiZoneService
- Integration with existing networking guide

Includes schema viewer integration for complete CRD reference.

Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
@Automaat Automaat requested a review from a team as a code owner November 28, 2025 11:13
@Automaat Automaat requested review from Copilot, jijiechen and schogges and removed request for a team and Copilot November 28, 2025 11:13
@netlify
Copy link

netlify bot commented Nov 28, 2025

Deploy Preview for kuma ready!

Name Link
🔨 Latest commit d34b985
🔍 Latest deploy log https://app.netlify.com/projects/kuma/deploys/6929878edaa6c00008ce9809
😎 Deploy Preview https://deploy-preview-2557--kuma.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89 (🟢 up 21 from production)
Accessibility: 90 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
Copilot AI review requested due to automatic review settings November 28, 2025 11:15
Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
Include staged and unstaged changes in vale:branch task to catch issues before commit.

Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
Consistent with vale:branch - check staged and unstaged changes.

Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive reference documentation for the HostnameGenerator resource to help users understand how to generate custom DNS hostnames for service resources. The documentation complements the existing HostnameGenerator guide by providing detailed field descriptions and practical examples.

Key Changes

  • Added complete HostnameGenerator resource reference documentation with spec/status field tables
  • Included multiple examples showing different use cases (basic, with namespaces/zones, with label functions, and for different service types)
  • Added HostnameGenerator to the Core Resources section of the 2.13.x navigation

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
app/_src/resources/hostnamegenerator.md New comprehensive reference documentation for HostnameGenerator with spec/status fields, template variables, examples for all service types (MeshService, MeshExternalService, MeshMultiZoneService), related links, and CRD schema viewer
app/_data/docs_nav_kuma_2.13.x.yml Added HostnameGenerator entry to Core Resources section in documentation navigation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
- Updated all example section headings to use full resource name "HostnameGenerator"
- Added "HostnameGenerator" to Vale accept list for proper noun recognition

Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
@Automaat Automaat merged commit 5f19244 into master Nov 28, 2025
22 checks passed
@Automaat Automaat deleted the docs/add-hostnamegenerator-reference branch November 28, 2025 11:41
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