[COMMON] Apply changes for mariadb-init project 75/121075/27
authorMahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Tue, 4 May 2021 15:52:04 +0000 (17:52 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 30 Jun 2021 06:36:38 +0000 (06:36 +0000)
commite351f51a3e1059df65d9e6e0e266da42305ed7b6
tree1d94b81084e7bdd08690a9b8adfd21f5b4e02195
parent0fae0aa8378794316c1a1ddd50397a2c6ebc12df
[COMMON] Apply changes for mariadb-init project

Two changes are intended with this commit:
- (for proper name mapping) Update VolumeMounts names to be:
(mariadb-init for mountPath /db-init/)
(mariadb-conf for mountPath /db-conf/)
originally it was reversed.
- Make use of (common.mariadbService) and (common.mariadbPort) defined
in (common/templates/_mariadb.tpl) into job.yaml. This will reflect the
proper values for mariadb service name and port in case of local
installation.

Issue-ID: OOM-2737
Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Change-Id: I303f8d5f56632289d8dfd2f2ba8c35819a4f871c
kubernetes/common/mariadb-init/templates/job.yaml