Add docs-schema-mapping.yaml for documentation-schema relationships#44956
Add docs-schema-mapping.yaml for documentation-schema relationships#44956Crow-Control merged 2 commits intocommon2026from
Conversation
Co-authored-by: PrivatePuffin <7613738+PrivatePuffin@users.noreply.github.com>
There was a problem hiding this comment.
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.yamlwith 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: | |||
There was a problem hiding this comment.
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.
…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>
…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>
|
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 |
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
charts/library/common/docs-schema-mapping.yaml: YAML mapping showing which docs files relate to which schema filesdocs/addons.md→schemas/addons/addons.json)docs/container/env.md→ bothschemas/workload/podSpec/containers/env.jsonandschemas/workload/podSpec/initContainers/env.json)Structure
The mapping is organized hierarchically by category:
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.