fix
This commit is contained in:
@@ -205,7 +205,7 @@ resource "kubectl_manifest" "haraka_config" {
|
|||||||
## database name or connection string for the attachments db
|
## database name or connection string for the attachments db
|
||||||
#gridfs: "attachments"
|
#gridfs: "attachments"
|
||||||
## database name or connection string for the outbound queue
|
## database name or connection string for the outbound queue
|
||||||
sender: 'mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/zone-mta'
|
sender: 'zone-mta'
|
||||||
sender:
|
sender:
|
||||||
# Push messages to ZoneMTA queue for delivery
|
# Push messages to ZoneMTA queue for delivery
|
||||||
# if `false` then no messages are sent
|
# if `false` then no messages are sent
|
||||||
@@ -224,7 +224,7 @@ resource "kubectl_manifest" "haraka_config" {
|
|||||||
loopSecret: '${local.secrets.srs}'
|
loopSecret: '${local.secrets.srs}'
|
||||||
srs:
|
srs:
|
||||||
# must be shared with ZoneMTA SRS config, otherwise messages sent from ZoneMTA are not recognized by Haraka
|
# must be shared with ZoneMTA SRS config, otherwise messages sent from ZoneMTA are not recognized by Haraka
|
||||||
secret: 'secret value'
|
secret: '${local.secrets.srs}'
|
||||||
attachments:
|
attachments:
|
||||||
type: 'gridstore'
|
type: 'gridstore'
|
||||||
bucket: 'attachments'
|
bucket: 'attachments'
|
||||||
|
|||||||
@@ -6,11 +6,6 @@ metadata:
|
|||||||
name: wildduck
|
name: wildduck
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
haraka:
|
haraka:
|
||||||
@@ -179,6 +174,56 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
|
backups:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
endpoint:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
key-id-key:
|
||||||
|
default: s3-id
|
||||||
|
type: string
|
||||||
|
secret-key:
|
||||||
|
default: s3-secret
|
||||||
|
type: string
|
||||||
|
secret-name:
|
||||||
|
default: backup-settings
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
ingress-class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
additional-domains:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
exporter:
|
exporter:
|
||||||
@@ -212,51 +257,6 @@ options:
|
|||||||
default: 2Gi
|
default: 2Gi
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
additional-domains:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
backups:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
endpoint:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
key-id-key:
|
|
||||||
default: s3-id
|
|
||||||
type: string
|
|
||||||
secret-key:
|
|
||||||
default: s3-secret
|
|
||||||
type: string
|
|
||||||
secret-name:
|
|
||||||
default: backup-settings
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
sub-domain:
|
sub-domain:
|
||||||
default: mail
|
default: mail
|
||||||
examples:
|
examples:
|
||||||
|
|||||||
@@ -167,20 +167,11 @@ resource "kubectl_manifest" "zonemta_config" {
|
|||||||
# DKIM Settings
|
# DKIM Settings
|
||||||
# -------------
|
# -------------
|
||||||
["modules/zonemta-wildduck".dkim]
|
["modules/zonemta-wildduck".dkim]
|
||||||
# If true then also adds a signature for the outbound domain
|
cipher="aes192"
|
||||||
|
secret="${local.secrets.dkim}"
|
||||||
|
useOpenSSL=true
|
||||||
signTransportDomain=false
|
signTransportDomain=false
|
||||||
# If set then decrypt encrypted DKIM keys using this password
|
hashAlgo="sha256"
|
||||||
#secret="a secret cat"
|
|
||||||
# Cipher to use to decrypt encrypted DKIM keys
|
|
||||||
#cipher="aes192"
|
|
||||||
["modules/zonemta-wildduck".gelf]
|
|
||||||
enabled=false
|
|
||||||
component="mta"
|
|
||||||
["modules/zonemta-wildduck".gelf.options]
|
|
||||||
graylogPort=12201
|
|
||||||
graylogHostname='127.0.0.1'
|
|
||||||
connection='lan'
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user