mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
95d03f4b4a
Fixes #1237
26 lines
589 B
YAML
26 lines
589 B
YAML
apiVersion: apps/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: mailu-ingress
|
|
namespace: mailu-mailserver
|
|
annotations:
|
|
kubernetes.io/tls-acme: "true"
|
|
certmanager.k8s.io/cluster-issuer: letsencrypt-stage
|
|
labels:
|
|
app: mailu
|
|
role: mail
|
|
tier: backend
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- "mail.example.com"
|
|
secretName: letsencrypt-certs-all # If unsure how to generate these, check out https://github.com/ployst/docker-letsencrypt
|
|
rules:
|
|
- host: "mail.example.com"
|
|
http:
|
|
paths:
|
|
- path: "/"
|
|
backend:
|
|
serviceName: front
|
|
servicePort: 80
|