This commit is contained in:
2023-08-11 15:35:07 +02:00
parent 74ead6c517
commit 76fafed977
5 changed files with 76 additions and 76 deletions

View File

@@ -6,16 +6,51 @@ metadata:
name: wildduck name: wildduck
description: null description: null
options: options:
domain-name: sub-domain:
default: your_company.com default: mail
examples: examples:
- your_company.com - mail
type: string type: string
domain: additional-domains:
default: your-company default: []
items:
type: string
type: array
ingress-class:
default: traefik
examples: examples:
- your-company - traefik
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
images: images:
default: default:
haraka: haraka:
@@ -179,51 +214,16 @@ options:
type: string type: string
type: object type: object
type: object type: object
sub-domain: domain:
default: mail default: your-company
examples: examples:
- mail - your-company
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string type: string
issuer: issuer:
default: letsencrypt-prod default: letsencrypt-prod
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
redis: redis:
default: default:
exporter: exporter:
@@ -257,11 +257,11 @@ options:
default: 2Gi default: 2Gi
type: string type: string
type: object type: object
additional-domains: domain-name:
default: [] default: your_company.com
items: examples:
- your_company.com
type: string type: string
type: array
dependencies: dependencies:
- dist: null - dist: null
category: dbo category: dbo

View File

@@ -65,29 +65,29 @@ resource "kubectl_manifest" "wildduck_deploy" {
- name: tls - name: tls
mountPath: "/var/opt/certs" mountPath: "/var/opt/certs"
readOnly: true readOnly: true
- name: config - name: configmap
mountPath: /wildduck/config/default.toml mountPath: /wildduck/config/default.toml
subPath: default.toml subPath: default.toml
- name: config - name: configmap
mountPath: /wildduck/config/api.toml mountPath: /wildduck/config/api.toml
subPath: api.toml subPath: api.toml
- name: config - name: configmap
mountPath: /wildduck/config/dbs.toml mountPath: /wildduck/config/dbs.toml
subPath: dbs.toml subPath: dbs.toml
- name: config - name: configmap
mountPath: /wildduck/config/dkim.toml mountPath: /wildduck/config/dkim.toml
subPath: dkim.toml subPath: dkim.toml
- name: config - name: configmap
mountPath: /wildduck/config/imap.toml mountPath: /wildduck/config/imap.toml
subPath: imap.toml subPath: imap.toml
- name: config - name: configmap
mountPath: /wildduck/config/pop3.toml mountPath: /wildduck/config/pop3.toml
subPath: pop3.toml subPath: pop3.toml
- name: config - name: configmap
mountPath: /wildduck/config/sender.toml mountPath: /wildduck/config/sender.toml
subPath: sender.toml subPath: sender.toml
volumes: volumes:
- name: config - name: configmap
configMap: configMap:
name: "${var.instance}-wildduck" name: "${var.instance}-wildduck"
- name: tls - name: tls