FastAPI portal on 8091 behind /api/portal, image pinned to the API commit 406f25c and its manifest digest. Route sits after /api/contact and before the catch-all. Env comes from the sirius-growth-portal-app Secret (DB URL, session secret, admin creds, Garage S3 keys); nothing secret is in git.
34 lines
769 B
YAML
34 lines
769 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: sirius-growth
|
|
namespace: sirius-growth
|
|
spec:
|
|
parentRefs:
|
|
- name: public
|
|
namespace: gateway-system
|
|
hostnames:
|
|
- siriusgrowthsolutions.com
|
|
- www.siriusgrowthsolutions.com
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /api/contact
|
|
backendRefs:
|
|
- name: sirius-growth-contact
|
|
port: 8090
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /api/portal
|
|
backendRefs:
|
|
- name: sirius-growth-portal
|
|
port: 8091
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
- name: sirius-growth-site
|
|
port: 80
|