Replace the Ingresses with Certificate resources

ingress-nginx is gone and every app is served by the Envoy Gateway. The certificates were created by cert-manager's ingress-shim and are owned by the Ingresses, so each app now declares its Certificate itself, with the same name, secret and usages, so nothing gets reissued. gateway-shim can't take over because the certificates live in the app namespaces.

immich drops mbg.hensen.io, which has no route, so that one certificate is reissued through the Gateway's HTTP-01 solver.

Also removes the Longhorn test-port redirect URI and updates comments that still described nginx.
This commit is contained in:
Ruben Hensen committed 2026-10-23 21:20:25 +02:00
1 parent 48f5c7d894
commit 1f04831a97
38 files changed
+239 -371

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# The TLS certificate the Gateway serves for this app (see httproute.yaml).
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: letsencrypt-prod
spec:
secretName: letsencrypt-prod
dnsNames:
- foto.scoutingmbg.nl
issuerRef:
group: cert-manager.io
kind: ClusterIssuer
name: prod-cluster-issuer
usages:
- digital signature
- key encipherment
-30
View File
@@ -105,36 +105,6 @@ spec:
globalMounts:
- path: /etc/ssl/certs
readOnly: true
ingress:
main:
enabled: true
ingressClassName: nginx
annotations:
# proxy-body-size is set to 0 to remove the body limit on file uploads
nginx.ingress.kubernetes.io/proxy-body-size: "0"
cert-manager.io/cluster-issuer: prod-cluster-issuer
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
hosts:
# - host: immich.rubenhensen.nl
# paths:
# - path: "/"
# - host: mbg.hensen.io
# paths:
# - path: "/"
# service:
# identifier: main
- host: foto.scoutingmbg.nl
paths:
- path: "/"
service:
name: sol-auth-svc
port: 8002
tls:
- secretName: letsencrypt-prod
hosts:
# - immich.rubenhensen.nl
- mbg.hensen.io
- foto.scoutingmbg.nl
machine-learning:
enabled: true