change sql mode for date issue

This commit is contained in:
j37hr0 2026-04-23 21:09:28 +12:00
parent 2a5d7aa524
commit 7a9df0d032

View file

@ -9,6 +9,10 @@ spec:
enabled: true enabled: true
# primary: # primary:
# automaticFailover: true # automaticFailover: true
myCnf: |
[mariadb]
# Kimai migrations can include zero-date defaults; relax NO_ZERO_DATE / strict handling.
sql_mode=ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
rootPasswordSecretKeyRef: rootPasswordSecretKeyRef:
name: mariadb-secrets name: mariadb-secrets
key: password key: password