@@ -16,17 +16,18 @@ const ClusterSetLabel = "cluster.open-cluster-management.io/clusterset"
16
16
// +kubebuilder:printcolumn:name="Empty",type="string",JSONPath=".status.conditions[?(@.type==\"ClusterSetEmpty\")].status"
17
17
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
18
18
19
- // ManagedClusterSet defines a group of ManagedClusters that users' workloads can run on.
20
- // A workload can be defined to be deployed on a ManagedClusterSet, which means :
21
- // 1. The workload can run on any ManagedCluster in the ManagedClusterSet
22
- // 2. The workload cannot run on any ManagedCluster outside the ManagedClusterSet
23
- // 3. The service exposed by the workload can be shared in any ManagedCluster in the ManagedClusterSet
19
+ // ManagedClusterSet defines a group of ManagedClusters that you can run
20
+ // workloads on. You can define a workload to be deployed on a ManagedClusterSet. See the following options for the workload :
21
+ // - The workload can run on any ManagedCluster in the ManagedClusterSet
22
+ // - The workload cannot run on any ManagedCluster outside the ManagedClusterSet
23
+ // - The service exposed by the workload can be shared in any ManagedCluster in the ManagedClusterSet
24
24
//
25
- // In order to assign a ManagedCluster to a certain ManagedClusterSet, add a label with the name
26
- // `cluster.open-cluster-management.io/clusterset` on the ManagedCluster to refer to the ManagedClusterSet.
27
- // The user is not allowed to add/remove this label on a ManagedCluster unless they have an RBAC rule to CREATE on
28
- // a virtual subresource of managedclustersets/join. In order to update this label, the user must have the permission
29
- // on both the old and new ManagedClusterSet.
25
+ // To assign a ManagedCluster to a certain ManagedClusterSet, add a label with the name cluster.open-cluster-management.io/clusterset
26
+ // on the ManagedCluster to refer to the ManagedClusterSet. You are not
27
+ // allowed to add or remove this label on a ManagedCluster unless you have an
28
+ // RBAC rule to CREATE on a virtual subresource of managedclustersets/join.
29
+ // To update this label, you must have the permission on both
30
+ // the old and new ManagedClusterSet.
30
31
type ManagedClusterSet struct {
31
32
metav1.TypeMeta `json:",inline"`
32
33
metav1.ObjectMeta `json:"metadata,omitempty"`
0 commit comments