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 59e510e
Show file tree
Hide file tree
Showing 4 changed files with 19 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
13 changes: 13 additions & 0 deletions crds/_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: kubedb
spec:
group: ""
names:
kind: ""
plural: ""
scope: ""
versions: null
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 59e510e

Please sign in to comment.