Scott Davidson commited on
Commit
f4b1b72
·
1 Parent(s): 7346a8e

Disable SQL DB binlog in Helm chart (#3976)

Browse files

### 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)

Files changed (1) hide show
  1. helm/templates/mysql.yaml +1 -0
helm/templates/mysql.yaml CHANGED
@@ -55,6 +55,7 @@ spec:
55
  - --default-authentication-plugin=mysql_native_password
56
  - --tls_version=TLSv1.2,TLSv1.3
57
  - --init-file=/data/application/init.sql
 
58
  ports:
59
  - containerPort: 3306
60
  name: mysql
 
55
  - --default-authentication-plugin=mysql_native_password
56
  - --tls_version=TLSv1.2,TLSv1.3
57
  - --init-file=/data/application/init.sql
58
+ - --disable-log-bin
59
  ports:
60
  - containerPort: 3306
61
  name: mysql