FINERACT-1457: Change Kubernetes set-up to use MariaDB

This commit is contained in:
Petri Tuomola
2021-12-30 11:41:54 +01:00
committed by Michael Vorburger ⛑️
parent 5efbd04173
commit ccff5d8ad2
4 changed files with 20 additions and 20 deletions
+4 -4
View File
@@ -86,7 +86,7 @@ spec:
tier: fineractmysql
spec:
containers:
- image: mysql:5.7
- image: mariadb:10.6
name: mysql
resources:
requests:
@@ -96,14 +96,14 @@ spec:
memory: "5Gi"
cpu: "2000m"
env:
- name: MYSQL_ROOT_PASSWORD
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: fineract-tenants-db-secret
key: password
livenessProbe:
exec:
command: ["sh","-c","mysqladmin ping -h localhost -uroot -p${MYSQL_ROOT_PASSWORD}"]
command: ["sh","-c","mysqladmin ping -h localhost -uroot -p${MARIADB_ROOT_PASSWORD}"]
failureThreshold: 10
timeoutSeconds: 10
readinessProbe:
@@ -111,7 +111,7 @@ spec:
command:
- sh
- -c
- mysqladmin ping -uroot -p${MYSQL_PASSWORD}
- mysqladmin ping -uroot -p${MARIADB_ROOT_PASSWORD}
failureThreshold: 10
initialDelaySeconds: 5
periodSeconds: 5