Skip to content

Commit 1f02d8d

Browse files
authored
chore: add ingress for openai.fh-swf.cloud
1 parent 2d91f6a commit 1f02d8d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

k8s/ingress.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,25 @@ spec:
6262
- name: api-stripprefix
6363
tls:
6464
certResolver: default
65+
---
66+
apiVersion: networking.k8s.io/v1
67+
kind: Ingress
68+
metadata:
69+
annotations:
70+
traefik.frontend.passHostHeader: "true"
71+
traefik.ingress.kubernetes.io/router.entrypoints: websecure
72+
traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt
73+
name: openai.fh-swf.cloud-backend
74+
namespace: openai-proxy
75+
spec:
76+
rules:
77+
- host: openai.fh-swf.cloud
78+
http:
79+
paths:
80+
- backend:
81+
service:
82+
name: openai-proxy
83+
port:
84+
number: 3000
85+
path: /api
86+
pathType: Prefix

0 commit comments

Comments
 (0)