# ============================================================================= # Gateway API — HTTPRoute Template — AKS Deploy Skill # ============================================================================= # Routes HTTP traffic from a Gateway to a backend Service. # Use this together with gateway.yaml on clusters with Istio Gateway API enabled. # # REPLACE: — your application name (e.g., order-api) # REPLACE: — target namespace (e.g., production) # REPLACE: — name of the Gateway resource (e.g., app-gateway) # REPLACE: — FQDN matching the Gateway listener (e.g., api.example.com) # REPLACE: — URL path prefix to match (e.g., /) # REPLACE: — port on the backend Service (e.g., 80) # ============================================================================= apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: namespace: labels: app: spec: parentRefs: - name: namespace: hostnames: - "" rules: - matches: - path: type: PathPrefix value: "" backendRefs: - name: port: kind: Service