chatgpt-web/kubernetes/ingress.yaml

22 lines
501 B
YAML
Raw Normal View History

2023-03-30 23:52:10 -04:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
2023-03-30 23:53:10 -04:00
nginx.ingress.kubernetes.io/proxy-connect-timeout: '5'
2023-03-30 23:52:10 -04:00
name: chatgpt-web
spec:
rules:
2023-03-30 23:53:10 -04:00
- host: chatgpt.example.com
http:
paths:
- backend:
service:
name: chatgpt-web
port:
number: 3002
path: /
pathType: ImplementationSpecific
2023-03-30 23:52:10 -04:00
tls:
2023-03-30 23:53:10 -04:00
- secretName: chatgpt-web-tls