mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-14 05:07:48 +00:00
enable feature gate for registration webhook (#210)
Signed-off-by: ldpliu <daliu@redhat.com>
This commit is contained in:
@@ -107,6 +107,14 @@ var _ = Describe("Placement", func() {
|
||||
Namespace: placementNamespace,
|
||||
Name: placementName,
|
||||
},
|
||||
Spec: clusterapiv1beta1.PlacementSpec{
|
||||
Tolerations: []clusterapiv1beta1.Toleration{
|
||||
{
|
||||
Key: "cluster.open-cluster-management.io/unreachable",
|
||||
Operator: clusterapiv1beta1.TolerationOpExists,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
placement, err = t.ClusterClient.ClusterV1beta1().Placements(placementNamespace).Create(context.TODO(), placement, metav1.CreateOptions{})
|
||||
|
||||
Reference in New Issue
Block a user