Skip to content

Add docs-schema-mapping.yaml for documentation-schema relationships#44956

Merged
Crow-Control merged 2 commits intocommon2026from
copilot/sub-pr-41017-again
Feb 14, 2026
Merged

Add docs-schema-mapping.yaml for documentation-schema relationships#44956
Crow-Control merged 2 commits intocommon2026from
copilot/sub-pr-41017-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 14, 2026

Created a comprehensive mapping file that documents the relationships between markdown documentation files and their corresponding JSON schema files in the common chart library.

Changes

  • Added charts/library/common/docs-schema-mapping.yaml: YAML mapping showing which docs files relate to which schema files
    • Direct 1:1 mappings (e.g., docs/addons.mdschemas/addons/addons.json)
    • One-to-many relationships where documentation applies to multiple schemas (e.g., docs/container/env.md → both schemas/workload/podSpec/containers/env.json and schemas/workload/podSpec/initContainers/env.json)
    • Lists of schemas without documentation and docs without schemas for completeness

Structure

The mapping is organized hierarchically by category:

  • Top-level configurations (addons, certificate, configmap, hpa, etc.)
  • CNPG resources
  • Container configurations
  • Ingress and middleware configurations
  • Persistence types
  • Service types
  • Workload types

This provides a single reference for maintaining consistency between documentation and validation schemas.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: PrivatePuffin <7613738+PrivatePuffin@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor common module with breaking changes Add docs-schema-mapping.yaml for documentation-schema relationships Feb 14, 2026
Copilot AI requested a review from Crow-Control February 14, 2026 20:59
@Crow-Control Crow-Control marked this pull request as ready for review February 14, 2026 21:12
Copilot AI review requested due to automatic review settings February 14, 2026 21:12
@Crow-Control Crow-Control merged commit 446a431 into common2026 Feb 14, 2026
2 checks passed
@Crow-Control Crow-Control deleted the copilot/sub-pr-41017-again branch February 14, 2026 21:12
Copy link
Copy Markdown
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 pull request introduces a comprehensive mapping file that documents the relationships between markdown documentation files and their corresponding JSON schema files in the common chart library. This mapping serves as a single source of truth for maintaining consistency between documentation and validation schemas.

Changes:

  • Added charts/library/common/docs-schema-mapping.yaml with complete mappings between docs and schemas
  • Documented both 1:1 and one-to-many relationships where documentation applies to multiple schemas
  • Included lists of schemas without documentation and docs without schemas for completeness

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

@@ -0,0 +1,358 @@
# Mapping of documentation files to their related schema files
# Format:
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

There is trailing whitespace after "Format:" in the comment. While this doesn't affect functionality, it's generally good practice to avoid trailing whitespace in files.

Copilot uses AI. Check for mistakes.
Crow-Control added a commit that referenced this pull request Feb 14, 2026
…44956)

Created a comprehensive mapping file that documents the relationships
between markdown documentation files and their corresponding JSON schema
files in the common chart library.

## Changes

- **Added `charts/library/common/docs-schema-mapping.yaml`**: YAML
mapping showing which docs files relate to which schema files
- Direct 1:1 mappings (e.g., `docs/addons.md` →
`schemas/addons/addons.json`)
- One-to-many relationships where documentation applies to multiple
schemas (e.g., `docs/container/env.md` → both
`schemas/workload/podSpec/containers/env.json` and
`schemas/workload/podSpec/initContainers/env.json`)
- Lists of schemas without documentation and docs without schemas for
completeness

## Structure

The mapping is organized hierarchically by category:
- Top-level configurations (addons, certificate, configmap, hpa, etc.)
- CNPG resources
- Container configurations
- Ingress and middleware configurations
- Persistence types
- Service types
- Workload types

This provides a single reference for maintaining consistency between
documentation and validation schemas.

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PrivatePuffin <7613738+PrivatePuffin@users.noreply.github.com>
Crow-Control added a commit that referenced this pull request Feb 15, 2026
…44956)

Created a comprehensive mapping file that documents the relationships
between markdown documentation files and their corresponding JSON schema
files in the common chart library.

## Changes

- **Added `charts/library/common/docs-schema-mapping.yaml`**: YAML
mapping showing which docs files relate to which schema files
- Direct 1:1 mappings (e.g., `docs/addons.md` →
`schemas/addons/addons.json`)
- One-to-many relationships where documentation applies to multiple
schemas (e.g., `docs/container/env.md` → both
`schemas/workload/podSpec/containers/env.json` and
`schemas/workload/podSpec/initContainers/env.json`)
- Lists of schemas without documentation and docs without schemas for
completeness

## Structure

The mapping is organized hierarchically by category:
- Top-level configurations (addons, certificate, configmap, hpa, etc.)
- CNPG resources
- Container configurations
- Ingress and middleware configurations
- Persistence types
- Service types
- Workload types

This provides a single reference for maintaining consistency between
documentation and validation schemas.

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PrivatePuffin <7613738+PrivatePuffin@users.noreply.github.com>
@truecharts-admin
Copy link
Copy Markdown
Contributor

This PR is locked to prevent necro-posting on closed PRs. Please create a issue or contact staff on discord if you want to further discuss this

@trueforge-org trueforge-org locked as resolved and limited conversation to collaborators Feb 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants