From b0a80c98a0210cad3e31af9b44e1ba65572bf35b Mon Sep 17 00:00:00 2001 From: mmontes11 Date: Thu, 12 Sep 2024 13:55:28 +0200 Subject: [PATCH] Document my.cnf file extension explicitly when providing a ConfigMap --- docs/CONFIGURATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 91dd9b0b..35296e45 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -36,7 +36,7 @@ spec: ``` In this field, you may provide any [configuration option](https://mariadb.com/kb/en/mariadbd-options/) or [system variable](https://mariadb.com/kb/en/server-system-variables/) supported by MariaDB. -Under the hood, the operator automatically creates a `ConfigMap` with the contents of the `myCnf` field, which will be mounted in the `MariaDB` instance. Alternatively, you can manage your own configuration using a pre-existing `ConfigMap` by linking it via `myCnfConfigMapKeyRef`: +Under the hood, the operator automatically creates a `ConfigMap` with the contents of the `myCnf` field, which will be mounted in the `MariaDB` instance. Alternatively, you can manage your own configuration using a pre-existing `ConfigMap` by linking it via `myCnfConfigMapKeyRef`. It is important to note that the key in this `Configmap` i.e. the config file name, must have a `.cnf` extension in order to be detected by MariaDB: ```yaml apiVersion: k8s.mariadb.com/v1alpha1