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 }}