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
@@ -26,9 +26,6 @@ data:
|
||||
redirect_uris:
|
||||
- matching_mode: strict
|
||||
url: https://longhorn.rubenhensen.nl/oauth2/callback
|
||||
# Envoy's test port until the switch from ingress-nginx
|
||||
- matching_mode: strict
|
||||
url: https://longhorn.rubenhensen.nl:10443/oauth2/callback
|
||||
signing_key: !Find [authentik_crypto.certificatekeypair, [name, "authentik Self-signed Certificate"]]
|
||||
property_mappings:
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-openid]]
|
||||
|
||||
@@ -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: authentik-tls
|
||||
spec:
|
||||
secretName: authentik-tls
|
||||
dnsNames:
|
||||
- authentik.rubenhensen.nl
|
||||
issuerRef:
|
||||
group: cert-manager.io
|
||||
kind: ClusterIssuer
|
||||
name: prod-cluster-issuer
|
||||
usages:
|
||||
- digital signature
|
||||
- key encipherment
|
||||
Reference in new issue
Block a user