homek8s/apps/base/sirius-growth/httproute.yaml

34 lines
769 B
YAML
Raw Normal View History

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