Add replication context example#82
Add replication context example#82sandert-k8s wants to merge 3 commits intoprojectcapsule:release/preview-v0.13from
Conversation
✅ Deploy Preview for docs-projectcapsule ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR updates documentation examples related to replication template context usage and Capsule Proxy global proxy settings, aiming to provide clearer, more accurate cluster-scoped examples.
Changes:
- Adds additional “Context” examples for TenantResource and GlobalTenantResource templates (including a full context dump snippet).
- Updates the GlobalProxySettings example to use a cluster-scoped Capsule resource instead of Pods.
- Minor formatting/name fixes in “What’s New” markdown.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| content/en/docs/whats-new.md | Minor markdown/name formatting adjustments in the updates/events sections. |
| content/en/docs/replications/tenant.md | Expands “Context” section with context-dump guidance and an imagePullSecrets use case. |
| content/en/docs/replications/global.md | Mirrors the “Context” expansion for global replications with a dependsOn-based example. |
| content/en/docs/proxy/proxysettings.md | Updates GlobalProxySettings cluster-scoped resource example and formatting. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: sandert-k8s <sandert98@gmail.com>
4c040f3 to
89ad93e
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| clusterResources: | ||
| - apiGroups: | ||
| - "" | ||
| - "capsule.clastix.io/v1beta2" | ||
| resources: | ||
| - "pods" | ||
| - "globalcustomquotas" | ||
| operations: | ||
| - List | ||
| selector: | ||
| matchLabels: | ||
| app.kubernetes.io/type: dev | ||
| capsule.clastix.io/tenant: green | ||
| - apiGroups: | ||
| - "kyverno.io/v1" | ||
| resources: |
There was a problem hiding this comment.
In this example apiGroups values include the API version (e.g. capsule.clastix.io/v1beta2 and kyverno.io/v1). The text above states these fields work like Kubernetes ClusterRoles, where apiGroups must be the group only (e.g. capsule.clastix.io / kyverno.io), with the version omitted. Using group/version here may mislead users and won’t match Kubernetes RBAC semantics.
Signed-off-by: sandert-k8s <sandert98@gmail.com>
Signed-off-by: sandert-k8s <sandert98@gmail.com>
89ad93e to
7f21821
Compare
2 updates: