From 4879917937a12409563cd2e1c8b910eaffcdb648 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 11 Apr 2024 10:29:22 +0200 Subject: [PATCH] Update _dbWait.tpl --- library/common/templates/lib/dependencies/_dbWait.tpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/common/templates/lib/dependencies/_dbWait.tpl b/library/common/templates/lib/dependencies/_dbWait.tpl index 2d7eead0..e287c4ea 100644 --- a/library/common/templates/lib/dependencies/_dbWait.tpl +++ b/library/common/templates/lib/dependencies/_dbWait.tpl @@ -110,7 +110,7 @@ env: expandObjectName: false name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}' key: plainhost - REDIS_PASSWORD: "{{ .Values.mariadb.password }}" + REDIS_PASSWORD: "{{ .Values.redis.password }}" REDIS_PORT: "6379" command: - "/bin/sh" @@ -168,7 +168,11 @@ resources: cpu: 500m memory: 512Mi env: - MARIADB_HOST: "{{ .Values.mariadb.password }}" + MARIADB_HOST: + secretKeyRef: + expandObjectName: false + name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}' + key: plainhost MARIADB_ROOT_PASSWORD: "{{ .Values.mariadb.rootPassword }}" command: - "/bin/sh"