fix
This commit is contained in:
@@ -198,13 +198,7 @@ resource "kubectl_manifest" "haraka_config" {
|
|||||||
host: "${var.instance}-${var.component}-redis.${var.namespace}.svc"
|
host: "${var.instance}-${var.component}-redis.${var.namespace}.svc"
|
||||||
db: 3
|
db: 3
|
||||||
mongo:
|
mongo:
|
||||||
# connection string for main messages database
|
|
||||||
url: 'mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/wildduck'
|
url: 'mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/wildduck'
|
||||||
## database name or connection string for the users db
|
|
||||||
#users: "users"
|
|
||||||
## database name or connection string for the attachments db
|
|
||||||
#gridfs: "attachments"
|
|
||||||
## database name or connection string for the outbound queue
|
|
||||||
sender: 'zone-mta'
|
sender: 'zone-mta'
|
||||||
sender:
|
sender:
|
||||||
# Push messages to ZoneMTA queue for delivery
|
# Push messages to ZoneMTA queue for delivery
|
||||||
|
|||||||
@@ -6,15 +6,15 @@ metadata:
|
|||||||
name: wildduck
|
name: wildduck
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain-name:
|
additional-domains:
|
||||||
default: your_company.com
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- letsencrypt-prod
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
type: string
|
||||||
redis:
|
redis:
|
||||||
default:
|
default:
|
||||||
@@ -49,6 +49,16 @@ options:
|
|||||||
default: 2Gi
|
default: 2Gi
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
sub-domain:
|
||||||
|
default: mail
|
||||||
|
examples:
|
||||||
|
- mail
|
||||||
|
type: string
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -79,16 +89,16 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
sub-domain:
|
|
||||||
default: mail
|
|
||||||
examples:
|
|
||||||
- mail
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
ingress-class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
haraka:
|
haraka:
|
||||||
@@ -252,16 +262,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
additional-domains:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: dbo
|
category: dbo
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ resource "kubectl_manifest" "wildduck_secret" {
|
|||||||
length: "32"
|
length: "32"
|
||||||
- fieldName: "access"
|
- fieldName: "access"
|
||||||
length: "32"
|
length: "32"
|
||||||
|
- fieldName: "authentik" # Bearer for authentik to wildduck-scim
|
||||||
|
length: "32"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
data "kubernetes_secret_v1" "wildduck" {
|
data "kubernetes_secret_v1" "wildduck" {
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ resource "kubectl_manifest" "webmail_deploy" {
|
|||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /wildduck/views/index.hbs
|
||||||
|
subPath: index.hbs
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /app/config/webmail.toml
|
mountPath: /app/config/webmail.toml
|
||||||
subPath: webmail.toml
|
subPath: webmail.toml
|
||||||
@@ -71,6 +74,19 @@ resource "kubectl_manifest" "webmail_config" {
|
|||||||
namespace: "${var.namespace}"
|
namespace: "${var.namespace}"
|
||||||
labels: ${jsonencode(local.webmail-labels)}
|
labels: ${jsonencode(local.webmail-labels)}
|
||||||
data:
|
data:
|
||||||
|
index.hbs: |-
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h1><span class="glyphicon glyphicon-inbox" aria-hidden="true"></span> {{serviceName}}</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<p>
|
||||||
|
<a class="btn btn-success btn-md" href="/account/login" role="button"><span class="glyphicon glyphicon-log-in" aria-hidden="true"></span> Log in</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
webmail.toml: |-
|
webmail.toml: |-
|
||||||
name="Wild Duck Mail"
|
name="Wild Duck Mail"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user