diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-12-05 13:51:26 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-12-05 13:54:24 +0100 |
commit | b1a0103760fdee36c958210c73a1d774658238dc (patch) | |
tree | 84113c3cd2849a1ba55dd69be78d02e2359951d5 | |
parent | 2ad6c16c56c038178c8001a242e8c3243e21e9ba (diff) |
[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 <andreas-geissler@telekom.de>
-rw-r--r-- | kubernetes/common/common/templates/_mariadb.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
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 |