Skip to content

Commit

Permalink
fix: bad indentation on redis standalone additional configs (OT-CONTA…
Browse files Browse the repository at this point in the history
…INER-KIT#1040)

fix bad indentation on redis standalone additional configs

It was incorrectly being nested under the redis exporter config key.

Signed-off-by: Daniel Schaaff <[email protected]>
  • Loading branch information
dschaaff authored Aug 6, 2024
1 parent 3698e79 commit 31c5dca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions charts/redis/templates/redis-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ spec:
{{- if .Values.redisStandalone.minReadySeconds }}
minReadySeconds: {{ .Values.redisStandalone.minReadySeconds }}
{{- end }}

redisExporter:
enabled: {{ .Values.redisExporter.enabled }}
image: "{{ .Values.redisExporter.image }}:{{ .Values.redisExporter.tag }}"
imagePullPolicy: "{{ .Values.redisExporter.imagePullPolicy }}"
{{- if .Values.redisExporter.resources}}
resources: {{ toYaml .Values.redisExporter.resources | nindent 6 }}
{{- end }}
{{- end }}
{{- if .Values.redisExporter.env }}
env: {{ toYaml .Values.redisExporter.env | nindent 6 }}
{{- 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 31c5dca

Please sign in to comment.