@@ -149,11 +149,16 @@ jobs:
149149 containers:
150150 - name: mariadb
151151 image: tidesdb/tidesql:test
152+ command: ["/bin/bash", "-c"]
153+ args:
154+ - |
155+ cp /opt/tidesdb-config/tidesdb.cnf /etc/mysql/custom/tidesdb-k8s.cfg || true
156+ exec /usr/local/bin/tidesql-entrypoint.sh
152157 ports:
153158 - containerPort: 3306
154159 volumeMounts:
155160 - name: config
156- mountPath: /etc/mysql/conf.d /tidesdb.cnf
161+ mountPath: /opt/tidesdb-config /tidesdb.cnf
157162 subPath: tidesdb.cnf
158163 readinessProbe:
159164 exec:
@@ -251,11 +256,16 @@ jobs:
251256 containers:
252257 - name: mariadb
253258 image: tidesdb/tidesql:test
259+ command: ["/bin/bash", "-c"]
260+ args:
261+ - |
262+ cp /opt/tidesdb-config/tidesdb.cnf /etc/mysql/custom/tidesdb-k8s.cfg || true
263+ exec /usr/local/bin/tidesql-entrypoint.sh
254264 ports:
255265 - containerPort: 3306
256266 volumeMounts:
257267 - name: config
258- mountPath: /etc/mysql/conf.d /tidesdb.cnf
268+ mountPath: /opt/tidesdb-config /tidesdb.cnf
259269 subPath: tidesdb.cnf
260270 readinessProbe:
261271 exec:
@@ -359,11 +369,16 @@ jobs:
359369 containers:
360370 - name: mariadb
361371 image: tidesdb/tidesql:test
372+ command: ["/bin/bash", "-c"]
373+ args:
374+ - |
375+ cp /opt/tidesdb-config/tidesdb.cnf /etc/mysql/custom/tidesdb-k8s.cfg || true
376+ exec /usr/local/bin/tidesql-entrypoint.sh
362377 ports:
363378 - containerPort: 3306
364379 volumeMounts:
365380 - name: config
366- mountPath: /etc/mysql/conf.d /tidesdb.cnf
381+ mountPath: /opt/tidesdb-config /tidesdb.cnf
367382 subPath: tidesdb.cnf
368383 readinessProbe:
369384 exec:
@@ -393,11 +408,16 @@ jobs:
393408 containers:
394409 - name: mariadb
395410 image: tidesdb/tidesql:test
411+ command: ["/bin/bash", "-c"]
412+ args:
413+ - |
414+ cp /opt/tidesdb-config/tidesdb.cnf /etc/mysql/custom/tidesdb-k8s.cfg || true
415+ exec /usr/local/bin/tidesql-entrypoint.sh
396416 ports:
397417 - containerPort: 3306
398418 volumeMounts:
399419 - name: config
400- mountPath: /etc/mysql/conf.d /tidesdb.cnf
420+ mountPath: /opt/tidesdb-config /tidesdb.cnf
401421 subPath: tidesdb.cnf
402422 readinessProbe:
403423 exec:
0 commit comments