Skip to content

Commit 18ff592

Browse files
committed
HTTPRoute documentation
1 parent 7e7eb26 commit 18ff592

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

charts/mailu/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,41 @@ The [externalTrafficPolicy](https://kubernetes.io/docs/tasks/access-application-
11961196

11971197
Please perform open relay tests after setup as described above!
11981198

1199+
### With HTTPRoute instead of ingress
1200+
- `ingress.enabled`: `false`
1201+
- `ingress.existingSecret`: `m̀ail-mydomain-tld-tls` - this needs to be mapped into your current namespace either by the Gateway or a reflector controller. See https://github.com/Mailu/helm-charts/issues/543`
1202+
- `ingress.tlsFlavorOverride`: `mail`
1203+
1204+
`tlsFlavorOverride` `mail` configures `mailu-front` to use SSL for dovecot and nginx, offloading TLS for HTTPS to the Gateway API controller.
1205+
A corresponding Gateway was implemented like:
1206+
1207+
``` yaml
1208+
apiVersion: gateway.networking.k8s.io/v1
1209+
kind: Gateway
1210+
metadata:
1211+
name: eg-shared
1212+
namespace: gateway-infra
1213+
spec:
1214+
gatewayClassName: eg-shared
1215+
listeners:
1216+
- name: https-mailu
1217+
port: 443
1218+
protocol: HTTPS
1219+
hostname: mail.mydomain.tld
1220+
tls:
1221+
mode: Terminate
1222+
certificateRefs:
1223+
- kind: Secret
1224+
name: mail-mydomain-tld-tls
1225+
namespace: mailu
1226+
allowedRoutes:
1227+
namespaces:
1228+
from: Selector
1229+
selector:
1230+
matchLabels:
1231+
kubernetes.io/metadata.name: mailu
1232+
```
1233+
11991234
## Environment variables mapping
12001235

12011236
The table below lists the environment variables that will be passed to the pods and their respective configuration path in the `values.yaml` file.

0 commit comments

Comments
 (0)