fix(deploy): switch dev to letsencrypt-prod and add HTTP->HTTPS redirect

This commit is contained in:
2026-08-06 09:50:13 +02:00
parent 61651b1ed1
commit 611ae0624e
2 changed files with 5 additions and 6 deletions
+1
View File
@@ -15,6 +15,7 @@ metadata:
name: vncmail-plus name: vncmail-plus
annotations: annotations:
cert-manager.io/cluster-issuer: CHANGEME cert-manager.io/cluster-issuer: CHANGEME
traefik.ingress.kubernetes.io/router.middlewares: traefik-redirect-to-https@kubernetescrd
spec: spec:
ingressClassName: traefik ingressClassName: traefik
tls: tls:
+4 -6
View File
@@ -1,14 +1,12 @@
# dev-k8s cluster confirmed to have a `letsencrypt-staging` ClusterIssuer # Dev now uses letsencrypt-prod so the sandbox certificate is trusted by
# already (no `letsencrypt-prod` exists there) - staging avoids burning # browsers. Both letsencrypt-staging and letsencrypt-prod ClusterIssuers
# Let's Encrypt's real rate limits while this is still being stood up. # exist on the dev-k8s cluster (see VNCiAC-dev-cluster-runbook.md §7).
# vncmail.sandbox.vnc.de DNS does not point here yet either - this is the
# intended host, not a live one (see VNCMAIL-SETUP.md for what's still open).
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: vncmail-plus name: vncmail-plus
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging cert-manager.io/cluster-issuer: letsencrypt-prod
spec: spec:
tls: tls:
- hosts: - hosts: