Browse Source

Added config for relay_host in mailauth

master
Fábio Kaiser Rauber 2 years ago
parent
commit
15f1602f87
  1. 5
      charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml
  2. 1
      charts/mailproxy/v0.1.0/values.yaml

5
charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml

@ -36,6 +36,11 @@ spec:
containerPort: {{ $port.number }}
protocol: {{ $port.protocol }}
{{- end }}
{{- if .Values.mailauth.relayHost }}
env:
- name: RELAY_HOST
value: {{ .Values.mailauth.relayHost | quote }}
{{- end }}
livenessProbe:
tcpSocket:
port: {{ (index .Values.mailauth.service.ports 0).number }}

1
charts/mailproxy/v0.1.0/values.yaml

@ -44,6 +44,7 @@ mailauth:
- name: php-fpm
number: 9000
protocol: TCP
relayHost: ""
resources: {}
# limits:
# cpu: 100m

Loading…
Cancel
Save