cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 73612c28b510dbf4714040ce30a169fb91f403bb
parent 89f60fe0d975d0aa1388c3ce50d626e37b7197a2
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 19 Jun 2023 13:36:07 +0200

deploy mailu

Diffstat:
Aapps/base/mailu/kustomization.yaml | 6++++++
Aapps/base/mailu/release.yaml | 125+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aapps/base/mailu/repository.yaml | 8++++++++
Mapps/namespaces/kustomization.yaml | 1+
Aapps/namespaces/mailu.yaml | 4++++
Mapps/production/kustomization.yaml | 1+
6 files changed, 145 insertions(+), 0 deletions(-)

diff --git a/apps/base/mailu/kustomization.yaml b/apps/base/mailu/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: mailu +resources: + - repository.yaml + - release.yaml diff --git a/apps/base/mailu/release.yaml b/apps/base/mailu/release.yaml @@ -0,0 +1,125 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: mailu + namespace: mailu +spec: + releaseName: mailu + chart: + spec: + chart: mailu + sourceRef: + kind: HelmRepository + name: mailu + interval: 50m + timeout: 25m + install: + timeout: 25m + remediation: + retries: 3 + values: + domain: "nordgedanken.dev" + hostnames: + - "nordgedanken.dev" + - "mta-sts.nordgedanken.dev" + - "miki.community" + timezone: "Europe/Berlin" + subnet: 10.244.0.0/16 + subnet6: fc00:0::/96 + postgresql: + enabled: true + primary: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + persistence: + subPath: "/postgresql" + existingClaim: mailu-storage + persistence: + single_pvc: true + storageClass: "rook-main-fs" + accessModes: + - ReadWriteMany + size: 15Gi + claimNameOverride: mailu-storage + ingress: + annotations: + cert-manager.io/cluster-issuer: letsencrypt-dns + front: + hostPort: + enabled: false + externalService: + enabled: true + ports: + pop3s: false + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + redis: + master: + persistence: + subPath: "/redis" + existingClaim: mailu-storage + admin: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + postfix: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + dovecot: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + rspamd: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + clamav: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + webmail: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + radicale: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + fetchmail: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + oletools: + tolerations: + - key: "arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + + + + + diff --git a/apps/base/mailu/repository.yaml b/apps/base/mailu/repository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: mailu + namespace: mailu +spec: + interval: 5m + url: https://mailu.github.io/helm-charts/ diff --git a/apps/namespaces/kustomization.yaml b/apps/namespaces/kustomization.yaml @@ -10,3 +10,4 @@ resources: - vaultwarden.yaml - woodpecker.yaml - redmine.yaml + - mailu.yaml diff --git a/apps/namespaces/mailu.yaml b/apps/namespaces/mailu.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: mailu diff --git a/apps/production/kustomization.yaml b/apps/production/kustomization.yaml @@ -11,6 +11,7 @@ resources: - ../base/matrix - ../base/postgres-exporter - ../base/redmine + - ../base/mailu - sliding-proxy-ingress.yaml - pvcs-mjolnir.yaml patchesStrategicMerge: