From b1a0103760fdee36c958210c73a1d774658238dc Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Tue, 5 Dec 2023 13:51:26 +0100 Subject: [MARIADB] Fix StorageClassName for Galera Add missing entry for customized StorageClass for the MariaDB-Operator based DB instances Issue-ID: OOM-3236 Change-Id: I6c65c1553fc01181aa7dbc5fedb3237c110fc172 Signed-off-by: Andreas Geissler --- kubernetes/common/common/templates/_mariadb.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kubernetes/common/common/templates/_mariadb.tpl b/kubernetes/common/common/templates/_mariadb.tpl index c90b86c3a4..ff3f7f88c3 100644 --- a/kubernetes/common/common/templates/_mariadb.tpl +++ b/kubernetes/common/common/templates/_mariadb.tpl @@ -281,6 +281,9 @@ spec: image: {{ include "repositoryGenerator.githubContainerRegistry" . }}/{{ $dot.Values.mariadbOperator.galera.initImage }}:{{ $dot.Values.mariadbOperator.galera.initVersion }} imagePullPolicy: IfNotPresent volumeClaimTemplate: + {{- if .Values.mariadbOperator.storageClassName }} + storageClassName: {{ .Values.mariadbOperator.storageClassName }} + {{- end }} resources: requests: storage: 50Mi -- cgit 1.2.3-korg