diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-10-12 10:16:29 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-10-16 08:15:36 +0200 |
commit | 7a24e5fedfafeab43c80403759507960abb3c2b0 (patch) | |
tree | bd346c160e72af2274f1beb2a4987fb19ba3af51 /kubernetes/common/mariadb-galera | |
parent | 11a7c5036e8d5b7e4c9bf3c2d0c06dc0ebef9ba8 (diff) |
[MARIADB] Update mariadb template to the 0.21.0 Operator
In the mariadb-operator version 0.21.0 changes to the CRDs
have been done, which require a change in the template.
see: https://github.com/mariadb-operator/mariadb-operator/pull/248
PeerAuthentication depends on galera setting (not know why)
Issue-ID: OOM-3236
Change-Id: Iaf3cd7128e4c9889c1d56b9b83a72a352e60a39d
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/common/mariadb-galera')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/service.yaml | 4 | ||||
-rw-r--r-- | kubernetes/common/mariadb-galera/values.yaml | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/service.yaml b/kubernetes/common/mariadb-galera/templates/service.yaml index 2dea4e9ac1..e1a910557f 100644 --- a/kubernetes/common/mariadb-galera/templates/service.yaml +++ b/kubernetes/common/mariadb-galera/templates/service.yaml @@ -34,6 +34,10 @@ spec: app: {{ include "common.servicename" . }} portLevelMtls: '{{ .Values.service.internalPort }}': +{{- if .Values.mariadbOperator.galera.enabled }} mode: STRICT +{{- else }} + mode: DISABLE +{{- end }} {{- end }} {{- end }} diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml index a749c0959c..1ad72e2956 100644 --- a/kubernetes/common/mariadb-galera/values.yaml +++ b/kubernetes/common/mariadb-galera/values.yaml @@ -57,12 +57,15 @@ secrets: mariadbOperator: image: mariadb appVersion: 11.1.2 + persistence: + #storageClassName: default + size: 3Gi galera: enabled: true agentImage: mariadb-operator/agent - agentVersion: v0.0.2 + agentVersion: v0.0.3 initImage: mariadb-operator/init - initVersion: v0.0.5 + initVersion: v0.0.6 ## String to partially override common.names.fullname template (will maintain the release name) ## |