[MARIADB] Update mariadb template to the 0.21.0 Operator
[oom.git] / kubernetes / common / mariadb-galera / templates / service.yaml
index 2dea4e9..e1a9105 100644 (file)
@@ -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 }}