mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 18:22:54 +02:00
8cba45ecb1
Reverts the following commits: -88e29c0Add a .well-known to the base domain. -01abc2cNo auto https for mail -b7d6265Add forwarde https headers -aa5a806Add https forward headers -d32af60Add cors to stalwart Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "stalwart.fullname" . }}
|
|
labels:
|
|
{{- include "stalwart.labels" . | nindent 4 }}
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
|
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: mail.hensen.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ include "stalwart.fullname" . }}
|
|
port:
|
|
number: 8080
|
|
- host: autoconfig.hensen.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ include "stalwart.fullname" . }}
|
|
port:
|
|
number: 8080
|
|
- host: autodiscover.hensen.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ include "stalwart.fullname" . }}
|
|
port:
|
|
number: 8080
|
|
tls:
|
|
- secretName: letsencrypt-prod
|
|
hosts:
|
|
- mail.hensen.io
|
|
- autoconfig.hensen.io
|
|
- autodiscover.hensen.io
|