diff options
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates/service.yaml')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/service.yaml | 4 |
1 files changed, 4 insertions, 0 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 }} |