From 322224a6de9b6f969b76b06ea35fbd50a6c555da Mon Sep 17 00:00:00 2001 From: yeowchyuan <129846047+yeowchyuan@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:34:49 +0800 Subject: [PATCH] Redis secret is missing. To fix Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) --- templates/migrate-job.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/migrate-job.yaml b/templates/migrate-job.yaml index 5852a18..55bcff7 100644 --- a/templates/migrate-job.yaml +++ b/templates/migrate-job.yaml @@ -40,6 +40,11 @@ spec: secretKeyRef: name: {{ .Release.Name }}-secrets key: databaseUrl + - name: REDIS_URL + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-secrets + key: redisUrl - name: LAGO_RSA_PRIVATE_KEY valueFrom: secretKeyRef: