diff --git a/bitnami/mysql/Chart.yaml b/bitnami/mysql/Chart.yaml index cc6360b1517f2e..c1cdaf79a3f834 100644 --- a/bitnami/mysql/Chart.yaml +++ b/bitnami/mysql/Chart.yaml @@ -34,4 +34,4 @@ maintainers: name: mysql sources: - https://github.com/bitnami/charts/tree/main/bitnami/mysql -version: 10.2.3 +version: 10.2.4 diff --git a/bitnami/mysql/templates/primary/statefulset.yaml b/bitnami/mysql/templates/primary/statefulset.yaml index 4d6c5d46ae1f62..704a3ddf5ff11b 100644 --- a/bitnami/mysql/templates/primary/statefulset.yaml +++ b/bitnami/mysql/templates/primary/statefulset.yaml @@ -259,7 +259,7 @@ spec: if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") fi - mysqladmin status -uroot -p"${password_aux}" + mysqladmin ping -uroot -p"${password_aux}" {{- end }} {{- if .Values.primary.customStartupProbe }} startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.primary.customStartupProbe "context" $) | nindent 12 }} @@ -274,7 +274,7 @@ spec: if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") fi - mysqladmin status -uroot -p"${password_aux}" + mysqladmin ping -uroot -p"${password_aux}" {{- end }} {{- end }} {{- if .Values.primary.resources }} diff --git a/bitnami/mysql/templates/secondary/statefulset.yaml b/bitnami/mysql/templates/secondary/statefulset.yaml index 144e9a1174023e..c727944829280a 100644 --- a/bitnami/mysql/templates/secondary/statefulset.yaml +++ b/bitnami/mysql/templates/secondary/statefulset.yaml @@ -243,7 +243,7 @@ spec: if [[ -f "${MYSQL_MASTER_ROOT_PASSWORD_FILE:-}" ]]; then password_aux=$(cat "$MYSQL_MASTER_ROOT_PASSWORD_FILE") fi - mysqladmin status -uroot -p"${password_aux}" + mysqladmin ping -uroot -p"${password_aux}" {{- end }} {{- if .Values.secondary.customStartupProbe }} startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.secondary.customStartupProbe "context" $) | nindent 12 }} @@ -258,7 +258,7 @@ spec: if [[ -f "${MYSQL_MASTER_ROOT_PASSWORD_FILE:-}" ]]; then password_aux=$(cat "$MYSQL_MASTER_ROOT_PASSWORD_FILE") fi - mysqladmin status -uroot -p"${password_aux}" + mysqladmin ping -uroot -p"${password_aux}" {{- end }} {{- end }} {{- if .Values.secondary.resources }}