blob: e9055184e7608f41c858470194ffd9c687f07ecd [file] [log] [blame]
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
annotations:
internal.istio.io/gateway-service: istio-ingressgateway.dubbo-system.svc.domain.suffix
internal.istio.io/parent: Gateway/gateway/default.dubbo-system
creationTimestamp: null
name: gateway-istio-autogenerated-k8s-gateway-default
namespace: dubbo-system
spec:
servers:
- hosts:
- '*/*.domain.example'
port:
name: default
number: 80
protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parent: HTTPRoute/http.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: http-0-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- dubbo-system/gateway-istio-autogenerated-k8s-gateway-default
hosts:
- first.domain.example
http:
- headers:
request:
add:
my-added-header: added-value
remove:
- my-removed-header
match:
- headers:
my-header:
exact: some-value
uri:
prefix: /get
route:
- destination:
host: httpbin.default.svc.domain.suffix
port:
number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parent: HTTPRoute/http.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: http-1-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- dubbo-system/gateway-istio-autogenerated-k8s-gateway-default
hosts:
- another.domain.example
http:
- headers:
request:
add:
my-added-header: added-value
remove:
- my-removed-header
match:
- headers:
my-header:
exact: some-value
uri:
prefix: /get
route:
- destination:
host: httpbin.default.svc.domain.suffix
port:
number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parent: HTTPRoute/http2.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: http2-0-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- dubbo-system/gateway-istio-autogenerated-k8s-gateway-default
hosts:
- second.domain.example
http:
- match:
- uri:
prefix: /second
route:
- destination:
host: httpbin-second.default.svc.domain.suffix
port:
number: 80
- match:
- uri:
prefix: /
route:
- destination:
host: httpbin-wildcard.default.svc.domain.suffix
port:
number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
internal.istio.io/parent: HTTPRoute/mirror.default
internal.istio.io/route-semantics: gateway
creationTimestamp: null
name: mirror-0-istio-autogenerated-k8s-gateway
namespace: default
spec:
gateways:
- dubbo-system/gateway-istio-autogenerated-k8s-gateway-default
hosts:
- '*'
http:
- mirror:
host: httpbin-mirror.default.svc.domain.suffix
port:
number: 80
route:
- destination:
host: httpbin.default.svc.domain.suffix
port:
number: 80
- redirect:
port: 8080
redirectCode: 302
scheme: https
---