mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 22:29:09 +01:00
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:
1 parent
48f5c7d894
commit
1f04831a97
38 files changed
+239
-371
No files matched your search
@@ -7,7 +7,7 @@ let
|
||||
# Hosts tunneled to the home k8s cluster. Each entry gets:
|
||||
# * an SNI map entry for TCP passthrough on :443
|
||||
# * an HTTP vhost on :80 that reverse-proxies to the cluster
|
||||
# The cluster's nginx-ingress terminates TLS with cert-manager.
|
||||
# The cluster's Envoy Gateway terminates TLS with cert-manager certificates.
|
||||
tunneledHosts = [
|
||||
"rss.rubenhensen.nl"
|
||||
"authentik.rubenhensen.nl"
|
||||
@@ -182,7 +182,7 @@ ${sniMapEntries}
|
||||
'';
|
||||
|
||||
# Port 80: tunneled hosts reverse-proxy to the home cluster so its
|
||||
# nginx-ingress handles HTTP→HTTPS redirects and cert-manager
|
||||
# Envoy Gateway handles HTTP→HTTPS redirects and cert-manager
|
||||
# HTTP-01 ACME challenges. Mail-related hosts serve ACME challenges
|
||||
# locally for stalwart's cert and redirect everything else to HTTPS.
|
||||
virtualHosts = tunneledVhosts // {
|
||||
|
||||
Reference in new issue
Block a user