-
Notifications
You must be signed in to change notification settings - Fork 668
Closed
Labels
area/translatorIssues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.Issues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.
Description
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: eg
spec:
gatewayClassName: eg
listeners:
- name: http
protocol: HTTP
port: 80
---
apiVersion: gateway.networking.k8s.io/v1
kind: GRPCRoute
metadata:
name: grpcroute
spec:
parentRefs:
- name: eg
rules:
- matches:
- headers:
- type: Exact
name: magic
value: foo
backendRefs:
- name: service-1
port: 8080
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: httproute
spec:
parentRefs:
- name: eg
rules:
- matches:
- path:
type: PathPrefix
value: "/"
backendRefs:
- name: backend
port: 3000
route as following:
- ignorePortInHostMatching: true
name: default/eg/http
virtualHosts:
- domains:
- '*'
metadata:
filterMetadata:
envoy-gateway:
resources:
- kind: Gateway
name: eg
namespace: default
sectionName: http
name: default/eg/http/*
routes:
- match:
prefix: /
metadata:
filterMetadata:
envoy-gateway:
resources:
- kind: HTTPRoute
name: httproute1
namespace: default
name: httproute/default/httproute1/rule/0/match/0/*
route:
cluster: httproute/default/httproute1/rule/0
upgradeConfigs:
- upgradeType: websocket
- directResponse:
status: 500
match:
headers:
- name: magic
stringMatch:
exact: foo
prefix: /
metadata:
filterMetadata:
envoy-gateway:
resources:
- kind: GRPCRoute
name: grpcroute
namespace: default
name: grpcroute/default/grpcroute/rule/0/match/0/*Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/translatorIssues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.Issues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.