You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|