Skip to content

Commit

Permalink
Fixing wrong references to the redisConfig in standalone, replication…
Browse files Browse the repository at this point in the history
… and sentinel charts

Signed-off-by: David Andino <[email protected]>
  • Loading branch information
andinod committed Mar 15, 2024
1 parent a9c8caf commit 330b0aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/redis-replication/templates/redis-replication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 0 additions & 4 deletions charts/redis-sentinel/templates/redis-sentinel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/redis/templates/redis-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 330b0aa

Please sign in to comment.