Skip to content

Commit

Permalink
chore: rename mysql topology to semisync (#1359)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun authored Dec 27, 2024
1 parent 47738ac commit c97f977
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions addons-cluster/mysql/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
"default": "server",
"description": "Topology type of the server",
"enum": [
"server",
"server-with-proxy",
"semisync",
"semisync-proxysql",
"orc",
"orc-with-proxy"
"orc-proxysql"
]
},
"proxysql": {
Expand Down
3 changes: 1 addition & 2 deletions addons-cluster/mysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ requests:
## @param storage size, the unit is Gi
##
storage: 20
# values: [server, server-with-proxy, server-with-orc]
topology: server
topology: semisync
proxysql:
replicas: 1
cpu: 1
Expand Down
6 changes: 3 additions & 3 deletions addons/mysql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "mysql.apiVersion" . | nindent 4 }}
spec:
topologies:
- name: server
- name: semisync
components:
- name: mysql
compDef: {{ include "mysql.componentDefRegex" . }}
Expand All @@ -17,7 +17,7 @@ spec:
components:
- name: mysql
compDef: {{ include "mysql.cmpdOrcNamePrefix" . }}
- name: orc-with-proxy
- name: orc-proxysql
components:
- name: mysql
compDef: {{ include "mysql.cmpdOrcNamePrefix" . }}
Expand All @@ -33,7 +33,7 @@ spec:
update: # When there are multiple component update operations, follow the order specified here.
- mysql
- proxysql
- name: server-with-proxy
- name: semisync-proxysql
components:
- name: mysql
compDef: {{ include "mysql.componentDefRegex" . }}
Expand Down

0 comments on commit c97f977

Please sign in to comment.