Skip to content

Commit 13253a5

Browse files
gongomgraBitnami Containers
andauthored
[bitnami/mariadb] Add slow query configuration to MariaDB (bitnami#9701)
* Add slow query configuration to MariaDB Signed-off-by: Gonzalo Gomez Gracia <gonzalog@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * [bitnami/mariadb] Disable slow query by default Signed-off-by: Gonzalo Gomez Gracia <gonzalog@vmware.com> * [bitnami/mariadb] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * [bitnami/mariadb] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
1 parent 5a04943 commit 13253a5

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

bitnami/mariadb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ sources:
2626
- https://github.com/bitnami/bitnami-docker-mariadb
2727
- https://github.com/prometheus/mysqld_exporter
2828
- https://mariadb.org
29-
version: 10.4.6
29+
version: 10.5.0

bitnami/mariadb/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The command removes all the Kubernetes components associated with the chart and
8585
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
8686
| `image.registry` | MariaDB image registry | `docker.io` |
8787
| `image.repository` | MariaDB image repository | `bitnami/mariadb` |
88-
| `image.tag` | MariaDB image tag (immutable tags are recommended) | `10.5.13-debian-10-r58` |
88+
| `image.tag` | MariaDB image tag (immutable tags are recommended) | `10.5.15-debian-10-r51` |
8989
| `image.pullPolicy` | MariaDB image pull policy | `IfNotPresent` |
9090
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
9191
| `image.debug` | Specify if debug logs should be enabled | `false` |
@@ -98,7 +98,7 @@ The command removes all the Kubernetes components associated with the chart and
9898
| `auth.replicationPassword` | MariaDB replication user password. Ignored if existing secret is provided | `""` |
9999
| `auth.existingSecret` | Use existing secret for password details (`auth.rootPassword`, `auth.password`, `auth.replicationPassword` will be ignored and picked up from this secret). The secret has to contain the keys `mariadb-root-password`, `mariadb-replication-password` and `mariadb-password` | `""` |
100100
| `auth.forcePassword` | Force users to specify required passwords | `false` |
101-
| `auth.usePasswordFiles` | Mount credentials as a files instead of using an environment variable | `false` |
101+
| `auth.usePasswordFiles` | Mount credentials as files instead of using environment variables | `false` |
102102
| `auth.customPasswordFiles` | Use custom password files when `auth.usePasswordFiles` is set to `true`. Define path for keys `root` and `user`, also define `replicator` if `architecture` is set to `replication` | `{}` |
103103
| `initdbScripts` | Dictionary of initdb scripts | `{}` |
104104
| `initdbScriptsConfigMap` | ConfigMap with the initdb scripts (Note: Overrides `initdbScripts`) | `""` |
@@ -298,7 +298,7 @@ The command removes all the Kubernetes components associated with the chart and
298298
| `volumePermissions.enabled` | Enable init container that changes the owner and group of the persistent volume(s) mountpoint to `runAsUser:fsGroup` | `false` |
299299
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
300300
| `volumePermissions.image.repository` | Init container volume-permissions image repository | `bitnami/bitnami-shell` |
301-
| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `10-debian-10-r305` |
301+
| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `10-debian-10-r388` |
302302
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` |
303303
| `volumePermissions.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
304304
| `volumePermissions.resources.limits` | Init container volume-permissions resource limits | `{}` |
@@ -312,7 +312,7 @@ The command removes all the Kubernetes components associated with the chart and
312312
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
313313
| `metrics.image.registry` | Exporter image registry | `docker.io` |
314314
| `metrics.image.repository` | Exporter image repository | `bitnami/mysqld-exporter` |
315-
| `metrics.image.tag` | Exporter image tag (immutable tags are recommended) | `0.13.0-debian-10-r209` |
315+
| `metrics.image.tag` | Exporter image tag (immutable tags are recommended) | `0.14.0-debian-10-r33` |
316316
| `metrics.image.pullPolicy` | Exporter image pull policy | `IfNotPresent` |
317317
| `metrics.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
318318
| `metrics.annotations` | Annotations for the Exporter pod | `{}` |

bitnami/mariadb/values.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ diagnosticMode:
7373
image:
7474
registry: docker.io
7575
repository: bitnami/mariadb
76-
tag: 10.5.15-debian-10-r49
76+
tag: 10.5.15-debian-10-r52
7777
## Specify a imagePullPolicy
7878
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
7979
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -185,6 +185,9 @@ primary:
185185
log-error=/opt/bitnami/mariadb/logs/mysqld.log
186186
character-set-server=UTF8
187187
collation-server=utf8_general_ci
188+
slow_query_log=0
189+
slow_query_log_file=/opt/bitnami/mariadb/logs/mysqld.log
190+
long_query_time=10.0
188191
189192
[client]
190193
port=3306
@@ -935,7 +938,7 @@ volumePermissions:
935938
image:
936939
registry: docker.io
937940
repository: bitnami/bitnami-shell
938-
tag: 10-debian-10-r387
941+
tag: 10-debian-10-r389
939942
pullPolicy: IfNotPresent
940943
## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
941944
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
@@ -968,7 +971,7 @@ metrics:
968971
image:
969972
registry: docker.io
970973
repository: bitnami/mysqld-exporter
971-
tag: 0.14.0-debian-10-r32
974+
tag: 0.14.0-debian-10-r34
972975
pullPolicy: IfNotPresent
973976
## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
974977
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/

0 commit comments

Comments
 (0)