Files
story/deploy/kubernetes/overlays/production/ingress-patch.yaml
T

50 lines
1.1 KiB
YAML
Raw Normal View History

2026-08-26 06:41:07 +08:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: voice-platform
namespace: voice-platform
spec:
tls:
- hosts:
- voice.example.invalid
secretName: voice-platform-tls
rules:
- host: voice.example.invalid
http:
paths:
- path: /callbacks
pathType: Prefix
backend:
service:
name: callbacks
port:
number: 8081
- path: /device
pathType: Prefix
backend:
service:
name: api
port:
number: 8080
- path: /api
pathType: Prefix
backend:
service:
name: api
port:
number: 8080
- path: /health
pathType: Prefix
backend:
service:
name: api
port:
number: 8080
- path: /
pathType: Prefix
backend:
service:
name: web
port:
number: 8080