HTTPS redirect

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-10-04 14:53:32 +01:00
parent 8d276735ed
commit 0b548e271e
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78

View File

@ -72,6 +72,8 @@ metadata:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
ingress.kubernetes.io/ssl-redirect: "true"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
tls:
- hosts: