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

27 lines
601 B
YAML
Raw Permalink 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: /
backendRefs:
- name: sirius-growth-site
port: 80