From 855455006bcbee40353c52360ff251f6f9dc0419 Mon Sep 17 00:00:00 2001 From: Scott Davidson <49713135+sd109@users.noreply.github.com> Date: Wed, 11 Dec 2024 03:10:33 +0000 Subject: [PATCH] Disable SQL DB binlog in Helm chart (#3976) ### What problem does this PR solve? The initial Helm chart implementation added in #3815 suffers from an issue where the 5GB data volume for the SQL DB is filled up with [binlog](https://dev.mysql.com/doc/refman/8.4/en/binary-log.html) files after just a few days. Since the app uses a non-replicated SQL DB config I think it makes sense to disable the binlog in the SQL DB container. This is achieved by simply adding the required argument to the container startup command. ### Type of change - [X] Bug Fix (non-breaking change which fixes an issue) --- helm/templates/mysql.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/templates/mysql.yaml b/helm/templates/mysql.yaml index 1b08c02c3..f47fc0ef3 100644 --- a/helm/templates/mysql.yaml +++ b/helm/templates/mysql.yaml @@ -55,6 +55,7 @@ spec: - --default-authentication-plugin=mysql_native_password - --tls_version=TLSv1.2,TLSv1.3 - --init-file=/data/application/init.sql + - --disable-log-bin ports: - containerPort: 3306 name: mysql