5b3058e75e
- Splits hash-type map files into a separate postfix-maps ConfigMap - Adds postmap init container that builds .db files from all maps into a postfix-db emptyDir, which is then subPath-mounted per map in the main container - Updates transport_maps in main.cf to hash:/etc/postfix/transport
37 lines
926 B
YAML
37 lines
926 B
YAML
---
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
- certificate.yaml
|
|
- gateway.yaml
|
|
- httproute.yaml
|
|
- namespace.yaml
|
|
- postfix-deployment.yaml
|
|
- postfix-hpa.yaml
|
|
- rspamd-deployment.yaml
|
|
- rspamd-hpa.yaml
|
|
- services.yaml
|
|
- vaultauth.yaml
|
|
- vaultstaticsecret.yaml
|
|
|
|
configMapGenerator:
|
|
- name: postfix-config
|
|
files:
|
|
- main.cf=resources/postfix/main.cf
|
|
- master.cf=resources/postfix/master.cf
|
|
options:
|
|
disableNameSuffixHash: true
|
|
- name: postfix-maps
|
|
files:
|
|
- transport=resources/postfix/transport
|
|
options:
|
|
disableNameSuffixHash: true
|
|
- name: rspamd-config
|
|
files:
|
|
- worker-proxy.inc=resources/rspamd/local.d/worker-proxy.inc
|
|
- dkim_signing.conf=resources/rspamd/local.d/dkim_signing.conf
|
|
- milter_headers.conf=resources/rspamd/local.d/milter_headers.conf
|
|
options:
|
|
disableNameSuffixHash: true
|