Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[MARIADB] Update mariadb template to the 0.21.0 Operator
[oom.git]
/
kubernetes
/
common
/
mariadb-galera
/
templates
/
service.yaml
diff --git
a/kubernetes/common/mariadb-galera/templates/service.yaml
b/kubernetes/common/mariadb-galera/templates/service.yaml
index
2dea4e9
..
e1a9105
100644
(file)
--- 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 }}