From 945eed9875ca72df40242e80802338b7c1f94184 Mon Sep 17 00:00:00 2001 From: Guillaume Retureau <guillaume.retureau@eileo.com> Date: Wed, 28 Jun 2023 15:46:02 +0200 Subject: [PATCH] fix --- .gitignore | 1 + templates/api/api-config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..849ddff --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dist/ diff --git a/templates/api/api-config.yaml b/templates/api/api-config.yaml index 9c7e6de..68116bc 100644 --- a/templates/api/api-config.yaml +++ b/templates/api/api-config.yaml @@ -4,5 +4,5 @@ kind: ConfigMap metadata: name: {{ include "MyAppCtx.fullname" .}}-api data: - DB_ENDPOINT: "{{ .Values.name }}-database:5432" + DB_ENDPOINT: "{{ include "MyAppCtx.fullname" .}}-database:5432" {{- end }} \ No newline at end of file -- GitLab