Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Ashraful Haque Tani <[email protected]>
  • Loading branch information
AshrafulHaqueToni committed Nov 19, 2024
1 parent ad32efb commit 9857594
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/kubedb/v1/mysql_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (
MySQLModeSemiSync MySQLMode = "SemiSync"
)

// +kubebuilder:validation:Enum=Single-Primary
// +kubebuilder:validation:Enum=Single-Primary;Multi-Primary
type MySQLGroupMode string

const (
Expand Down
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/mysql_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (
MySQLModeSemiSync MySQLMode = "SemiSync"
)

// +kubebuilder:validation:Enum=Single-Primary
// +kubebuilder:validation:Enum=Single-Primary;Multi-Primary
type MySQLGroupMode string

const (
Expand Down
4 changes: 4 additions & 0 deletions crds/kubedb.com_mysqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4815,6 +4815,7 @@ spec:
default: Single-Primary
enum:
- Single-Primary
- Multi-Primary
type: string
name:
type: string
Expand All @@ -4825,6 +4826,7 @@ spec:
default: Single-Primary
enum:
- Single-Primary
- Multi-Primary
type: string
router:
properties:
Expand Down Expand Up @@ -12478,6 +12480,7 @@ spec:
default: Single-Primary
enum:
- Single-Primary
- Multi-Primary
type: string
name:
type: string
Expand All @@ -12488,6 +12491,7 @@ spec:
default: Single-Primary
enum:
- Single-Primary
- Multi-Primary
type: string
router:
properties:
Expand Down

0 comments on commit 9857594

Please sign in to comment.