mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 06: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
@@ -155,17 +155,6 @@ spec:
|
||||
- name: patched-ca-bundle
|
||||
mountPath: /etc/ssl/certs
|
||||
readOnly: true
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
||||
hosts:
|
||||
- authentik.rubenhensen.nl
|
||||
tls:
|
||||
- secretName: authentik-tls
|
||||
hosts:
|
||||
- authentik.rubenhensen.nl
|
||||
worker:
|
||||
volumes:
|
||||
- name: patched-ca-bundle
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
# without the compromised eMudhra intermediates, see ca-bundle/.
|
||||
values: |
|
||||
# Lets cert-manager solve HTTP-01 challenges with an HTTPRoute on
|
||||
# the Gateway once ingress-nginx is gone.
|
||||
# the Gateway, see cert-manager/prod-cluster-issuer.yaml.
|
||||
config:
|
||||
gatewayAPI:
|
||||
enabled: true
|
||||
|
||||
@@ -68,29 +68,6 @@ spec:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
# Ingress configuration
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
maxBodySize: 1024m
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 1G
|
||||
hosts:
|
||||
- host: scoutingmbg.nl
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
- host: www.scoutingmbg.nl
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: scoutingmbg-nl-tls
|
||||
hosts:
|
||||
- scoutingmbg.nl
|
||||
- www.scoutingmbg.nl
|
||||
|
||||
# Resource limits (matching Bitnami "small" preset)
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in new issue
Block a user