Skip to content

Commit

Permalink
chore: rollback the CRDs of ClusterTemplate and ClusterFamily (#4720)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf committed Aug 15, 2023
1 parent d8dcb8a commit d6a5249
Show file tree
Hide file tree
Showing 54 changed files with 38 additions and 2,843 deletions.
8 changes: 0 additions & 8 deletions apis/apps/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ type ClusterSpec struct {
// +optional
Storage ClusterStorage `json:"storage,omitempty"`

// mode specifies the mode of this cluster, the value of this can be one of the following: Standalone, Replication, RaftGroup.
// +optional
Mode ClusterMode `json:"mode,omitempty"`

// customized parameters that is used in different clusterdefinition
// +optional
Parameters map[string]string `json:"parameters,omitempty"`

// monitor specifies the configuration of monitor
// +optional
Monitor ClusterMonitor `json:"monitor,omitempty"`
Expand Down
3 changes: 0 additions & 3 deletions apis/apps/v1alpha1/clusterdefinition_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ type ClusterDefinitionSpec struct {
// connection credential value is 3306.
// +optional
ConnectionCredential map[string]string `json:"connectionCredential,omitempty"`

// reference name of clusterfamily
ClusterFamilyRef string `json:"clusterFamilyRef,omitempty"`
}

// SystemAccountSpec specifies information to create system accounts.
Expand Down
95 changes: 0 additions & 95 deletions apis/apps/v1alpha1/clusterfamily_types.go

This file was deleted.

74 changes: 0 additions & 74 deletions apis/apps/v1alpha1/clustertemplate_types.go

This file was deleted.

8 changes: 0 additions & 8 deletions apis/apps/v1alpha1/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,14 +563,6 @@ const (
VolumeTypeLog VolumeType = "log"
)

type ClusterMode string

const (
ClusterModeRaftGroup ClusterMode = "raftGroup"
ClusterModeReplication ClusterMode = "replication"
ClusterModeStandAlone ClusterMode = "standalone"
)

// BaseBackupType the base backup type, keep synchronized with the BaseBackupType of the data protection API.
// +enum
// +kubebuilder:validation:Enum={full,snapshot}
Expand Down
Loading

0 comments on commit d6a5249

Please sign in to comment.