From 330b0aa503c2d57cee73112aedb98b97c2964aac Mon Sep 17 00:00:00 2001 From: David Andino Date: Fri, 15 Mar 2024 15:14:48 +0100 Subject: [PATCH] Fixing wrong references to the redisConfig in standalone, replication and sentinel charts Signed-off-by: David Andino --- charts/redis-replication/templates/redis-replication.yaml | 4 ++-- charts/redis-sentinel/templates/redis-sentinel.yaml | 4 ---- charts/redis/templates/redis-standalone.yaml | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/charts/redis-replication/templates/redis-replication.yaml b/charts/redis-replication/templates/redis-replication.yaml index ea89f23b..7eaa82f8 100644 --- a/charts/redis-replication/templates/redis-replication.yaml +++ b/charts/redis-replication/templates/redis-replication.yaml @@ -36,8 +36,8 @@ spec: {{- end }} {{- if .Values.externalConfig.enabled }} - redisConfig: - additionalRedisConfig: "{{ .Values.redisReplication.name | default .Release.Name }}-ext-config" + redisConfig: + additionalRedisConfig: "{{ .Values.redisReplication.name | default .Release.Name }}-ext-config" {{- end }} {{- if .Values.storageSpec }} storage: {{ toYaml .Values.storageSpec | nindent 4 }} diff --git a/charts/redis-sentinel/templates/redis-sentinel.yaml b/charts/redis-sentinel/templates/redis-sentinel.yaml index c65ad584..df888a69 100644 --- a/charts/redis-sentinel/templates/redis-sentinel.yaml +++ b/charts/redis-sentinel/templates/redis-sentinel.yaml @@ -48,10 +48,6 @@ spec: env: {{ toYaml .Values.redisExporter.env | nindent 6 }} {{- end }} - {{- if .Values.externalConfig.enabled }} - redisConfig: - additionalRedisConfig: "{{ .Values.redisSentinel.name | default .Release.Name }}-ext-config" - {{- end }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 4 }} {{- end }} diff --git a/charts/redis/templates/redis-standalone.yaml b/charts/redis/templates/redis-standalone.yaml index c4877503..19acd578 100644 --- a/charts/redis/templates/redis-standalone.yaml +++ b/charts/redis/templates/redis-standalone.yaml @@ -35,8 +35,8 @@ spec: {{- end }} {{- if .Values.externalConfig.enabled }} - redisConfig: - additionalRedisConfig: "{{ .Values.redisStandalone.name | default .Release.Name }}-ext-config" + redisConfig: + additionalRedisConfig: "{{ .Values.redisStandalone.name | default .Release.Name }}-ext-config" {{- end }} {{- if .Values.storageSpec }} storage: {{ toYaml .Values.storageSpec | nindent 4 }}