docs(doc-1576): add patching reference page for sync resources#2335
docs(doc-1576): add patching reference page for sync resources#2335djwfyi wants to merge 4 commits into
Conversation
new patching section covering path syntax, expression/reference/labels modes, supported resources tables with fromHost keyword guidance, validation rules, and troubleshooting. fixes broken patching links across 22 resource pages that were missing the README.mdx suffix. Closes DOC-1576 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
adds 11 missing fromHost resources to the supported resources table, corrects the gateways link to point to the fromHost page, and replaces the mermaid diagram with an svg showing expression/reverseExpression directionality. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for vcluster-docs-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
the prose and supported resources tables already cover the config key paths; the empty patches example added no additional value. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
||
| Choose the mode based on what the field contains: | ||
|
|
||
| | When you need to transform ... | Use | |
There was a problem hiding this comment.
[Google.Ellipses] In general, don't use an ellipsis.
| | [Storage Classes](../from-host/storage-classes.mdx) | `sync.fromHost.storageClasses.patches` | `expression` | | ||
| | Volume Snapshot Classes | `sync.fromHost.volumeSnapshotClasses.patches` | `expression` | | ||
|
|
||
| ## Troubleshooting |
There was a problem hiding this comment.
[Loft.imperative-headings] Headings should start with an imperative verb. 'Troubleshooting' appears to be a present participle (ends with 'ing').
| ## Resources available to sync from control plane cluster to tenant cluster | ||
| <SyncFromHostResources/> | ||
|
|
||
| ## Patching synced resources |
There was a problem hiding this comment.
[Loft.imperative-headings] Headings should start with an imperative verb. 'Patching' appears to be a present participle (ends with 'ing').
|
|
||
| Choose the mode based on what the field contains: | ||
|
|
||
| | When you need to transform ... | Use | |
There was a problem hiding this comment.
[Google.Ellipses] In general, don't use an ellipsis.
| | [Storage Classes](../from-host/storage-classes.mdx) | `sync.fromHost.storageClasses.patches` | `expression` | | ||
| | Volume Snapshot Classes | `sync.fromHost.volumeSnapshotClasses.patches` | `expression` | | ||
|
|
||
| ## Troubleshooting |
There was a problem hiding this comment.
[Loft.imperative-headings] Headings should start with an imperative verb. 'Troubleshooting' appears to be a present participle (ends with 'ing').
surfaces the expression/reverseExpression rule for fromHost resources earlier in the expression patches section, and expands the fromHost table lead-in to explain why configmaps, secrets, and custom resources are exceptions to the expected direction model. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Content Description
New
/configure/vcluster-yaml/sync/patchingreference page documenting sync patch configuration. Covers path syntax (dot notation, bracket notation, wildcards, empty paths), patch modes (expression, reference, labels), directionality for toHost and fromHost resources, validation rules, and a troubleshooting table. Includes an SVG diagram showing the expression/reverseExpression flow.Also fixes broken patching links across 22 existing resource pages — all were missing the
README.mdxsuffix, causing silent 404s on click.Preview Link
https://deploy-preview-2335--vcluster-docs-site.netlify.app/docs/vcluster/next/configure/vcluster-yaml/sync/patching
Internal Reference
Closes DOC-1576
AI review: mention
@claudein a comment to request a review or changes. See CONTRIBUTING.md for available commands.@netlify /docs