From 6382f93249d84fa34d2a200575dacd1a2e18a1ef Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Mon, 20 May 2024 08:39:16 +0000 Subject: [PATCH 1/7] [bitnami/mysql] Release 11.0.0 updating components versions Signed-off-by: Bitnami Containers --- bitnami/mysql/Chart.yaml | 6 +++--- bitnami/mysql/values.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bitnami/mysql/Chart.yaml b/bitnami/mysql/Chart.yaml index c1cdaf79a3f834..c24c9927191f27 100644 --- a/bitnami/mysql/Chart.yaml +++ b/bitnami/mysql/Chart.yaml @@ -6,13 +6,13 @@ annotations: licenses: Apache-2.0 images: | - name: mysql - image: docker.io/bitnami/mysql:8.0.37-debian-12-r2 + image: docker.io/bitnami/mysql:8.4.0-debian-12-r2 - name: mysqld-exporter image: docker.io/bitnami/mysqld-exporter:0.15.1-debian-12-r16 - name: os-shell image: docker.io/bitnami/os-shell:12-debian-12-r21 apiVersion: v2 -appVersion: 8.0.37 +appVersion: 8.4.0 dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts @@ -34,4 +34,4 @@ maintainers: name: mysql sources: - https://github.com/bitnami/charts/tree/main/bitnami/mysql -version: 10.2.4 +version: 11.0.0 diff --git a/bitnami/mysql/values.yaml b/bitnami/mysql/values.yaml index f4de03d8dfe590..28a51fe8e82488 100644 --- a/bitnami/mysql/values.yaml +++ b/bitnami/mysql/values.yaml @@ -90,7 +90,7 @@ diagnosticMode: image: registry: docker.io repository: bitnami/mysql - tag: 8.0.37-debian-12-r2 + tag: 8.4.0-debian-12-r2 digest: "" ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' From 60c4169e7b3dae4e9901422aabfac72168d9d943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Mon, 20 May 2024 17:23:30 +0200 Subject: [PATCH 2/7] Add upgrading note to README file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carlos Rodríguez Hernández --- bitnami/mysql/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index dcc1a4512d0a51..ceed7f424ec50e 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -542,6 +542,10 @@ helm upgrade my-release oci://REGISTRY_NAME/REPOSITORY_NAME/mysql --set auth.roo | Note: you need to substitute the placeholder _[ROOT_PASSWORD]_ with the value obtained in the installation notes. +### To 11.0.0 + +This major bump uses mysql `8.4` image, that includes several [removal of deprecated](https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html#mysqld-8-4-0-deprecation-removal) configuration settings. This could potentially break your deployment and you would need to adjust the config settings accordingly. + ### To 10.0.0 This major bump changes the following security defaults: @@ -626,4 +630,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License. From 018f0eeee1f6d3c0b979987a9c36fc9d24b93303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20R=C3=ADos=20Saavedra?= Date: Mon, 20 May 2024 17:27:00 +0200 Subject: [PATCH 3/7] Update the default config file in values.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafael Ríos Saavedra --- bitnami/mysql/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/mysql/values.yaml b/bitnami/mysql/values.yaml index 28a51fe8e82488..c0cd0271d3f604 100644 --- a/bitnami/mysql/values.yaml +++ b/bitnami/mysql/values.yaml @@ -214,7 +214,7 @@ primary: ## configuration: |- [mysqld] - default_authentication_plugin={{- .Values.auth.defaultAuthenticationPlugin | default "mysql_native_password" }} + authentication_policy= '{{- .Values.auth.defaultAuthenticationPlugin | default "caching_sha2_password" }}' skip-name-resolve explicit_defaults_for_timestamp basedir=/opt/bitnami/mysql From ecef6944146c0214dbf9e8b02da5f92fc928d6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20R=C3=ADos=20Saavedra?= Date: Mon, 20 May 2024 17:38:44 +0200 Subject: [PATCH 4/7] Update values.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafael Ríos Saavedra --- bitnami/mysql/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/mysql/values.yaml b/bitnami/mysql/values.yaml index c0cd0271d3f604..4848116e6d355a 100644 --- a/bitnami/mysql/values.yaml +++ b/bitnami/mysql/values.yaml @@ -214,7 +214,7 @@ primary: ## configuration: |- [mysqld] - authentication_policy= '{{- .Values.auth.defaultAuthenticationPlugin | default "caching_sha2_password" }}' + authentication_policy='{{- .Values.auth.defaultAuthenticationPlugin | default "caching_sha2_password" }}' skip-name-resolve explicit_defaults_for_timestamp basedir=/opt/bitnami/mysql From 0ff7c8bf144c45b7f1a9b3267d4a0c2da34bb510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20R=C3=ADos=20Saavedra?= Date: Mon, 20 May 2024 17:55:54 +0200 Subject: [PATCH 5/7] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafael Ríos Saavedra --- bitnami/mysql/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index ceed7f424ec50e..bc8f101094bdb6 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -186,7 +186,7 @@ If you encounter errors when working with persistent volumes, refer to our [trou | `auth.existingSecret` | Use existing secret for password details. The secret has to contain the keys `mysql-root-password`, `mysql-replication-password` and `mysql-password` | `""` | | `auth.usePasswordFiles` | Mount credentials as files instead of using an environment variable | `false` | | `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` | `{}` | -| `auth.defaultAuthenticationPlugin` | Sets the default authentication plugin, by default it will use `mysql_native_password` | `""` | +| `auth.authenticationPolicy` | Sets the authentication policy, by default it will use `caching_sha2_password` | `""` | | `initdbScripts` | Dictionary of initdb scripts | `{}` | | `initdbScriptsConfigMap` | ConfigMap with the initdb scripts (Note: Overrides `initdbScripts`) | `""` | | `startdbScripts` | Dictionary of startdb scripts | `{}` | @@ -544,7 +544,7 @@ helm upgrade my-release oci://REGISTRY_NAME/REPOSITORY_NAME/mysql --set auth.roo ### To 11.0.0 -This major bump uses mysql `8.4` image, that includes several [removal of deprecated](https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html#mysqld-8-4-0-deprecation-removal) configuration settings. This could potentially break your deployment and you would need to adjust the config settings accordingly. +This major bump uses mysql `8.4` image, that includes several [removal of deprecated](https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html#mysqld-8-4-0-deprecation-removal) configuration settings, for example the parameter `auth.defaultAuthenticationPlugin` has been removed in favor of `auth.authenticationPolicy`. This could potentially break your deployment and you would need to adjust the config settings accordingly. ### To 10.0.0 From ae464cb2fcdd1224a32ed2096048da4ac83816e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20R=C3=ADos=20Saavedra?= Date: Mon, 20 May 2024 17:59:35 +0200 Subject: [PATCH 6/7] Update values.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafael Ríos Saavedra --- bitnami/mysql/values.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bitnami/mysql/values.yaml b/bitnami/mysql/values.yaml index 4848116e6d355a..6d646142a62e52 100644 --- a/bitnami/mysql/values.yaml +++ b/bitnami/mysql/values.yaml @@ -155,10 +155,10 @@ auth: ## replicator: /vault/secrets/mysql-replicator ## customPasswordFiles: {} - ## @param auth.defaultAuthenticationPlugin Sets the default authentication plugin, by default it will use `mysql_native_password` - ## NOTE: `mysql_native_password` will be deprecated in future mysql version and it is used here for compatibility with previous version. If you want to use the new default authentication method set it to `caching_sha2_password`. + ## @param auth.authenticationPolicy Sets the authentication policy, by default it will use `caching_sha2_password` + ## ref: https://dev.mysql.com/doc/refman/8.4/en/server-system-variables.html#sysvar_authentication_policy ## - defaultAuthenticationPlugin: "" + authenticationPolicy: "" ## @param initdbScripts Dictionary of initdb scripts ## Specify dictionary of scripts to be run at first boot ## Example: @@ -214,7 +214,7 @@ primary: ## configuration: |- [mysqld] - authentication_policy='{{- .Values.auth.defaultAuthenticationPlugin | default "caching_sha2_password" }}' + authentication_policy='{{- .Values.auth.authenticationPolicy | default "caching_sha2_password" }}' skip-name-resolve explicit_defaults_for_timestamp basedir=/opt/bitnami/mysql From cfe00541a740186424b2f20b60385ef6f35da8a1 Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Mon, 20 May 2024 16:03:16 +0000 Subject: [PATCH 7/7] Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers --- bitnami/mysql/README.md | 48 ++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/bitnami/mysql/README.md b/bitnami/mysql/README.md index bc8f101094bdb6..45ba06b9b08cc7 100644 --- a/bitnami/mysql/README.md +++ b/bitnami/mysql/README.md @@ -167,30 +167,30 @@ If you encounter errors when working with persistent volumes, refer to our [trou ### MySQL common parameters -| Name | Description | Value | -| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | -| `image.registry` | MySQL image registry | `REGISTRY_NAME` | -| `image.repository` | MySQL image repository | `REPOSITORY_NAME/mysql` | -| `image.digest` | MySQL image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` | -| `image.pullPolicy` | MySQL image pull policy | `IfNotPresent` | -| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` | -| `image.debug` | Specify if debug logs should be enabled | `false` | -| `architecture` | MySQL architecture (`standalone` or `replication`) | `standalone` | -| `auth.rootPassword` | Password for the `root` user. Ignored if existing secret is provided | `""` | -| `auth.createDatabase` | Whether to create the .Values.auth.database or not | `true` | -| `auth.database` | Name for a custom database to create | `my_database` | -| `auth.username` | Name for a custom user to create | `""` | -| `auth.password` | Password for the new user. Ignored if existing secret is provided | `""` | -| `auth.replicationUser` | MySQL replication user | `replicator` | -| `auth.replicationPassword` | MySQL replication user password. Ignored if existing secret is provided | `""` | -| `auth.existingSecret` | Use existing secret for password details. The secret has to contain the keys `mysql-root-password`, `mysql-replication-password` and `mysql-password` | `""` | -| `auth.usePasswordFiles` | Mount credentials as files instead of using an environment variable | `false` | -| `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` | `{}` | -| `auth.authenticationPolicy` | Sets the authentication policy, by default it will use `caching_sha2_password` | `""` | -| `initdbScripts` | Dictionary of initdb scripts | `{}` | -| `initdbScriptsConfigMap` | ConfigMap with the initdb scripts (Note: Overrides `initdbScripts`) | `""` | -| `startdbScripts` | Dictionary of startdb scripts | `{}` | -| `startdbScriptsConfigMap` | ConfigMap with the startdb scripts (Note: Overrides `startdbScripts`) | `""` | +| Name | Description | Value | +| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | +| `image.registry` | MySQL image registry | `REGISTRY_NAME` | +| `image.repository` | MySQL image repository | `REPOSITORY_NAME/mysql` | +| `image.digest` | MySQL image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` | +| `image.pullPolicy` | MySQL image pull policy | `IfNotPresent` | +| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` | +| `image.debug` | Specify if debug logs should be enabled | `false` | +| `architecture` | MySQL architecture (`standalone` or `replication`) | `standalone` | +| `auth.rootPassword` | Password for the `root` user. Ignored if existing secret is provided | `""` | +| `auth.createDatabase` | Whether to create the .Values.auth.database or not | `true` | +| `auth.database` | Name for a custom database to create | `my_database` | +| `auth.username` | Name for a custom user to create | `""` | +| `auth.password` | Password for the new user. Ignored if existing secret is provided | `""` | +| `auth.replicationUser` | MySQL replication user | `replicator` | +| `auth.replicationPassword` | MySQL replication user password. Ignored if existing secret is provided | `""` | +| `auth.existingSecret` | Use existing secret for password details. The secret has to contain the keys `mysql-root-password`, `mysql-replication-password` and `mysql-password` | `""` | +| `auth.usePasswordFiles` | Mount credentials as files instead of using an environment variable | `false` | +| `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` | `{}` | +| `auth.authenticationPolicy` | Sets the authentication policy, by default it will use `caching_sha2_password` | `""` | +| `initdbScripts` | Dictionary of initdb scripts | `{}` | +| `initdbScriptsConfigMap` | ConfigMap with the initdb scripts (Note: Overrides `initdbScripts`) | `""` | +| `startdbScripts` | Dictionary of startdb scripts | `{}` | +| `startdbScriptsConfigMap` | ConfigMap with the startdb scripts (Note: Overrides `startdbScripts`) | `""` | ### MySQL Primary parameters