mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/mariadb] Fix typo in secondary startup probe (#8234)
This commit is contained in:
@@ -26,4 +26,4 @@ sources:
|
|||||||
- https://github.com/bitnami/bitnami-docker-mariadb
|
- https://github.com/bitnami/bitnami-docker-mariadb
|
||||||
- https://github.com/prometheus/mysqld_exporter
|
- https://github.com/prometheus/mysqld_exporter
|
||||||
- https://mariadb.org
|
- https://mariadb.org
|
||||||
version: 10.0.1
|
version: 10.0.2
|
||||||
|
|||||||
@@ -189,9 +189,9 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -ec
|
- -ec
|
||||||
- |
|
- |
|
||||||
password_aux="${MARIADB_ROOT_PASSWORD:-}"
|
password_aux="${MARIADB_MASTER_ROOT_PASSWORD:-}"
|
||||||
if [[ -f "${MARIADB_ROOT_PASSWORD_FILE:-}" ]]; then
|
if [[ -f "${MARIADB_MASTER_ROOT_PASSWORD_FILE:-}" ]]; then
|
||||||
password_aux=$(cat "$MARIADB_ROOT_PASSWORD_FILE")
|
password_aux=$(cat "$MARIADB_MASTER_ROOT_PASSWORD_FILE")
|
||||||
fi
|
fi
|
||||||
mysqladmin status -uroot -p"${password_aux}"
|
mysqladmin status -uroot -p"${password_aux}"
|
||||||
{{- else if .Values.secondary.customStartupProbe }}
|
{{- else if .Values.secondary.customStartupProbe }}
|
||||||
|
|||||||
Reference in New Issue
Block a user