Skip to content

Commit 3e65dba

Browse files
gkechhors
andauthored
K8SPXC-1470 Implement migration between HAproxy and ProxySQL (#2253)
* K8SPXC-1470 Implement migration between HAproxy and ProxySQL * fix test and error regatding hostgroups * remove unused param * update e2e test * add e2e test * update when the new test is running * fix upgrade-consistency test * improve proxy switch test * remove block for checking hostgroups * fix proxysql-scheduler test * enable scheduler on proxysql for proxy-switch test * fixes on the node test * import ordering --------- Co-authored-by: Viacheslav Sarzhan <[email protected]>
1 parent b8df79f commit 3e65dba

File tree

57 files changed

+478
-187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+478
-187
lines changed

build/proxysql.cnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@ mysql_variables=
4949
ssl_p2s_cert=""
5050
ssl_p2s_key=""
5151
ssl_p2s_cipher="ECDHE-RSA-AES128-GCM-SHA256"
52+
default_authentication_plugin="caching_sha2_password"
5253
}

e2e-tests/init-deploy/compare/statefulset_some-name-pxc-k127-oc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ spec:
124124
- name: READINESS_CHECK_TIMEOUT
125125
value: "15"
126126
- name: DEFAULT_AUTHENTICATION_PLUGIN
127-
value: mysql_native_password
127+
value: caching_sha2_password
128128
- name: MYSQL_NOTIFY_SOCKET
129129
value: /var/lib/mysql/notify.sock
130130
- name: MYSQL_STATE_FILE

e2e-tests/init-deploy/compare/statefulset_some-name-pxc-k127.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ spec:
124124
- name: READINESS_CHECK_TIMEOUT
125125
value: "15"
126126
- name: DEFAULT_AUTHENTICATION_PLUGIN
127-
value: mysql_native_password
127+
value: caching_sha2_password
128128
- name: MYSQL_NOTIFY_SOCKET
129129
value: /var/lib/mysql/notify.sock
130130
- name: MYSQL_STATE_FILE

e2e-tests/init-deploy/compare/statefulset_some-name-pxc-oc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ spec:
121121
- name: READINESS_CHECK_TIMEOUT
122122
value: "15"
123123
- name: DEFAULT_AUTHENTICATION_PLUGIN
124-
value: mysql_native_password
124+
value: caching_sha2_password
125125
- name: MYSQL_NOTIFY_SOCKET
126126
value: /var/lib/mysql/notify.sock
127127
- name: MYSQL_STATE_FILE

e2e-tests/init-deploy/compare/statefulset_some-name-pxc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ spec:
121121
- name: READINESS_CHECK_TIMEOUT
122122
value: "15"
123123
- name: DEFAULT_AUTHENTICATION_PLUGIN
124-
value: mysql_native_password
124+
value: caching_sha2_password
125125
- name: MYSQL_NOTIFY_SOCKET
126126
value: /var/lib/mysql/notify.sock
127127
- name: MYSQL_STATE_FILE

e2e-tests/limits/compare/statefulset_no-limits-pxc-increased-k127-oc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ spec:
195195
- name: READINESS_CHECK_TIMEOUT
196196
value: "15"
197197
- name: DEFAULT_AUTHENTICATION_PLUGIN
198-
value: mysql_native_password
198+
value: caching_sha2_password
199199
- name: MYSQL_NOTIFY_SOCKET
200200
value: /var/lib/mysql/notify.sock
201201
- name: MYSQL_STATE_FILE

e2e-tests/limits/compare/statefulset_no-limits-pxc-increased-k127.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ spec:
195195
- name: READINESS_CHECK_TIMEOUT
196196
value: "15"
197197
- name: DEFAULT_AUTHENTICATION_PLUGIN
198-
value: mysql_native_password
198+
value: caching_sha2_password
199199
- name: MYSQL_NOTIFY_SOCKET
200200
value: /var/lib/mysql/notify.sock
201201
- name: MYSQL_STATE_FILE

e2e-tests/limits/compare/statefulset_no-limits-pxc-increased-oc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ spec:
192192
- name: READINESS_CHECK_TIMEOUT
193193
value: "15"
194194
- name: DEFAULT_AUTHENTICATION_PLUGIN
195-
value: mysql_native_password
195+
value: caching_sha2_password
196196
- name: MYSQL_NOTIFY_SOCKET
197197
value: /var/lib/mysql/notify.sock
198198
- name: MYSQL_STATE_FILE

e2e-tests/limits/compare/statefulset_no-limits-pxc-increased.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ spec:
192192
- name: READINESS_CHECK_TIMEOUT
193193
value: "15"
194194
- name: DEFAULT_AUTHENTICATION_PLUGIN
195-
value: mysql_native_password
195+
value: caching_sha2_password
196196
- name: MYSQL_NOTIFY_SOCKET
197197
value: /var/lib/mysql/notify.sock
198198
- name: MYSQL_STATE_FILE

e2e-tests/limits/compare/statefulset_no-limits-pxc-k127-oc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ spec:
195195
- name: READINESS_CHECK_TIMEOUT
196196
value: "15"
197197
- name: DEFAULT_AUTHENTICATION_PLUGIN
198-
value: mysql_native_password
198+
value: caching_sha2_password
199199
- name: MYSQL_NOTIFY_SOCKET
200200
value: /var/lib/mysql/notify.sock
201201
- name: MYSQL_STATE_FILE

0 commit comments

Comments
 (0)