This commit is contained in:
2023-08-11 17:41:13 +02:00
parent 76fafed977
commit 640104a958
4 changed files with 62 additions and 53 deletions

View File

@@ -62,10 +62,19 @@ resource "kubectl_manifest" "haraka_deploy" {
- name: config
mountPath: /app/config/wildduck.yaml
subPath: wildduck.yaml
- name: tls
mountPath: /app/config/tls_key.pem
subPath: tls.key
- name: tls
mountPath: /app/config/tls_cert.pem
subPath: tls.crt
volumes:
- name: config
configMap:
name: "${var.instance}-haraka"
- name: tls
secret:
secretName: "${var.instance}-cert"
EOF
}

View File

@@ -6,21 +6,59 @@ metadata:
name: wildduck
description: null
options:
sub-domain:
default: mail
issuer:
default: letsencrypt-prod
examples:
- mail
- letsencrypt-prod
type: string
additional-domains:
default: []
items:
type: string
type: array
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
redis:
default:
exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.5
storage: 2Gi
examples:
- exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.5
storage: 2Gi
properties:
exporter:
default:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
properties:
enabled:
default: true
type: boolean
image:
default: quay.io/opstree/redis-exporter:v1.44.0
type: string
type: object
image:
default: quay.io/opstree/redis:v7.0.5
type: string
storage:
default: 2Gi
type: string
type: object
backups:
default:
enable: false
@@ -51,6 +89,11 @@ options:
default: backup-settings
type: string
type: object
domain:
default: your-company
examples:
- your-company
type: string
images:
default:
haraka:
@@ -214,53 +257,10 @@ options:
type: string
type: object
type: object
domain:
default: your-company
sub-domain:
default: mail
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
redis:
default:
exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.5
storage: 2Gi
examples:
- exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.5
storage: 2Gi
properties:
exporter:
default:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
properties:
enabled:
default: true
type: boolean
image:
default: quay.io/opstree/redis-exporter:v1.44.0
type: string
type: object
image:
default: quay.io/opstree/redis:v7.0.5
type: string
storage:
default: 2Gi
type: string
type: object
domain-name:
default: your_company.com
examples:
- your_company.com
- mail
type: string
dependencies:
- dist: null

View File

@@ -37,7 +37,7 @@ resource "kubectl_manifest" "webmail_deploy" {
- "--config=./config/webmail.toml"
ports:
- name: http
containerPort: 80
containerPort: 8000
protocol: TCP
livenessProbe:
httpGet:
@@ -111,7 +111,7 @@ resource "kubectl_manifest" "webmail_config" {
[www]
host=false
port=80
port=8000
proxy=false
postsize="5MB"
log="dev"