From 5e7650a373c5daeae675d903c6c073bb7199ff88 Mon Sep 17 00:00:00 2001 From: Tim Campbell Date: Tue, 14 May 2024 21:44:59 +0200 Subject: [PATCH] Additional configuration for redis instances --- templates/configmap-env.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index 7db39f9..6f4e001 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -73,10 +73,10 @@ data: {{- end }} REDIS_PORT: {{ .Values.redis.port | default "6379" | quote }} {{- if .Values.redis.sidekiq.enabled }} - {{- if .Values.redis.sidekiq.host }} - SIDEKIQ_REDIS_HOST: {{ .Values.redis.sidekiq.host }} + {{- if .Values.redis.sidekiq.hostname }} + SIDEKIQ_REDIS_HOST: {{ .Values.redis.sidekiq.hostname }} {{- else }} - SIDEKIQ_REDIS_HOST: {{ .Values.redis.host }} + SIDEKIQ_REDIS_HOST: {{ .Values.redis.hostname }} {{- end }} {{- if .Values.redis.sidekiq.port }} SIDEKIQ_REDIS_PORT: {{ .Values.redis.sidekiq.port }} @@ -85,10 +85,10 @@ data: {{- end }} {{- end }} {{- if .Values.redis.cache.enabled }} - {{- if .Values.redis.cache.host }} - CACHE_REDIS_HOST: {{ .Values.redis.cache.host }} + {{- if .Values.redis.cache.hostname }} + CACHE_REDIS_HOST: {{ .Values.redis.cache.hostname }} {{- else }} - CACHE_REDIS_HOST: {{ .Values.redis.host}} + CACHE_REDIS_HOST: {{ .Values.redis.hostname}} {{- end }} {{- if .Values.redis.cache.port }} CACHE_REDIS_PORT: {{ .Values.redis.cache.port }}