Skip to content

Commit

Permalink
fix redis data dir mount
Browse files Browse the repository at this point in the history
  • Loading branch information
Efber committed Dec 26, 2024
1 parent 55abd63 commit fa52d3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/keys/templates/redis/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
- configMap:
name: {{ include "keys.redis.name" . }}
name: conf
- name: data
emptyDir:
sizeLimit: 1Gi
containers:
- name: redis
image: {{ required "A valid .Values.dgctlDockerRegistry entry required" .Values.dgctlDockerRegistry }}/{{ .Values.redis.image.repository }}:{{ .Values.redis.image.tag }}
Expand All @@ -53,6 +56,8 @@ spec:
- name: conf
mountPath: {{ .Values.redis.configPath }}
subPath: redis.conf
- name: data
mountPath: /data
{{- with .Values.redis.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit fa52d3d

Please sign in to comment.