This commit is contained in:
Nathan Rashleigh committed 2025-04-12 21:11:40 +10:00
1 parent 2b38528445
commit 8b0ef37ffa
5 files changed
+94 -129

No files matched your search

+6 -24
View File
@@ -7,6 +7,7 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: crates
name: crates-client
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
@@ -14,19 +15,9 @@ spec:
ingressClassName: haproxy
tls:
- hosts:
- crates.strix.systems
secretName: crates-strix-systems-tls
- crates.ntwl.xyz
secretName: crates-ntwl-xyz-tls
rules:
- host: crates.strix.systems
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: crates-client
port:
number: 8080
- host: crates.ntwl.xyz
http:
paths:
@@ -43,6 +34,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: crates
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
haproxy.org/path-rewrite: "/api(/)?(.*) /$2"
@@ -52,19 +44,9 @@ spec:
ingressClassName: haproxy
tls:
- hosts:
- crates.strix.systems
secretName: crates-strix-systems-tls
- crates.ntwl.xyz
secretName: crates-ntwl-xyz-tls
rules:
- host: crates.strix.systems
http:
paths:
- path: /api(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: crates-api
port:
number: 41337
- host: crates.ntwl.xyz
http:
paths: