aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/mariadb-galera')
-rw-r--r--kubernetes/common/mariadb-galera/templates/service.yaml6
-rw-r--r--kubernetes/common/mariadb-galera/values.yaml3
2 files changed, 5 insertions, 4 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/service.yaml b/kubernetes/common/mariadb-galera/templates/service.yaml
index f5f93ed9b6..d17d350b74 100644
--- a/kubernetes/common/mariadb-galera/templates/service.yaml
+++ b/kubernetes/common/mariadb-galera/templates/service.yaml
@@ -3,7 +3,7 @@ kind: Service
metadata:
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
- name: {{ include "common.fullname" . }}
+ name: {{ include "common.servicename" . }}
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.fullname" . }}
@@ -12,8 +12,8 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
ports:
- - name: {{ .Values.service.name }}
+ - name: {{ .Values.service.portName }}
port: {{ .Values.service.internalPort }}
clusterIP: None
selector:
- app: {{ include "common.fullname" . }} \ No newline at end of file
+ app: {{ include "common.fullname" . }}
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml
index f65a8a57e6..bf51443ff9 100644
--- a/kubernetes/common/mariadb-galera/values.yaml
+++ b/kubernetes/common/mariadb-galera/values.yaml
@@ -70,6 +70,7 @@ persistence:
service:
internalPort: 3306
name: mariadb-galera
+ portName: mariadb-galera
sstPort: 4444
sstName: sst
replicationPort: 4567
@@ -112,4 +113,4 @@ resources:
nameOverride: mariadb-galera
# DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
-#dnsnameOverride: mariadb-galera \ No newline at end of file
+#dnsnameOverride: mariadb-galera