summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>2021-06-15 16:43:02 +0200
committerMahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>2021-06-16 13:54:54 +0200
commitdfa07dd296a1dc781cb97b7c6c8314ea8a2fc855 (patch)
tree918a0353fe3db65290c05d48086fdefa653aebc1 /kubernetes
parent38634d6ef44d9d4954e553445451992e33c1f2f5 (diff)
[COMMON] Add port under mariadb-galera chart
Update mariadb-galera chart to add internalport value under (.Values. service) to resolve the port settings needed for the template (common. mariadbPort) under (common/_mariadb.tpl). This parameter will use the default value of mariadb 3306 which can be changed in component charts. Issue-ID: OOM-2773 Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com> Change-Id: I0d59ba42f07426b14ec7bc7f157392b5f10b9006
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/common/mariadb-galera/values.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml
index 4c77efc83f..ed9977acd9 100644
--- a/kubernetes/common/mariadb-galera/values.yaml
+++ b/kubernetes/common/mariadb-galera/values.yaml
@@ -86,9 +86,10 @@ service:
##
type: ClusterIP
headless: {}
+ internalPort: &dbPort 3306
ports:
- name: mysql
- port: 3306
+ port: *dbPort
headlessPorts:
- name: galera
port: 4567