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 }} containerPort: {{ $port.number }}
protocol: {{ $port.protocol }} protocol: {{ $port.protocol }}
{{- end }} {{- end }}
{{- if .Values.mailauth.relayHost }}
env:
- name: RELAY_HOST
value: {{ .Values.mailauth.relayHost | quote }}
{{- end }}
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: {{ (index .Values.mailauth.service.ports 0).number }} port: {{ (index .Values.mailauth.service.ports 0).number }}

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

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

Loading…
Cancel
Save