From b499dc1f18097cc16d99836e9487eadbb4d58002 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Tue, 11 Jun 2024 16:26:46 +0200 Subject: [PATCH] fix(stalwart-mail): add chart-testing values for traefik --- stalwart-mail/Chart.yaml | 2 +- stalwart-mail/README.adoc | 2 +- stalwart-mail/ci/ct-empty-values.yaml | 1 + stalwart-mail/ci/ct-traefik-values.yaml | 71 +++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 stalwart-mail/ci/ct-empty-values.yaml create mode 100644 stalwart-mail/ci/ct-traefik-values.yaml diff --git a/stalwart-mail/Chart.yaml b/stalwart-mail/Chart.yaml index dc25225..41ddf09 100644 --- a/stalwart-mail/Chart.yaml +++ b/stalwart-mail/Chart.yaml @@ -3,7 +3,7 @@ name: stalwart-mail description: Helm Chart for Stalwart Mail Server - Secure & Modern All-in-One Mail Server (IMAP, JMAP, SMTP) icon: https://stalw.art/home/apple-touch-icon.png type: application -version: 0.0.9 +version: 0.0.10 # renovate: image=docker.io/stalwartlabs/mail-server appVersion: "0.8.1" maintainers: diff --git a/stalwart-mail/README.adoc b/stalwart-mail/README.adoc index 399ec1c..ac015d4 100644 --- a/stalwart-mail/README.adoc +++ b/stalwart-mail/README.adoc @@ -2,7 +2,7 @@ = stalwart-mail -image::https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square[Version: 0.0.9] +image::https://img.shields.io/badge/Version-0.0.10-informational?style=flat-square[Version: 0.0.10] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/AppVersion-0.8.1-informational?style=flat-square[AppVersion: 0.8.1] == Maintainers diff --git a/stalwart-mail/ci/ct-empty-values.yaml b/stalwart-mail/ci/ct-empty-values.yaml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/stalwart-mail/ci/ct-empty-values.yaml @@ -0,0 +1 @@ + diff --git a/stalwart-mail/ci/ct-traefik-values.yaml b/stalwart-mail/ci/ct-traefik-values.yaml new file mode 100644 index 0000000..4a5b430 --- /dev/null +++ b/stalwart-mail/ci/ct-traefik-values.yaml @@ -0,0 +1,71 @@ +config: + lookup: + default: + hostname: mail.example.org + + server: + listener: + smtp: + proxy: + trusted-networks: ["10.0.0.0/8"] + submission: + submissions: + proxy: + trusted-networks: ["10.0.0.0/8"] + + imap: + imaptls: + proxy: + trusted-networks: ["10.0.0.0/8"] + + pop3: + pop3s: + proxy: + trusted-networks: ["10.0.0.0/8"] + + sieve: + proxy: + trusted-networks: ["10.0.0.0/8"] + + # without proxy and tls for ingress (well-known) + http: + protocol: "http" + bind: ["[::]:8080"] + + https: + url: "https://mail.example.org" + proxy: + trusted-networks: ["10.0.0.0/8"] + +service: + ports: + submission: + imap: + pop3: + http: 8080 + +traefik: + enabled: true + host: mail.example.org + ports: + submission: + imap: + pop3: + # not exists + blub: + +ingress: + enabled: true + hosts: + - host: "example.org" + paths: + - path: /.well-known/jmap + pathType: Prefix + - path: /.well-known/mta-sts.txt + pathType: Exact + - path: /.well-known/mail-v1.xml + pathType: Exact + - path: /.well-known/autoconfig + pathType: Prefix + - path: /autodiscover + pathType: Prefix