@ -30,7 +30,7 @@ spec:
- name: MANAGER_PW
value: {{ .Values.mail.managerPW }}
- name: RATELIMIT_STORAGE_URL
value: "redis://mail"
value: "redis://{{ .Release.Name }}-mail"
volumeMounts:
- mountPath: /data
subPath: data
@ -24,7 +24,6 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
hostname: mail
containers:
- name: imap
@ -23,5 +23,9 @@ spec:
targetPort: smtp
protocol: TCP
name: smtp
- port: 6379
targetPort: 6379
name: redis
selector:
{{- include "emailleg.selectorLabels" . | nindent 4 }}