Browse Source

Changed mail service name

master
Fábio Kaiser Rauber 3 years ago
parent
commit
15e92d0de1
  1. 2
      charts/emailleg/v1.4.0/templates/config-job.yaml
  2. 2
      charts/emailleg/v1.4.0/templates/service.yaml

2
charts/emailleg/v1.4.0/templates/config-job.yaml

@ -29,6 +29,8 @@ spec:
value: {{ .Values.mail.domain }} value: {{ .Values.mail.domain }}
- name: MANAGER_PW - name: MANAGER_PW
value: {{ .Values.mail.managerPW }} value: {{ .Values.mail.managerPW }}
- name: RATELIMIT_STORAGE_URL
value: "redis://{{ .Release.Name }}-mail"
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
subPath: data subPath: data

2
charts/emailleg/v1.4.0/templates/service.yaml

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "emailleg.fullname" . }} name: {{ .Release.Name }}-mail
labels: labels:
{{- include "emailleg.labels" . | nindent 4 }} {{- include "emailleg.labels" . | nindent 4 }}
spec: spec:

Loading…
Cancel
Save