Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupWithManager ¶
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
This controller sync the clusterdeployment's ClusterSet Label In ACM, clusterdeployment should be created in two ways
- Directlly create a managedcluster, it will also create a clusterdeployment ref to this managedcluster. So the clusterdeployment's clusterset label should be synced from this managedcluster.
- Claim a cluster from clusterpool, all the clusters claimed from this pool should be in the same clusterset. And the clusterdeployment's clusterset should be same as clusterpool. So we need to sync the clusterdeployment clusterset from clusterpool
Click to show internal directories.
Click to hide internal directories.