From a8ac0252a5b81d664dcd377d2d51c83675c16edc Mon Sep 17 00:00:00 2001 From: wissam Date: Sun, 12 Sep 2021 19:01:24 +0300 Subject: [PATCH] [monica] Fix mysql service host name --- charts/monica/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/monica/templates/_helpers.tpl b/charts/monica/templates/_helpers.tpl index 014a9bc..7294d8c 100644 --- a/charts/monica/templates/_helpers.tpl +++ b/charts/monica/templates/_helpers.tpl @@ -72,6 +72,6 @@ Create the name for the MySQL service to use. Define MySQL host and port env vars. */}} {{- define "monica.mysql.env" -}} -DB_HOST: {{ include "monica.mysql.fullname" . }} +DB_HOST: {{ include "monica.mysql.fullname" . }}-headless DB_PORT: {{ 3306 | quote }} {{- end }}