Skip to content

docs(doc-1576): add patching reference page for sync resources#2335

Open
djwfyi wants to merge 4 commits into
mainfrom
DOC-1576/patching-consolidation
Open

docs(doc-1576): add patching reference page for sync resources#2335
djwfyi wants to merge 4 commits into
mainfrom
DOC-1576/patching-consolidation

Conversation

@djwfyi

@djwfyi djwfyi commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Content Description

New /configure/vcluster-yaml/sync/patching reference 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.mdx suffix, 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 @claude in a comment to request a review or changes. See CONTRIBUTING.md for available commands.

FORK LIMITATION: @claude does not work on pull requests opened from forks. GitHub Actions cannot access the required secrets for fork-originated PRs. To use AI review, push your branch directly to this repository.

@netlify /docs

djwfyi and others added 2 commits June 25, 2026 16:43
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>
@djwfyi djwfyi requested a review from a team as a code owner June 25, 2026 21:43
@netlify

netlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deploy Preview for vcluster-docs-site ready!

Name Link
🔨 Latest commit fc594da
🔍 Latest deploy log https://app.netlify.com/projects/vcluster-docs-site/deploys/6a3e798d5e6e430009346725
😎 Deploy Preview https://deploy-preview-2335--vcluster-docs-site.netlify.app/docs
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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 |

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.

⚠️ [vale] reported by reviewdog 🐶
[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

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.

⚠️ [vale] reported by reviewdog 🐶
[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

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.

⚠️ [vale] reported by reviewdog 🐶
[Loft.imperative-headings] Headings should start with an imperative verb. 'Patching' appears to be a present participle (ends with 'ing').

@djwfyi djwfyi self-assigned this Jun 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor


Choose the mode based on what the field contains:

| When you need to transform ... | Use |

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.

⚠️ [vale] reported by reviewdog 🐶
[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

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.

⚠️ [vale] reported by reviewdog 🐶
[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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant