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:
- argocd.rubenhensen.nl
issuerRef:
group: cert-manager.io
kind: ClusterIssuer
name: prod-cluster-issuer
usages:
- digital signature
- key encipherment
-26
View File
@@ -1,26 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-server-ingress
annotations:
cert-manager.io/cluster-issuer: prod-cluster-issuer
# argocd-server runs with server.insecure, see overlays/
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
namespace: argocd
spec:
ingressClassName: nginx
rules:
- host: argocd.rubenhensen.nl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: http
tls:
- secretName: letsencrypt-prod
hosts:
- argocd.rubenhensen.nl
+2 -2
View File
@@ -4,10 +4,10 @@ kind: Kustomization
namespace: argocd
# additional resources like ingress rules, cluster and repository secrets.
# additional resources like the route, certificate and secrets.
resources:
- https://raw.githubusercontent.com/argoproj/argo-cd/refs/tags/v3.4.12/manifests/install.yaml
- ingress.yaml
- certificate.yaml
- httproute.yaml
- oidc-secret.yaml
@@ -6,6 +6,6 @@ metadata:
app.kubernetes.io/name: argocd-cmd-params-cm
app.kubernetes.io/part-of: argocd
data:
# TLS ends at the ingress, so argocd-server serves plain HTTP. Needed for
# the Gateway API, which has no simple way to trust its self-signed cert.
# TLS ends at the Gateway, so argocd-server serves plain HTTP. The Gateway
# API has no simple way to trust argocd-server's self-signed cert.
server.insecure: "true"