diff --git a/clusters/v1beta1/types.go b/clusters/v1beta1/types.go index a01d625..71bbf68 100644 --- a/clusters/v1beta1/types.go +++ b/clusters/v1beta1/types.go @@ -187,7 +187,7 @@ type ClusterRegistrationRequestList struct { } // ManagedClusterSpec defines the desired state of ManagedCluster -// +kubebuilder:validation:XValidation:rule="!has(oldSelf.clusterInitSubName) || has(self.clusterInitSubName)", message="clusterInitSubName is required once set" +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.clusterInitBaseName) || has(self.clusterInitBaseName)", message="clusterInitBaseName is required once set" type ManagedClusterSpec struct { // ClusterID, a Random (Version 4) UUID, is a unique value in time and space value representing for child cluster. // It is typically generated by the clusternet agent on the successful creation of a "clusternet-agent" Lease