0d89a69c18
- stalwart namespace with Deployment + HPA (2-6 replicas) - CNPG PostgreSQL cluster (3 instances, 20Gi cephrbd-fast-delete) with PgBouncer pooler - S3/Ceph-RGW for blob storage (stalwart-maildata bucket, lz4 compressed) - Secrets from Vault: postgres-credentials, s3-credentials, stalwart-admin - TLS cert via cert-manager (vault-issuer) for mail.main.unkin.net - SMTP relay on port 25 (internal ClusterIP, trusted pod CIDRs) - Submission on port 587, IMAP 143/993, HTTPS 443 via LoadBalancer - HTTP port 8080 for Traefik reverse proxy (web admin at mail.k8s.syd1.au.unkin.net) - Outbound mail routed through postfix.mailgateway.svc.cluster.local:25 - Spam filtering offloaded to postfix/rspamd (disabled internally)
53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: platform-apps
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- git:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
revision: HEAD
|
|
directories:
|
|
- path: apps/overlays/*/artifactapi
|
|
- path: apps/overlays/*/cattle-system
|
|
- path: apps/overlays/*/cert-manager
|
|
- path: apps/overlays/*/certificates
|
|
- path: apps/overlays/*/cnpg-system
|
|
- path: apps/overlays/*/consul
|
|
- path: apps/overlays/*/elastic-system
|
|
- path: apps/overlays/*/externaldns
|
|
- path: apps/overlays/*/inteldeviceplugins-system
|
|
- path: apps/overlays/*/jfrog
|
|
- path: apps/overlays/*/node-feature-discovery
|
|
- path: apps/overlays/*/puppet
|
|
- path: apps/overlays/*/purelb
|
|
- path: apps/overlays/*/reflector-system
|
|
- path: apps/overlays/*/reloader-system
|
|
- path: apps/overlays/*/reposync
|
|
- path: apps/overlays/*/stalwart
|
|
- path: apps/overlays/*/traefik-system
|
|
- path: apps/overlays/*/vm-system
|
|
- path: apps/overlays/*/vault
|
|
- path: apps/overlays/*/vso-system
|
|
- path: apps/overlays/*/woodpecker
|
|
template:
|
|
metadata:
|
|
name: 'platform-{{path[3]}}' # cluster-app format (e.g., platform-reflector-system)
|
|
spec:
|
|
project: platform
|
|
source:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
targetRevision: HEAD
|
|
path: '{{path}}'
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: '{{path[3]}}' # Use directory name as namespace
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- ServerSideApply=true
|