Skip to content

Commit

Permalink
fix crd checking rules (#811)
Browse files Browse the repository at this point in the history
Signed-off-by: Di Xu <[email protected]>
  • Loading branch information
dixudx authored Jul 8, 2024
1 parent 71ce0fd commit c7aae6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clusters/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7aae6f

Please sign in to comment.