From e83e5dc8d3ad4fa0fdd5001cc3424e4852cf5bd2 Mon Sep 17 00:00:00 2001 From: Juan Ariza Toledano Date: Mon, 7 Jun 2021 19:41:48 +0200 Subject: [PATCH] [bitnami/mysql] Remove references to deprecated approach to mount custom scripts (#6568) Signed-off-by: juan131 --- bitnami/mysql/Chart.yaml | 2 +- bitnami/mysql/README.md | 2 +- bitnami/mysql/files/docker-entrypoint-initdb.d/README.md | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 bitnami/mysql/files/docker-entrypoint-initdb.d/README.md diff --git a/bitnami/mysql/Chart.yaml b/bitnami/mysql/Chart.yaml index 783b80b87..87a741837 100644 --- a/bitnami/mysql/Chart.yaml +++ b/bitnami/mysql/Chart.yaml @@ -25,4 +25,4 @@ name: mysql sources: - https://github.com/bitnami/bitnami-docker-mysql - https://mysql.com -version: 8.6.0 +version: 8.6.1 diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index 00d108951..77c27670d 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -292,7 +292,7 @@ To modify the MySQL version used in this chart you can specify a [valid image ta ### Customize a new MySQL instance -The [Bitnami MySQL](https://github.com/bitnami/bitnami-docker-mysql) image allows you to use your custom scripts to initialize a fresh instance. In order to execute the scripts, they must be located inside the chart folder `files/docker-entrypoint-initdb.d` so they can be consumed as a ConfigMap. +The [Bitnami MySQL](https://github.com/bitnami/bitnami-docker-mysql) image allows you to use your custom scripts to initialize a fresh instance. Custom scripts may be specified using the `initdbScripts` parameter. Alternatively, an external ConfigMap may be created with all the initialization scripts and the ConfigMap passed to the chart via the `initdbScriptsConfigMap` parameter. Note that this will override the `initdbScripts` parameter. The allowed extensions are `.sh`, `.sql` and `.sql.gz`. diff --git a/bitnami/mysql/files/docker-entrypoint-initdb.d/README.md b/bitnami/mysql/files/docker-entrypoint-initdb.d/README.md deleted file mode 100644 index c7257d74d..000000000 --- a/bitnami/mysql/files/docker-entrypoint-initdb.d/README.md +++ /dev/null @@ -1,3 +0,0 @@ -You can copy here your custom .sh, .sql or .sql.gz file so they are executed during the first boot of the image. - -More info in the [bitnami-docker-mysql](https://github.com/bitnami/bitnami-docker-mysql#initializing-a-new-instance) repository. \ No newline at end of file