From 5c8b6d32d4909acba591ec67fa056220b86d9f68 Mon Sep 17 00:00:00 2001 From: "Kyohei.Saito" Date: Sun, 27 Oct 2024 09:59:43 +0900 Subject: [PATCH] :bug: fix(chart): use tpl function To allow reading of another value --- chart/templates/like-service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/like-service.yaml b/chart/templates/like-service.yaml index 3cc1c3ac..371155a0 100644 --- a/chart/templates/like-service.yaml +++ b/chart/templates/like-service.yaml @@ -63,9 +63,9 @@ spec: - name: USER_AUTH_SERVICE_ADDRESS value: {{ quote .Values.likeService.deployment.container.env.USER_AUTH_SERVICE_ADDRESS }} - name: DB_HOST - value: {{ quote .Values.likeService.deployment.container.env.DB_HOST }} + value: {{ tpl .Values.likeService.deployment.container.env.DB_HOST . }} - name: DB_PORT - value: {{ quote .Values.likeService.deployment.container.env.DB_PORT }} + value: {{ tpl .Values.likeService.deployment.container.env.DB_PORT . }} - name: MARIADB_PASSWORD valueFrom: secretKeyRef: