Skip to content

Commit

Permalink
🐛 not use regex
Browse files Browse the repository at this point in the history
  • Loading branch information
lazhenyi committed Nov 20, 2024
1 parent 94120b1 commit 3d037ee
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,41 @@ spec:
- host: devcloud.gitdata.ai
http:
paths:
- path: /api(.*)
- path: /
pathType: Prefix
backend:
service:
name: jzfs-rust-service
name: gitdata-rust-service
port:
number: 80
- path: /

---

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitdata-rust-api
namespace: gitdata
annotations:
meta.helm.sh/release-name: gitdata-rust-api
nginx.ingress.kubernetes.io/proxy-connect-timeout: "30"
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800"
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"
labels:
apptype: gitdata-rust-api
app.kubernetes.io/managed-by: Helm
heritage: Helm
release: gitdata-rust-api
spec:
ingressClassName: {{.Values.ingress_name}}
rules:
- host: devcloud.gitdata.ai
http:
paths:
- path: /api
pathType: Prefix
backend:
service:
name: gitdata-rust-service
name: jzfs-rust-service
port:
number: 80

0 comments on commit 3d037ee

Please sign in to comment.