diff --git a/charts/emailleg/v1.4.0/templates/config-job.yaml b/charts/emailleg/v1.4.0/templates/config-job.yaml index 130e4e6..38b7cd8 100644 --- a/charts/emailleg/v1.4.0/templates/config-job.yaml +++ b/charts/emailleg/v1.4.0/templates/config-job.yaml @@ -29,6 +29,8 @@ spec: value: {{ .Values.mail.domain }} - name: MANAGER_PW value: {{ .Values.mail.managerPW }} + - name: RATELIMIT_STORAGE_URL + value: "redis://{{ .Release.Name }}-mail" volumeMounts: - mountPath: /data subPath: data diff --git a/charts/emailleg/v1.4.0/templates/service.yaml b/charts/emailleg/v1.4.0/templates/service.yaml index 48c3e45..e1f41de 100755 --- a/charts/emailleg/v1.4.0/templates/service.yaml +++ b/charts/emailleg/v1.4.0/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "emailleg.fullname" . }} + name: {{ .Release.Name }}-mail labels: {{- include "emailleg.labels" . | nindent 4 }} spec: