aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2018-09-13 09:32:08 -0400
committerMike Elliott <mike.elliott@amdocs.com>2018-09-13 09:37:54 -0400
commit4c88b2d357750ab3a5f2ec4ef05f81c9c3ce22b4 (patch)
treef876bda6cd7e25f4d58ea1b22c45125c574b6ce9 /kubernetes/common/mariadb-galera/templates
parenta859647740e19b62c44244e256c48a8847900259 (diff)
Add mariadb-galera port name override
The service name was being used as the port name. There is a 15 character limit for a port name in Helm. This patch allows another chart to configure the port name that is used via service.portName. Change-Id: Ie4b805a5e58a53b10480961e543267ca8bb1dc00 Issue-ID: CCSDK-523 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates')
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
index 20a03499bb..8b2aafbd49 100644
--- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml
+++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml
@@ -73,13 +73,13 @@ spec:
key: db-root-password
ports:
- containerPort: {{ .Values.service.internalPort }}
- name: {{ .Values.service.name }}
+ name: {{ .Values.service.portName }}
- containerPort: {{ .Values.service.sstPort }}
- name: {{ .Values.service.sstName }}
+ name: {{ .Values.service.sstPortName }}
- containerPort: {{ .Values.service.replicationPort }}
name: {{ .Values.service.replicationName }}
- containerPort: {{ .Values.service.istPort }}
- name: {{ .Values.service.istName }}
+ name: {{ .Values.service.istPortName }}
readinessProbe:
exec:
command: