diff --git a/mariadb/Chart.yaml b/mariadb/Chart.yaml index c56ffc810..de965d53c 100644 --- a/mariadb/Chart.yaml +++ b/mariadb/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v10.2.31 description: OpenStack-Helm MariaDB name: mariadb -version: 0.2.24 +version: 0.2.25 home: https://mariadb.com/kb/en/ icon: http://badges.mariadb.org/mariadb-badge-180x60.png sources: diff --git a/mariadb/templates/statefulset.yaml b/mariadb/templates/statefulset.yaml index 33819f3e9..31d322b5c 100644 --- a/mariadb/templates/statefulset.yaml +++ b/mariadb/templates/statefulset.yaml @@ -200,6 +200,7 @@ spec: command: - /tmp/stop.sh {{ dict "envAll" . "component" "server" "container" "mariadb" "type" "readiness" "probeTemplate" (include "mariadbReadinessProbe" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} +{{ dict "envAll" . "component" "server" "container" "mariadb" "type" "liveness" "probeTemplate" (include "mariadbReadinessProbe" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} volumeMounts: - name: pod-tmp mountPath: /tmp diff --git a/mariadb/values.yaml b/mariadb/values.yaml index 9347aaeb0..6664b1d32 100644 --- a/mariadb/values.yaml +++ b/mariadb/values.yaml @@ -68,6 +68,12 @@ pod: initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 15 + liveness: + enabled: true + params: + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 15 security_context: server: pod: diff --git a/releasenotes/notes/mariadb.yaml b/releasenotes/notes/mariadb.yaml index c5acf11ec..bece0b48f 100644 --- a/releasenotes/notes/mariadb.yaml +++ b/releasenotes/notes/mariadb.yaml @@ -40,4 +40,5 @@ mariadb: - 0.2.22 Fix ingress cluster role privileges - 0.2.23 Fix backup script by ignoring sys database for MariaDB 10.6 compartibility - 0.2.24 Uplift Mariadb-ingress to 1.2.0 + - 0.2.25 Add liveness probe to restart a pod that got stuck in a transfer wsrep_local_state_comment ...