Skip to content

Commit cf6f642

Browse files
committed
chore(addon): update mariadb value.yaml
1 parent 2ca2fea commit cf6f642

1 file changed

Lines changed: 52 additions & 48 deletions

File tree

addons/mariadb-1.1.0/chart/mariadb/values.yaml

Lines changed: 52 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -170,32 +170,34 @@ primary:
170170
## @param primary.configuration [string] MariaDB Primary configuration to be injected as ConfigMap
171171
## ref: https://mysql.com/kb/en/mysql/configuring-mysql-with-mycnf/#example-of-configuration-file
172172
##
173-
configuration: |-
174-
[mysqld]
175-
skip-name-resolve
176-
explicit_defaults_for_timestamp
177-
basedir=/opt/drycc/mariadb
178-
plugin_dir=/opt/drycc/mariadb/plugin
179-
port=3306
180-
socket=/opt/drycc/mariadb/tmp/mysql.sock
181-
tmpdir=/opt/drycc/mariadb/tmp
182-
max_allowed_packet=16M
183-
bind-address=0.0.0.0
184-
pid-file=/opt/drycc/mariadb/tmp/mysqld.pidz
185-
log-error=/opt/drycc/mariadb/logs/mysqld.log
186-
character-set-server=UTF8
187-
collation-server=utf8_general_ci
188173

189-
[client]
190-
port=3306
191-
socket=/opt/drycc/mariadb/tmp/mysql.sock
192-
default-character-set=UTF8
193-
plugin_dir=/opt/drycc/mariadb/plugin
174+
# configuration: |-
175+
# [mysqld]
176+
# skip-name-resolve
177+
# explicit_defaults_for_timestamp
178+
# basedir=/opt/drycc/mariadb
179+
# plugin_dir=/opt/drycc/mariadb/plugin
180+
# port=3306
181+
# socket=/opt/drycc/mariadb/tmp/mysql.sock
182+
# tmpdir=/opt/drycc/mariadb/tmp
183+
# max_allowed_packet=16M
184+
# bind-address=0.0.0.0
185+
# pid-file=/opt/drycc/mariadb/tmp/mysqld.pidz
186+
# log-error=/opt/drycc/mariadb/logs/mysqld.log
187+
# character-set-server=UTF8
188+
# collation-server=utf8_general_ci
189+
190+
# [client]
191+
# port=3306
192+
# socket=/opt/drycc/mariadb/tmp/mysql.sock
193+
# default-character-set=UTF8
194+
# plugin_dir=/opt/drycc/mariadb/plugin
195+
196+
# [manager]
197+
# port=3306
198+
# socket=/opt/drycc/mariadb/tmp/mysql.sock
199+
# pid-file=/opt/drycc/mariadb/tmp/mysqld.pid
194200

195-
[manager]
196-
port=3306
197-
socket=/opt/drycc/mariadb/tmp/mysql.sock
198-
pid-file=/opt/drycc/mariadb/tmp/mysqld.pid
199201
## @param primary.existingConfigmap Name of existing ConfigMap with MariaDB Primary configuration.
200202
## NOTE: When it's set the 'configuration' parameter is ignored
201203
##
@@ -544,30 +546,32 @@ secondary:
544546
## @param secondary.configuration [string] MariaDB Secondary configuration to be injected as ConfigMap
545547
## ref: https://mysql.com/kb/en/mysql/configuring-mysql-with-mycnf/#example-of-configuration-file
546548
##
547-
configuration: |-
548-
[mysqld]
549-
skip-name-resolve
550-
explicit_defaults_for_timestamp
551-
basedir=/opt/drycc/mariadb
552-
port=3306
553-
socket=/opt/drycc/mariadb/tmp/mysql.sock
554-
tmpdir=/opt/drycc/mariadb/tmp
555-
max_allowed_packet=16M
556-
bind-address=0.0.0.0
557-
pid-file=/opt/drycc/mariadb/tmp/mysqld.pid
558-
log-error=/opt/drycc/mariadb/logs/mysqld.log
559-
character-set-server=UTF8
560-
collation-server=utf8_general_ci
561549

562-
[client]
563-
port=3306
564-
socket=/opt/drycc/mariadb/tmp/mysql.sock
565-
default-character-set=UTF8
550+
# configuration: |-
551+
# [mysqld]
552+
# skip-name-resolve
553+
# explicit_defaults_for_timestamp
554+
# basedir=/opt/drycc/mariadb
555+
# port=3306
556+
# socket=/opt/drycc/mariadb/tmp/mysql.sock
557+
# tmpdir=/opt/drycc/mariadb/tmp
558+
# max_allowed_packet=16M
559+
# bind-address=0.0.0.0
560+
# pid-file=/opt/drycc/mariadb/tmp/mysqld.pid
561+
# log-error=/opt/drycc/mariadb/logs/mysqld.log
562+
# character-set-server=UTF8
563+
# collation-server=utf8_general_ci
564+
565+
# [client]
566+
# port=3306
567+
# socket=/opt/drycc/mariadb/tmp/mysql.sock
568+
# default-character-set=UTF8
569+
570+
# [manager]
571+
# port=3306
572+
# socket=/opt/drycc/mariadb/tmp/mysql.sock
573+
# pid-file=/opt/drycc/mariadb/tmp/mysqld.pid
566574

567-
[manager]
568-
port=3306
569-
socket=/opt/drycc/mariadb/tmp/mysql.sock
570-
pid-file=/opt/drycc/mariadb/tmp/mysqld.pid
571575
## @param secondary.existingConfigmap Name of existing ConfigMap with MariaDB Secondary configuration.
572576
## NOTE: When it's set the 'configuration' parameter is ignored
573577
##
@@ -718,7 +722,7 @@ secondary:
718722
##
719723
livenessProbe:
720724
enabled: true
721-
initialDelaySeconds: 120
725+
initialDelaySeconds: 240
722726
periodSeconds: 10
723727
timeoutSeconds: 1
724728
failureThreshold: 3
@@ -732,7 +736,7 @@ secondary:
732736
##
733737
readinessProbe:
734738
enabled: true
735-
initialDelaySeconds: 30
739+
initialDelaySeconds: 120
736740
periodSeconds: 10
737741
timeoutSeconds: 1
738742
failureThreshold: 3

0 commit comments

Comments
 (0)