Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit 9c83f17

Browse files
authored
Merge pull request #151 from vincent-pli/correct-description-crd-syncer
Correct the description for crd syncer
2 parents bd7b6ed + 120196b commit 9c83f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualcluster/doc/customresource-syncer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CR Syncer relies on CR specific components, e.g., CR controller, CR Downward Syn
1111

1212
In order for CR Syncer to work, custom defined resource type (CRD) must be deployed in both super cluster and tenant virtual cluster. CRD synchronization has been handled by: virtualcluster/pkg/syncer/resources/crd/
1313

14-
CRDs with annotation: [tenancy.x-k8s.io/super.public](https://sigs.k8s.io/cluster-api-provider-nested/virtualcluster/pkg/syncer/constants/constants.go#L65-L66) will be synced up into tenant’s virtual cluster. The syncing happens when virtual cluster is created or once annotation is changed.
14+
CRDs with label: [tenancy.x-k8s.io/super.public: "true"](https://sigs.k8s.io/cluster-api-provider-nested/virtualcluster/pkg/syncer/constants/constants.go#L67-L68) will be synced up into tenant’s virtual cluster. The syncing happens when virtual cluster is created or once annotation is changed.
1515

1616
CRD synchronization ensures all custom defined resource type is deployed in virtual cluster, and CRD cache is properly initialized.
1717

0 commit comments

Comments
 (0)