From fcdbaaae3e3655985efed7ddea7484d31f5837a5 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 5baa66d8..d5807b2a 100644 --- a/chart/templates/like-service.yaml +++ b/chart/templates/like-service.yaml @@ -66,9 +66,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: