From c6045bdf4bcc9376e7c02bb3473300c1aaa2d8bb Mon Sep 17 00:00:00 2001 From: Sergiy Markin Date: Tue, 29 Jul 2025 16:46:07 +0000 Subject: [PATCH] [mariadb] Fix exporter secrets hash in StatefulSet template This commit ensures that the hash for the exporter secrets is included in the StatefulSet template of the MariaDB chart. This is necessary for the exporter component to function correctly within the MariaDB deployment. Change-Id: Ie5c0630f931165d0319e6c94087f86e58bc5b505 Signed-off-by: Sergiy Markin --- mariadb/templates/statefulset.yaml | 1 + releasenotes/notes/mariadb-7d8282a6eeb4d249.yaml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/mariadb-7d8282a6eeb4d249.yaml diff --git a/mariadb/templates/statefulset.yaml b/mariadb/templates/statefulset.yaml index 963d66e216..21d26706cc 100644 --- a/mariadb/templates/statefulset.yaml +++ b/mariadb/templates/statefulset.yaml @@ -122,6 +122,7 @@ spec: configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }} mariadb-dbadmin-password-hash: {{ tuple "secret-dbadmin-password.yaml" . | include "helm-toolkit.utils.hash" }} mariadb-sst-password-hash: {{ tuple "secret-dbadmin-password.yaml" . | include "helm-toolkit.utils.hash" }} + secrets-etc-exporter-hash: {{ tuple "exporter-secrets-etc.yaml" . | include "helm-toolkit.utils.hash" }} {{ dict "envAll" $envAll "podName" "mariadb-server" "containerNames" (list "init" "mariadb-perms" "mariadb") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} spec: shareProcessNamespace: true diff --git a/releasenotes/notes/mariadb-7d8282a6eeb4d249.yaml b/releasenotes/notes/mariadb-7d8282a6eeb4d249.yaml new file mode 100644 index 0000000000..408e31c2b0 --- /dev/null +++ b/releasenotes/notes/mariadb-7d8282a6eeb4d249.yaml @@ -0,0 +1,8 @@ +--- +mariadb: + - | + This change applies a fix to the StatefulSet template of the MariaDB chart, + ensuring that the hash for the exporter secrets is correctly included. This + is necessary for the proper functioning of the exporter component in the + MariaDB deployment. +...