You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
464 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "mail-relay.fullname" . }}
labels:
{{- include "mail-relay.labels" . | nindent 4 }}
data:
sasl_passwd: {{- toYaml .Values.config.sasl_passwd | nindent 4 }}
transport: {{- toYaml .Values.config.transport | nindent 4 }}
update_transport.sh: |
#!/bin/sh
postmap /etc/postfix/transport
postconf -e "transport_maps = hash:/etc/postfix/transport"
postmap /etc/postfix/sasl_passwd